Precautions During ProgrammingFP0
8 − 15
8.5 Instruction of Leading Edge Detection Method
Example 1: DF (leading edge differential) instruction
RUN
(Power on)
X0
DF
Y0
X0
DF
Y0
R9014
Add R9014
X0
Y0
Even if X0 was initially on, the input condition (X0) for the DF
instruction is off−to−on at the second scan, therefore derivative output
is obtained.
Example 2: CT (counter) instruction
X0
Add R9014
X1
100CT
X0
R9014
X1
100CT
X0
CT100
counting
operation
RUN
(Power on)
Even if X0 was initially on, the input condition (X0) for the counter
is off−to−on at the second scan, therefore the count is
incremented.