Instructions - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

1 Summary of Instructions
Instrucion
Instruction
Type
Sequence
END
Control
NO OPERATION

Instructions

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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents