5.2 Working in the logic layer

The logic layer shows the switching mechanism as a graphical flow chart. Here you create the states and connect them with arrows (transitions). Each state is a logical switching position of the machine.

Step 1 – Create new SEQ

In the project tree select Add Sequence and give it a name, for example SEQ_MainProcess. This establishes the basic framework.

Step 2 – Add states

Via Add State states are created, e.g.:

  1. Home – Wait for Start

  2. Cylinder 1 Extend

  3. Calculation Start

  4. Cylinder 2 Extend

  5. Wait for Start (Return)

  6. Calculation Reset

  7. Cylinder 1 Retract

  8. Cylinder 2 Retract → Back to Home

Each state is given a descriptive name and optionally a short text for the HMI.

Step 3 – Define transitions

The states are connected with arrows. An arrow describes when and where the switching mechanism changes. The change occurs automatically when the default rule is met:

IF (AR = 1 AND ¬I AND ΣS = 0) THEN Next State.

This eliminates any manual formulation of conditions – the engine itself knows when it may proceed.

Step 4 – Special elements

In addition to normal states, the following can be inserted:

  • Decision: logical branches (e.g. part ok/not ok).

  • Timer state: automatic change after time (not safety-relevant).

  • Repeater: loops or inspection cycles.

  • Jump: defined jumps (service, error, emergency mode).

These elements extend the sequence without changing the basic principle.

Last updated

Was this helpful?