Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 75

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

2. Summary of Instructions
Instruction
Symbol/Operand
Mnemonic
Code
CONDITIONAL
CJPN(511)
JUMP
CJPN
511
N: Jump number
MULTIPLE JUMP
JMP0(515)
JMP0
515
MULTIPLE JUMP
JME0(516)
END
JME0
516
FOR-NEXT
FOR(512)
LOOPS
FOR
512
N: Number of
loops
38
The operation of CJPN(511) is almost identical to JMP(004).
When the execution condition for CJP(004) is OFF, program execution
jumps directly to the first JME(005) in the program with the same jump
N
number. CJPN(511) and JME(005) are used in pairs.
Execution
condition ON
Instructions
executed
When the execution condition for JMP0(515) is OFF, all instructions
from JMP0(515) to the next JME0(516) in the program are processed
as NOP(000). Use JMP0(515) and JME0(516) in pairs. There is no
limit on the number of pairs that can be used in the program.
Execution
condition a ON
Instructions
executed
Execution
condition b ON
Instructions
executed
When the execution condition for JMP0(515) is OFF, all instructions
from JMP0(515) to the next JME0(516) in the program are processed
as NOP(000). Use JMP0(515) and JME0(516) in pairs. There is no
limit on the number of pairs that can be used in the program.
The instructions between FOR(512) and NEXT(513) are repeated a
specified number of times. FOR(512) and NEXT(513) are used in
pairs.
N
Repeated program section
Function
Execution
condition OFF
Instructions
jumped
Instructions in this section
are not executed and out-
put status is maintained.
The instruction execution
time for these instructions
is eliminated.
Execution
condition a OFF
Instructions
jumped
Jumped instructions
are processed as
NOP(000). Instruction
Execution
execution times are
condition b OFF
the same as
NOP(000).
Instructions
jumped
Repeated N times
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Location
Page
Execution
condition
Output
195
Not required
Output
198
Required
Output
198
Not required
Output
201
Not required

Advertisement

Table of Contents
loading

Table of Contents