Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 275

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Sequence Control Instructions
Example
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 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.
When CIO 000000 is ON in the following example, the instructions between
CJP(510) and JME(005) are not executed and the outputs maintain their pre-
vious status.
When CIO 000000 is OFF in the following example, the instructions between
CJP(510) and JME(005) are executed normally.
Section 3-5
235

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents