Conditional Jump
JUMP_IF_INPUT · V4.23Evaluate once: true jumps, false advances.
Hexadecimal notation is used for IDs, indexes, modes and sentinel values where applicable. Physical quantities (such as pulses, milliseconds and pulse/s) remain in their native units. Macro names are shown only when defined by the firmware.
Input parameters
| Parameter | Initial value | Meaning |
|---|---|---|
Value 1 / sensorinput_index | X0 | Condition operand or indexer sensor input. The indexer uses physical X inputs. |
Value 2compare_source | XSTATE_CLOSE | Second operand source or manual numeric value; internal codes are shown as meaningful states. |
Comparisoncondition | = | Equals, not equals, less/greater than, or less/greater than or equal. Internal not-equal encoding is <>. |
Target Marktarget_mark | Current row | Target Mark within this scope. Conditional jumps can also target the current row. |
Initial values are editor defaults for a newly inserted instruction; configure them for the actual machine.
Execution and usage
- A current-row target repeats while true and advances when false. Conditional Jump has no built-in timeout. Use Conditional Wait when false must wait and timeout must pause all tasks and latch an alarm output.