Function blocks
Functions and function blocks can be used in LD diagrams. Blocks are always connected to the flow line (powered) by their first input and first output. If the first input of a block is not boolean, a special input called "EN" is added, and means that the block is not executed if the input flow is FALSE. If the first output is not boolean, a special output called "OK" is added. The special "OK" output always has the same state as the first input (the flow).
In case of a function block, the instance of the block must be specified and is shown on the top of the block. Double click on the top of the block to select the instance. You can also double click somewhere else in the block to change its type.
Boolean inputs and outputs of blocks can be directly linked to contacts and coils. Block inputs and outputs can also be specified using specific data in/out items.
Function blocks |
IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > Editing programs > Function blocks |
Created with the Personal Edition of HelpNDoc: Experience the Power and Ease of Use of HelpNDoc for CHM Help File Generation