Chapter 6: Instructions
145
Instruction
Mnemonic
Jump
Range
Bit
Word
JMPS
JMPE
JMPS: Start jump
JMPE: End jump
Double words
Ladder
JMPS: Jump directly to the corresponding JMPE instruction.
JMPE: Position jumped to by JMPS instruction.
Description
1. The JMPS and JMPE instruction function identically to the JMP and LBL instructions, but do
not require the use of a label. Additionally, the JMPS/JMPE pair may be used more than once
in a program.
2. This instruction is used to conditionally perform a set of instructions in the program. When
the input condition to the JMPS instruction is true, execution will jump over the following
instructions, directly to the corresponding JMPE. When the input condition is false, the
instructions following the JMPS will be executed normally, and no jump occurs.
3. For the JMPS instruction, there MUST be a corresponding JMPE. Also, the JMPE instruction
must come after the JMPS instruction in the program. If either of these two conditions is not
satisfied, an error will occur preventing execution of the program.
4. The JMPS/JMPE instructions may NOT be nested—after each JMPS instruction, there must
be a JMPE instruction before the next JMPS instruction may be programmed.
5. This operation will occur on every scan for which the input condition is true (On). To perform
the operation only on a change of input condition, use the rising/falling edge contact.
JMPS
JMPE
R
(OUT)
Содержание D320 PLC
Страница 1: ...D320 PLC User s Manual...
Страница 18: ...6 D320 PLC User s Manual...
Страница 28: ...16 D320 PLC User s Manual...
Страница 34: ...22 D320 PLC User s Manual...
Страница 78: ...66 D320 PLC User s Manual...
Страница 176: ...164 D320 PLC User s Manual...
Страница 210: ...198 D320 PLC User s Manual...
Страница 258: ...246 D320 PLC User s Manual...