EasyManua.ls Logo

Omron SYSMAC CV Series - Page 532

Omron SYSMAC CV Series
636 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Appendix AInstruction Set
522
Name, mnemonic, variations,
and symbol
PageOperand data
areas
Function
COUNTER
CNT
CNT N S
CP
R
Creates a decrementing counter. S (set value):
0 to 9999; CP: count pulse; R: reset input.
Each counter number (BCD) can be used in
only one counter instruction (CNT,
CNTR(012), and TCNT(123)), unless the
counters are never active simultaneously. The
counter number can be designated as a
constant or indirectly addressed by placing the
address of the present value of the counter in
an Index Register.
N:
#
S:
CIO
G
A
T/C
#
DM
DR
IR
153
Special Instructions
Name, mnemonic, variations,
and symbol
Function Operand data
areas
Page
NO OPERATION
NOP
(000)
NOP
Nothing is executed and program operation
moves to the next instruction.
None 139
END
END
(001)
END
Required at the end of each program,
including action and transition programs.
Instructions located after END(01) will not be
executed.
None 139
INTERLOCK
IL
INTERLOCK CLEAR
ILC
(002)
IL
(003)
ILC
If an interlock condition is OFF, all outputs
between the current IL(002) and the next
ILC(003) are turned OFF; the PVs of timers
that use timer numbers (TIM, TIMH(015), and
TIML(121)) are reset. Other instructions are
treated as NOP. The PVs of counters,
TTIM(120), and MTIM(122) are maintained. If
the execution condition is ON, execution
continues normally.
None 134
JUMP
JMP
(004)
JMP N
JMP(004) is always used in conjunction with
JME(005) to create jumps, i.e., to skip from
one point in a ladder diagram to another point.
JMP(004) defines the point from which the
jump will be made; JME(005) defines the
destination of the jump. When the execution
condition for JMP(004) in ON, no jump is
made and the program is executed
consecutively as written. When the execution
condition for JMP(004) is OFF, program
execution will go immediately to the JME(005)
with the same jump number without executing
any instructions in between. TIM and
TIMH(015) continue counting even when
jumped.
N:
CIO
G
A
T/C
#
DM
DR
IR
136
JUMP END
JME
(005)
JME N
JME(005) defines the destination of a jump
started by JMP(004).
N:
#
136

Table of Contents

Related product manuals