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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
156
When JME(005) precedes JMP(004) in the program, the instructions between
JME(005) and JMP(004) will be executed repeatedly as long as the execution
condition for JMP(004) is OFF. A Cycle Time Too Long error will occur if the
execution condition is not turned ON or END(001) is not executed within the
maximum cycle time.
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).
Block program section
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 pro-
grammed 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 condi-
tion for the DIFU(013), DIFD(014), or differentiated instruction will be com-
pared to the execution condition that existed before the jump became effective
(i.e., before the execution condition for JMP(004) went OFF).
Program section A is executed
repeatedly as long as
execution condition a is OFF.
JMP &1
to
JME &1
Section 3-4

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents