Omron SYSMAC CP Series Instruction & Reference Manual page 91

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

• When there are two or more JME(005) instruc-
tions with the same jump number, only the
instruction with the lower address will be valid.
The JME(005) with the higher program
address will be ignored.
• CJP(510) jumps to the first JME(005) when the
execution condition is ON and JMP(004) jumps
to the first JME(005) when the execution condi-
tion is OFF.
• When JME(005) precedes JMP(004)/CJP(510) in the program, the instructions between JME(005)
and JMP(004)/CJP(510) will be executed repeatedly as long as the execution condition for
JMP(004)/CJP(510) 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.
• 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)/CJP(510) and
JME(005). When DIFU(013), DIFD(014), or a differentiated instruction is executed in an jumped sec-
tion immediately after the execution condition for the JMP(004)/CJP(510) 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).
Sample program
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 status.
When CIO 0.00 is ON in the right example,
the instructions between JMP(004) and
JME(005) are executed normally.
CP1E CPU Unit Instructions Reference Manual(W483)
JME
N
Program section A is executed
A
repeatedly as long as
execution condition a is OFF.
JMP
a
N
0.00
JMP
CIO 0.00
ON
&1
&1
Normal
execution
TIM
SET
CNT
JME
&1
2 Instructions
2
CIO 0.00
OFF
Instructions
not executed.
(Outputs
remain
unchanged.)
2-55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents