Precautions Concerning Programs
4-12
Example 1: DF (leading edge differential) instruction
RUN
(Power on)
X0
DF
Y10
X0
DF
Y10
R9014
Add R9014
X0
Y10
Even if X0 was initially on, the input condition for the
DF instruction is off−to−on at the second scan,
therefore differential output is obtained.
Example 2: CT (counter) instruction
X0
Add R9014
X1
CT 200
X0
R9014
X1
CT 200
X0
CT200
counting
operation
RUN
(Power on)
Even if X0 was initially on, the input condition
for the counter is off−to−on at the second scan,
therefore the count is incremented.