FX Series Programmable Controllers | Basic Program Instructions 2 |
2.8Load Pulse, Load Trailing Pulse
FX1S | FX1N | FX2N | FX2NC |
Mnemonic | Function | Format | Devices | Program steps |
|
| Initial logical |
|
|
|
|
|
| ||
| LDP | operation - |
|
|
| X, Y, M, S, T, C | 2 |
| ||
|
|
|
|
| ||||||
|
|
|
|
|
|
|
|
| ||
| (LoaDPulse) | Rising edge |
|
|
| |||||
|
|
|
|
|
|
| ||||
|
| pulse |
|
|
|
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
| LDF | Initial logical |
|
|
|
|
|
| ||
| operation Falling |
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| ||||
| (LoaD Falling |
|
|
| X, Y, M, S, T, C | 2 |
| |||
| / trailing edge |
|
|
|
| |||||
| pulse) |
|
|
|
|
|
| |||
| pulse |
|
|
|
|
|
| |||
|
|
|
|
|
|
|
| |||
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| ||
Program example: |
|
|
|
|
|
|
LDP
X0
M100
X1
LDF
X0
Y0
0 LDP X 0
2 OR X 1
3 OUT M 100 4 LDF X 0 6 OUT Y 0
Basic points to remember:
-Connect the LDP and LDF instructions directly to the left hand bus bar.
-Or use LDP and LDF instructions to define a new block of program when using the ORB and ANB instructions (see later sections).
-LDP is active for one program scan after the associated device switches from OFF to ON.
-LDF is active for one program scan after the associated device switches from ON to OFF.
Single Operation flags M2800 to M3071:
• The pulse operation instructions, when used with auxiliary relays M2800 to M3071, only activate the first instruction encountered in the program scan, after the point in the program where the device changes. Any other pulse operation instructions will remain inactive.
•This is useful for use in STL programs (see chapter 3) to perform single step operation using a single device.
•Any other instructions (LD, AND, OR, etc.) will operate as expected.
For more details please see page