Precautions During ProgrammingFP0
8 − 17
8.5 Instruction of Leading Edge Detection Method
Example 2:
Using the CT instruction between JP and LBL instructions
LBL 1
R0
JP 1
X0
X1
100CT
R0
X0
R0
X0
Counting
operation
Time chart 2
Counting
operation
Time chart 1
Final timing at
which the
previous JP
instruction was
not executed
The count is not incremented, because the final
timing at which the previous JP instruction was not
executed has not been changed, and the execution
condition X0 for the counter input has not changed.
Final timing at
which the
previous JP
instruction
was not
executed
The count is incremented, because the count input
changed from off to on after the final timing at which
the previous JP instruction was not executed.