Skip to main content

Command: Insert ST Block

Symbol: _ld_icon_st_block.png

Shortcut: Ctrl+Shift+S

Function: The command inserts an ST block before the selected element. When you drag the element from the toolbox to the implementation part, the plus symbol at the cursor (_ld_img_cursor_insert_position.png) helps you recognize the possible insert positions.

Call: Ladder menu; context menu

When you double-click the block after inserting it, a text editor for entering ST code will open.

Command: Insert ST Block (parallel)

Shortcut: Ctrl+Shift+S

Function: The command inserts an ST block parallel into the network.

Call: Ladder menu; context menu

Requirements: In the ladder diagram, an insert position for a parallel connection is selected. This is a triangle which points downwards or upwards (_ld_icon_triangle_down.png, _ld_icon_triangle_up.png). Then when you open the menu or context menu, the Insert ST Block (parallel) command will be displayed instead of the Insert ST Block command.

Element: ST Block

This element extends a ladder diagram (LD2) by adding a block which contains ST code.

When you double-click the element in the ladder diagram, the ST code editor will be displayed. There you can enter the desired ST code.

This code is executed when the network is processed.