‘Insert’ ‘Function Block’ in LD

Symbol: 89bc1d9a43769bd40a33139018bd1ba8_1f193d944375851a0a3313905c72d969 Shortcut: <Ctrl>+<B>

Use this command in order to insert an operator, a function block, a function or a program as a POU. For this, the connection between the contacts and the coils, or a coil, must be marked. The new POU at first has the designation AND. If you wish, you can change this designation to another one. For this you can also use the ‘Edit’ ‘Input Assistant’. Both standard and self-defined POUs are available.

The first input to the POU is placed on the input connection, the first output on the output connection; thus these variables must definitely be of type BOOL. All other in- and outputs of the POU are filled with the text “???”. These prior entries can be changed into other constants, variables or addresses. For this you can also use the ‘Edit’ ‘Input Assistant’.

For the possibility of entering addresses, of linebreaks for variable names and of comments per contact, coil or function block please see the description of the Comments, Networks with Linebreaks, ‘Extras’ ‘Options’ dialog.