Module 3 – Construction of the switching mechanism

Learning objective

Understand and apply the state machine and its elements (State, Decision, Timer, Repeater, Jump).

Explanation

The state machine is the clock. It operates according to the rule: IF (AR = 1 AND ¬I AND ΣS = 0) THEN Next State.

The elements:

  • State: logical step with actions,

  • Decision: branching,

  • Timer: time-based state,

  • Repeater: repetition,

  • Jump: direct jump to a defined state.

Exercise

Draw a state machine with the states: "Waiting for start", "Cylinder moves", "Waiting for sensor", "Return to home position". Mark where a timer, decision or jump would make sense.

Last updated

Was this helpful?