Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 193

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
160
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 is not completed by changing the
execution condition executing END(001) within the maximum cycle time.
The CJP(510) or CJPN(511) instructions will operate normally in block pro-
grams.
When the execution condition for the CJP(510) is ON or the execution condi-
tion for CJPN(511) is OFF, program execution will jump directly to the JME
instruction without executing instructions between CJP(510)/CJPN(511) and
JME. No execution time will be required for these instructions and the cycle
time will thus be reduced.
When the execution condition for the JMP0 is OFF, NOP processing is exe-
cuted between the JMP0 and JME0, requiring execution time. Therefore, the
cycle time will not be reduced.
When a CJP(510) or CJPN(511) instruction is programmed in a task, there
must be a JME(005) with the same jump number because jumps between
tasks are not allowed. An error will occur if a corresponding JME(005) instruc-
tion is not programmed in the same task.
The operation of DIFU(013), DIFD(014), and differentiated instructions is not
dependent solely on the status of the execution condition when they are pro-
grammed in a jumped program section. When DIFU(013), DIFD(014), or a dif-
ferentiated instruction is executed in an jumped section immediately after the
execution condition for the CJP(510) has gone OFF (ON for CJPN(511)), the
execution condition for the DIFU(013), DIFD(014), or differentiated instruction
will be compared to the execution condition that existed before the jump
became effective.
Section 3-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents