L-force | plc designer – Lenze PLC Designer PLC Designer (R2-x) User Manual

Page 311

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer



DMS 3.2 EN 02/2011 TD29

309

'Insert' ''Set' coil' in LD

Symbol:

Shortcut: <Ctrl> + <I>

This command inserts a set coil. The same is true as for the commands 'Insert' 'Coil'
and' Extras' 'Set/Reset', which in combination also could be used to get a set coil.

'Insert' ''Reset' coil' in LD

Symbol:

This command inserts a reset coil. The same is true as for the commands 'Insert' 'Coil'
and' Extras' 'Set/Reset', which in combination also could be used to get a reset coil.

'Insert' 'Function Block' in LD

Symbol:

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 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
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 Ladder
Options dialog.

POUs with EN Inputs

If you want to use your LD network as a PLC for calling up other POUs , then you must
merge a POU with an EN input. Such a POU is connected in parallel to the coils.
Beyond such a POU you can develop the network further, as in the Function Block

Diagram. You can find the commands for insertion at an EN POU under the menu item
'Insert' 'Insert at Blocks'
.

An operator, a function block, a program or a function with EN input performs the
same way as the corresponding POU in the Function Block Diagram, except that its
execution is controlled on the EN input. This input is annexed at the connecting line

between coils and contacts. If this connection carries the information "On", then the
POU will be evaluated.

Advertising