EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #238 background imageLoading...
Page #238 background image
3. Instructions
200
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
Hint
• In the case of a JMP, CJP, or CJPN instruction, the program jumps directly to the JME instruction
when the jump condition is satisfied. An instruction is not executed between JMP/CJP/CJPN and
JME, and thus instruction execution time is not needed in that interval. Therefore, cycle time is
reduced.
By contrast, in the case of a JMP0 instruction, when the jump condition is satisfied, NOP processing
(non-functional processing) is executed between JMP0 and JME0. During that interval, a processing
time equivalent to a NOP instruction is required, and thus the cycle time will not be reduced.
• Functional comparison of jump instructions
Precautions
• CJP(510) jumps to the first JME(005) when the execution condition is ON and CJPN(511) jumps to
the first JME(005) when the execution condition is OFF.
• All of the outputs (bits and words) in jumped instructions retain their previous status. Operating timers
(TIM, TIMX(550), TIMH(015), TIMHX(551), TMHH(540), and TMHHX(552)) continue timing be-cause
the PVs are updated even when the timer instruction is not being executed.
Error will occur in the present value of any active TIMU(541), TIMUX(556), TMUH(544), TMUHX(557)
instruction when the instruction is jumped.
• When there are two or more JME(005) instructions with the same jump number, only the instruction
with the lower address will be valid. The JME(005) with the higher program address will be ignored.
z CJP
When the execution condition for
CJP(510) is OFF, no jump is made
and the program is executed con-
secutively as written.
When the execution condition for
CJP(510) is ON, program execu-
tion jumps directly to the first
JME(005) in the program with the
same jump number.
z CJPN
When the execution condition for
CJPN(511) is ON, no jump is made
and the program is executed con-
secutively as written.
When the execution condition for
CJPN(511) is OFF, program execu-
tion jumps directly to the first
JME(005) in the program with the
same jump number.
Jump instruction JMP-JME CJP-JME CJPN-JME JMP0-JME0
Input condition for
jump
OFF ON OFF OFF
Number used Total of 1024 (256 on the CJ1M-CPU11/21) No restrictions
Instruction processing
at jump
Non-execution NOP processing
Execution time for
jump
None Total time is equivalent
to a NOP instruction
Instruction output at
jump
Holds the previous status
Processing in block
program area
Unconditional jump Jump at ON Jump at OFF Not allowed
Instructions in this section are not
executed and output status is
maintained. The instruction execution
time for these instructions is eliminated.
Instructions
jumped
Execution
condition ON
Execution
condition OFF
Instructions
executed
Execution
condition ON
Execution
condition OFF
Instructions
jumped
Instructions in this section are not
executed and output status is
maintained. The instruction execution
time for these instructions is eliminated
.
Instructions
executed

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals