Function Block Sequence

The Sequence function block controls the sequence of events.

For the purposes of demonstration, this program reads the axis positions out of a file. The position data can of course be made available by quite different methods. They can, for example, also be directly calculated at run-time, or acquired by a measurement system.

The running of the program should not be interrupted at unsuitable times, for instance in order to load a new program version into the TwinCAT run-time system. This can lead to files remaining open, with a following inability to re-open them when the PLC next starts. In such cases the sequence will stop with an error message in one of the steps. If that happens, start the TwinCAT System again by means of the TwinCAT icon in task bar.

Function Block Sequence 1: