Instruction List Editor

This is how a POU written in the IL looks under the corresponding TwinCAT PLC Control editor:

Instruction List Editor 1:

IL-Editor

All editors for POUs consist of a declaration part and a body. These are separated by a screen divider.

The instruction list editor is a text editor with the usual capabilities of Windows text editors. The most important commands are found in the context menu (right mouse button or <Ctrl>+<F10>).

Multiline POU calls are also possible:
Example:

CAL CTU_inst(
CU:=%IX10,
PV:=(
LD A
ADD 5
)
)

Flow Control

With the "Online" "Flow control" command, an additional field in which the accumulator contents is displayed is inserted in the IL editor on the left side of every line.

For information about the IL editor in Online mode, see 'Text Editors in Online Mode'.