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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Sequence Control Instructions
Applicable Program Areas
Description
Precautions
162
Variations
Executed Each Cycle for ON Condition
Immediate Refreshing Specification
Block program areas
Not allowed
Not allowed
When the execution condition for JMP0(515) is ON, no jump is made and the
program executed consecutively as written.
When the execution condition for JMP0(515) is OFF, all instructions from
JMP0(515) to the next JME0(516) in the program are processed as
NOP(000). Unlike JMP(004), CJP(510), and CJPN(511), JMP0(515) does not
use jump numbers, so these instructions can be placed anywhere in the pro-
gram.
Execution
condition a ON
Instructions
executed
Execution
condition b ON
Instructions
executed
Unlike JMP(004), CJP(510), and CJPN(511) which jump directly to the first
JME(005) instruction in the program, all of the instructions between
JMP0(515) and JME0(516) are executed as NOP(000). The execution time of
the jumped instructions will be reduced, but not eliminated. The jumped
instructions themselves are not executed and their outputs (bits and words)
maintain their previous status.
Multiple pairs of JMP0(515) and JME0(516) instructions can be used in the
program, but the pairs cannot be nested.
JMP0(515) and JME0(516) cannot be used in block programs.
JMP0(515) and JME0(516) pairs must be in the same tasks because jumps
between tasks are not allowed.
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 JMP0(515) and JME0(516). When DIFU(013), DIFD(014),
or a differentiated instruction is executed in an jumped section immediately
after the execution condition for the JMP0(515) 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 JMP0(515) went OFF).
Step program areas
Subroutines
OK
Execution
condition a OFF
Instructions
jumped
Jumped instructions are processed as
NOP(000). Instruction execution times
are the same as NOP(000).
Execution
condition b OFF
Instructions
jumped
Section 3-4
JME0(516)
Not supported
Interrupt tasks
OK

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents