787
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Step Instructions
3
SNXT/STEP
• STEP(008) and SNXT(009) cannot be used inside of subroutines, interrupt programs, or block
programs.
• Be sure that two steps are not executed during the same cycle.
• The instructions that cannot be used within step programs are listed in the following table.
Example Programming
Function Mnemonic Name
Sequence
Control
Instructions
END(001) END
IL(002) INTERLOCK
ILC(003) INTERLOCK CLEAR
JMP(004) JUMP
JME(005) JUMP END
CJP(510) CONDITIONAL JUMP
CJPN(511) CONDITIONAL JUMP NOT
JMP0(515) MULTIPLE JUMP
JME0(516) MULTIPLE JUMP END
Subroutine
Instructions
SBN(092) SUBROUTINE ENTRY
RET(093) SUBROUTINE RETURN
Step (A) ladder program
Step (B) ladder program
Normal ladder program
CIO 0.00 turns ON, step W0.00 starts
Step W0.00 starts from the next instruction
Step W0.00
W0.00 turns OFF, W0.01 turns ON and step W0.01 starts
Step W0.01 starts from the next instruction
W0.01 turns OFF and dummy bit W100.00 turns ON
End of step programming area
Step W0.01
End of step programming area
0.00
0.01
0.02
W0.00
W0.00
W0.01
W100.00
W0.01