Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

Application Server

Step condition and jump condition

  • Last UpdatedJul 19, 2024
  • 2 minute read

Every step body contains a:

  • Step condition - if the step condition is fulfilled, Sequencer continues processing at the next step

  • Jump condition - if the jump condition is fulfilled, Sequencer continues processing at a specified step (which can also be the current step).

    Note: If both the step condition and the jump condition are true, advancing to the next step takes precedence over the jump.

The following diagram shows this:

Step and jump transitions

By default:

  • Jump Write OnExit is False, which means On Exit output values are not written for a jump transition.

  • Step Write OnExit is True, which means On Exit output values are written for a step transition.

You can change this setting for any given step in your program.

A single step with a jump condition is processed as follows:

  1. The step becomes active. On Entry values are written to Outputs.

  2. Sequencer cycles continuously at the step body, evaluating the step condition and the jump condition at every scan cycle.

  3. When the step condition is met, the On Exit output values are written if the Step Write OnExit is True, and the Sequencer advances to the next step.

  4. When the jump condition is met, the On Exit output values are written if Jump Write OnExit is True, and the Sequencer moves the active step to the specified step.

    Tip: Jumps can be forward, backward, or to the current step. If the current step is the target of the jump, the on entry outputs are written once just like at any other step destination.

You can use Jump transitions for:

  • Conditional Program Flow

  • Error Handling

  • Monitoring

TitleResults for “How to create a CRG?”Also Available in