1 Summary of Instructions
1-4 CP1E CPU Unit Instructions Reference Manual(W483)
Sequence
Control
Instructions
END END 001 Indicates the end of a program. 2-38
NO OPERATION NOP 000 This instruction has no function. (No processing is performed for NOP(000).) 2-39
INTERLOCK IL 002 Interlocks all outputs between IL(002) and ILC(003) when the execution condi-
tion for IL(002) is OFF.
2-40
INTERLOCK
CLEAR
ILC 003 All outputs between IL(002) and ILC(003) are interlocked when the execution
condition for IL(002) is OFF.
2-40
MULTI-INTERLOCK
DIFFERENTIATION
HOLD
MILH 517 When the execution condition for MILH(517) is OFF, the outputs for all instruc-
tions between that MILH(517) instruction and the next MILC(519) instruction
are interlocked.
2-44
MULTI-INTERLOCK
DIFFERENTIATION
RELEASE
MILR 518 When the execution condition for MILR(518) is OFF, the outputs for all instruc-
tions between that MILR(518) instruction and the next MILC(519) instruction
are interlocked.
2-44
MULTI-INTERLOCK
CLEAR
MILC 519 Clears an interlock started by an MILH(517) or MILR(518) with the same inter-
lock number.
2-44
JUMP JMP 004 When the execution condition for JMP(004) is OFF, program execution jumps
directly to the first JME(005) in the program with the same jump number.
2-53
JUMP END JME 005 Indicates the end of a jump initiated by JMP(004) or CJP(510). 2-53
CONDITIONAL
JUMP
CJP 510 The operation of CJP(510) is the basically the opposite of JMP(004). When the
execution condition for CJP(510) is ON, program execution jumps directly to the
first JME(005) in the program with the same jump number.
2-53
FOR LOOP FOR 512 The instructions between FOR(512) and NEXT(513) are repeated a specified
number of times.
2-56
NEXT LOOP NEXT 513 The instructions between FOR(512) and NEXT(513) are repeated a specified
number of times.
2-56
BREAK LOOP BREAK 514 Programmed in a FOR-NEXT loop to cancel the execution of the loop for a
given execution condition. The remaining instructions in the loop are processed
as NOP(000) instructions.
2-59
Timer and
Counter
Instructions
HUNDRED-MS
TIMER
TIM
-
TIM/TIMX(550) operates a decrementing timer with units of 0.1-s. 2-66
TIMX 550
TEN-MS TIMER TIMH 015 TIMH(015)/TIMHX(551) operates a decrementing timer with units of 10-ms. 2-69
TIMHX 551
ONE-MS TIMER TMHH 540 TMHH(540)/TMHHX(552) operates a decrementing timer with units of 1-ms. 2-72
TMHHX 552
ACCUMULATIVE
TIMER
TTIM 087 TTIM(087)/TTIMX(555) operates an incrementing timer with units of 0.1-s. 2-74
TTIMX 555
LONG TIMER TIML 542 TIML(542)/TIMLX(553) operates a decrementing timer with units of 0.1-s. 2-77
TIMLX 553
COUNTER CNT
-
CNT/CNTX(546) operates a decrementing counter. 2-80
CNTX 546
REVERSIBLE
COUNTER
CNTR 012 CNTR(012)/CNTRX(548) operates a reversible counter. 2-83
CNTRX 548
RESET TIMER/
COUNTER
CNR/
@CNR
545 CNR(545)/CNRX(547) resets the timers or counters within the specified range
of timer or counter numbers.
2-86
CNRX/
@CNRX
547
Instrucion
Type Instruction Mnemonic FUN
No. Function Page