12-6
12.3 Instructions of Leading Edge Detection Method
12.3.1 Instructions of Leading Edge Detection Method
Instructions using the leading edge detection operation
1. DF (leading edge differential) instruction
2. Count input for CT (counter) instruction
3. Count input for F118 (UCD up-down counter) instruction
4. Shift input for SR (shift register) instruction
5. Shift input for F119 (LRSR left-right shift register) instruction
6. NSTP (next step) instruction
7. Differential execution type high-level instruction (P13)
Leading edge detection method
-
An instruction with a leading edge detection method operates only in the scan where its trigger
(execution condition) is detected switching from off to on.
1. Standard operation
2. Leading edge detection operation
How to perform leading edge detection
The condition of the previous execution and the condition of the current execution are compared, and the
instruction is executed only if the previous condition was off and the current condition is on. In any other
case, the instruction is not executed.
Precautions when using an instruction which performs leading edge detection
-
When RUN begins, for example when the system is powered on, the off -> on change of the execution
condition (trigger) is not detected. Execution of the instruction will take place as explained on the next
page.
-
When used with one of the instructions indicated in instructions 1 to 6 below which change the order of
execution of instructions, the operation of the instruction may change depending on input timing. Take
care regarding this point.
Be careful when using leading edge detection type instructions with control instructions, such
as;
1. MC and MCE instructions
2. JP and LBL instructions
3. LOOP and LBL instructions
4. CNDE instruction
5. Step ladder instructions
6. Subroutine instructions
Summary of Contents for FP0R Series
Page 1: ......
Page 6: ...iv ...
Page 14: ...xii ...
Page 15: ...Chapter 1 Functions and Restrictions of the Unit ...
Page 24: ...1 10 ...
Page 25: ...Chapter 2 Specifications and Functions of Control Unit ...
Page 38: ...2 14 ...
Page 39: ...Chapter 3 Expansion ...
Page 45: ...3 7 3 4 Terminal layout diagram Model No Terminal layout diagrams E8RS E8RM E16RS E16RM E8YRS ...
Page 48: ...3 10 ...
Page 49: ...Chapter 4 I O Allocation ...
Page 53: ...Chapter 5 Installation and Wiring ...
Page 73: ...Chapter 6 Preparation of USB Port ...
Page 77: ...6 5 5 Click Finish on the following screen to be displayed ...
Page 79: ...6 7 4 Double click on FP0R 5 Click Update Driver ...
Page 84: ...6 12 ...
Page 85: ...Chapter 7 Communication ...
Page 139: ...7 55 Sample program For Type II Use a program as below to directly specify a MODBUS address ...
Page 141: ...Chapter 8 High speed Counter Pulse Output and PWM Output Functions ...
Page 142: ...8 2 ...
Page 199: ...Chapter 9 Security Functions ...
Page 211: ...Chapter 10 Other Functions ...
Page 217: ...Chapter 11 Self Diagnostic and Troubleshooting ...
Page 227: ...Chapter 12 Precautions During Programming ...
Page 242: ...12 16 ...
Page 243: ...Chapter 13 Specifications ...
Page 254: ...13 12 ...
Page 255: ...Chapter 14 Dimensions and Others ...
Page 262: ...14 8 ...
Page 263: ...Chapter 15 Appendix ...
Page 344: ...15 82 15 7 ASCII Codes ...
Page 346: ......
Page 347: ......
Page 348: ......