Jump (Start)
Instruction Parameters
Supported PLC Series
| XPnA/1R | XPnB | XPnE | XPnF | CP3A/B/P/U CP4A~D/U | CPnE | CPnF | BP | PLC-S |
|---|---|---|---|---|---|---|---|---|
| ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
Supported Data Registers
| M | X | Y | K | L | F | T | C | S | Z | R | Q | D | @D | Constant | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| n | - | - | - | - | - | - | - | - | - | - | - | - | - | - | ✓ |
Supported Flags
| Flag | Bit | Support |
|---|---|---|
| Error | F11.0 | - |
| Zero | F11.1 | - |
| Carry | F11.2 | - |
Number of Steps
| Steps |
|---|
| 2 |
Operands
| Operand | Description |
|---|---|
| n | The only operand. Entries are only constants. This is the branch ID to jump to. The value range is 0 ~ 127. |
Notice
Subroutine Usage
Instruction Behavior
The JMP and JMPP instructions behave as follows:
- JMP:
- When the execution condition of the JMP instruction is ON (1), the program jumps to the next step of the JME instruction within the identical branch ID, n.
- When the execution condition of the JMP instruction is OFF (0), the JMP instruction is not executed, and the program does not jump.
- When the JMP instruction is executed, all instructions between the JMP and JME instructions are NOT executed.
- Multiple JMP n instructions can be placed before their related JME n instruction.
- JMPP:
- When the execution condition of the JMPP instruction is ON (1), the program jumps to the next step of the JME instruction with a matching branch ID, n for 1 scan.
- When the execution condition of the JMPP instruction is OFF (0), the JMPP instruction is not executed and program does NOT jump.
- When the JMPP instruction is executed, all instructions between the JMPP and JME instructions are not executed for 1 scan.