![Omron CJ1G-CPUxx Instructions Manual Download Page 218](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491218.webp)
197
Sequence Control Instructions
Section 3-5
Operation of CJP(510)
When the execution condition for CJP(510) is OFF, no jump is made and the
program is executed consecutively as written.
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.
Operation of CJPN(511)
When the execution condition for CJPN(511) is ON, no jump is made and the
program is executed consecutively as written.
When the execution condition for CJPN(511) is OFF, program execution
jumps directly to the first JME(005) in the program with the same jump num-
ber.
Flags
The following table shows the flags affected by CJP(510) and CJPN(511).
Precautions
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 isn’t being executed.
When there are two or more JME(005) instructions with the same jump num-
ber, only the instruction with the lower address will be valid. The JME(005)
with the higher program address will be ignored.
When JME(005) precedes the CJP(510) or CJPN(511) instruction in the pro-
gram, the instructions in-between will be executed repeatedly as long as the
execution condition remains OFF (CJP(510)) or ON (CJPN(511)). A Cycle
Time Too Long error will occur if the jump isn’t completed by changing the
execution condition executing END(001) within the maximum cycle time.
Execution
condition OFF
Instructions
executed
Instructions
jumped
Instructions in this section are not
executed and output status is main
tained. The instruction execution time
for these instructions is eliminated.
Execution
condition ON
Instructions
executed
Instructions
jumped
Instructions in this section are not
executed and output status is main
tained. The instruction execution time
for these instructions is eliminated.
Execution
condition ON
Execution
condition OFF
Name
Label
Operation
Error Flag
ER
ON if there isn’t a JME(005) with the same jump number
as CJP(510) or CJPN(511).
ON if N isn’t within the specified range of 0000 to 03FF.
ON if there is a CJP(510) or CJPN(511) instruction in a
task without a JME(005) with the same jump number.
OFF in all other cases.
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...