Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 232

Table of Contents

Advertisement

3. Instructions
• In block programs, the instructions between
JMP(004) and JME(005) are always skipped
regardless of the status of the execution
condition for JMP(004).
• JMP(004) and JME(005) pairs must be in the same task because jumps between tasks are not
allowed. An error will occur if a JME(005) instruction is not programmed in the same task as its
corresponding JMP(004) instruction.
• The operation of DIFU(013), DIFD(014), and differentiated instructions is not dependent solely on
the status of the execution condition when they are programmed between JMP(004) and JME(005).
When DIFU(013), DIFD(014), or a differentiated instruction is executed in an jumped section
immediately after the execution condition for the JMP(004) has gone ON, 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 (i.e., before the execution condition for JMP(004) went
OFF).
Example Programming
When CIO 0.00 is OFF in the right example, the
instructions between JMP(004) and JME(005) are not
executed and the outputs maintain their previous sta-
tus.
When CIO 0.00 is ON in the right example, the
instructions between JMP(004) and JME(005) are
executed normally.
196
Block program section
0.00
CIO 0.00
&1
&1
CS/CJ/NSJ Series Instructions Reference Manual (W474)
JMP &1
to
JME &1
CIO 0.00
OFF
ON
Normal
Instructions
execution
not executed.
(Outputs
remain
unchanged.)

Advertisement

Table of Contents
loading

Table of Contents