Omron CS1G/H-CPUxxH Instructions Manual page 218

Sysmac cs series; sysmac cj series
Hide thumbs Also See for CS1G/H-CPUxxH:
Table of Contents

Advertisement

Sequence Control Instructions
Flags
Precautions
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.
Execution
condition OFF
Instructions
executed
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.
Execution
condition ON
Instructions
executed
The following table shows the flags affected by CJP(510) and CJPN(511).
Name
Label
Error Flag
ER
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 ON
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 OFF
Instructions
jumped
Instructions in this section are not
executed and output status is main
tained. The instruction execution time
for these instructions is eliminated.
Operation
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.
Section 3-5
197

Advertisement

Table of Contents
loading

Table of Contents