Actions and notes attached to a step (level 2) are entered in a separate window. To open the level 2 editing window of a step or transition, double click on its symbol in the chart, or select it and hit ENTER.
The level 2 editing window proposes 4 views for entering
different types of level 2 information:
- simple actions entered as text
- P1 actions than can be programmed in ST/IL text, LD or FBD
- N actions than can be programmed in ST/IL text, LD or FBD
- P0 actions than can be programmed in ST/IL text, LD or FBD
- text notes
Use the tab buttons in the level 2 editing window for selecting a view:
When editing P1, N or P0 actions, use the "Edit / Set Language" menu command to select the programming language. This command is not available if the action block is not empty.
The first view ("Action") contains all simple actions to control a boolean variable or a child SFC chart. However, it is possible to directly enter action blocks programmed in ST together with other actions in this view. Use the following syntax for entering ST action blocks in the first pane:
ACTION ( qualifier
) :
statements...
END_ACTION;
Where qualifier is "P1", "N" or "P0".