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.:
Home – Wait for Start
Cylinder 1 Extend
Calculation Start
Cylinder 2 Extend
Wait for Start (Return)
Calculation Reset
Cylinder 1 Retract
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.