Omron CP1E-E@@D@-@ Computer Hardware User Manual


 
2 Instructions
2-344
CP1E CPU Unit Instructions Reference Manual(W483)
Hint
Related Bits
Precaution
The control bit, B, must be in the Work Area for STEP(008)/SNXT(009).
A control bit for STEP(008)/SNXT(009) cannot be use anywhere else in the ladder diagram. If the
same bit is used twice, as duplication bit error will occur.
If SBS(091) is used to call a subroutine from within a step, the subroutine outputs and instructions will
not be interlocked when the control bit turns OFF.
SNXT(009) will be executed only once, i.e., on the rising edge of the execution condition.
Input SNXT(009) at the end of the step program area and make sure that the control bit is a dummy
bit in the Work Area. If a control bit for a step is used in the last SNXT(009) in the step program area,
the corresponding step will be started when SNXT(009) is executed.
A200.12 (Step Flag) is turned ON for one cycle
when STEP(008) is executed. This flag can be
used to conduct initialization once the step exe-
cution has started.
Name Address Details
Step Flag A200.12 ON for one cycle when a step program is started using STEP(008). Can be used to reset timers and
perform other processing when starting a new step.
1 cycle
Start
CNT
0001
#0003
STEP
W0.00
SNXT
W0.00
0.01
0.00
A200.12
W0.00
A200.12
Step a starts when C turns ON
A executed
When d turns ON, b starts (A is interlocked)
B executed
e turns ON (B is interlocked)
End of step programming area
Normal ladder
program
Returns to normal ladder program
STEP
a
c
SNXT
a
A
STEP
b
d
SNXT
b
B
STEP
e
SNXT
(Dummy)