1059
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Block Programming Instructions
3
Block Programming Instructions
Instructions Not Applicable in Block Programs
The instructions listed in the following table cannot be used within block programs.
z Instructions Not Applicable in Block Programs
Note JMP and JME instructions can be used. However, an execution condition is not used; the program jumps to JME
unconditionally. CJP and JME instructions can also be used. These are entered after an execution condition and the
program jumps to JME as usual based on the execution condition.
Instruction group Mnemonic Name Alternative
Sequence Output
Instructions
OUT OUTPUT Use SET and RSET.
OUT NOT OUTPUT NOT
DIFU(013) DIFFERENTIATE UP None
DIFD(014) DIFFERENTIATE DOWN None
KEEP(011) KEEP None
Sequence Control
Instructions
FOR(512) and
NEXT(513)
FOR-NEXT LOOPS Use LOOP(809) and LEND(810) (NOT).
BREAK(514) BREAK LOOP
IL(002) and ILC(003) INTERLOCK and INTERLOCK CLEAR Divide the block program into smaller blocks.
JMP(004)0 and
JME(005) 0
Multiple JUMP and Multiple JUMP END Use JMP(004 and JME(005) (but the jump will be
made unconditionally).
END(001) END Use BEND(801).
Timer and Counter
Instructions
TIM and TIMX(550) HUNDRED-MS TIMER Use TIMW(813), TIMWX(816), TMHW(815),
TMHWX(817), CNTW(814), and CNTWX(818).
Other instructions in the block program will not be
executed until the timer times out or the counter
counts out.
TIMH(015) and
TIMHX(551)
TEN-MS TIMER
TMHH(540) and
TMHHX(552)
ONE-MS TIMER
TIMU(541) and
TIMUX(556)
TENTH-MS TIMER
TIMUH(544) and
TIMUHX
(557)
HUNDREDTH-MS TIMER
TTIM(087) and
TTIMX(555)
ACCUMULATIVE TIMER
TIML(542) and
TIMLX(553)
LONG TIMER
MTIM(543) and
MTIMX(554)
MULTI-OUTPUT TIMER
CNT and CNTX(546) COUNTER
CNTR(012) and CNTRX
(548)
REVERSIBLE COUNTER
Subroutine Instructions SBN(092) and RET(093) SUBROUTINE ENTRY and SUBROUTINE
RETURN
None
Shift Instructions SFT(010) SHIFT REGISTER Use other Shift Instructions.
Step Instructions STEP(008) and SNXT
(009)
STEP and STEP NEXT Use WAIT(805).
Data Control
Instructions
PID(190) PID CONTROL None
Diagnostic Instructions FPD(269) FAILURE POINT DETECTION None
Upward and Downward
Differentiated
Instructions
Mnemonics with @ Upward Differentiated Instructions None
Mnemonics with % Downward Differentiated Instructions None