L-force | plc designer – Lenze PLC Designer PLC Designer (R3-1) User Manual

Page 296

Advertising
background image

L-force | PLC Designer

Menu Commands sorted by Categories

294

DMS 4.1 EN 03/2011 TD29

• Insert positions: The most recently inserted POU will be inserted at the currently

selected position:

• If an input is currently selected (cursor position 2), the box will be inserted before

this input. Its first input and - if applicable- its first output will be linked within the
existing branch.

• If an output is currently selected (cursor position 4), the box will be inserted after

this output. Its first input and - if applicable- its first output will be linked within
the existing branch.

• If a box is currently selected (cursor position 3), the old element will be replaced by

the new POU. As far as possible, the connections will remain as they were before
the replacement. If the old element had more inputs than the new one, then the
unattachable branches will be deleted. The same holds true for the outputs.

• If a jump or a return is selected (cursor position 3), the box will be inserted before

this jump or return. Its first input and - if applicable- its first output will be linked
within the existing branch.

• If a complete network or sub-network is selected (cursor position 6 resp. 11), then

the box will be inserted following the last element of the network or sub-network
and be linked with its first input.

• All box inputs that could not be linked will receive the text "???". This must be

selected and replaced by the name of the desired constant or variable.

• If there is already a branch to the right of an inserted box, this branch will be

assigned to the first output of the box. Otherwise the outputs remain unassigned.

Note: Concerning the view options for the components of a LD / FBD network notice
the settings in the 'FBD/LD and IL editor Options'.


IL:
In IL also a "box" can be inserted at any desired line. If the Input Assistant is used with
option 'Insert with arguments', the chosen POU will be displayed in form of a CAL
instruction and the respective input and output parameters of the chosen box
element.
Example:

Abb. 114 Box inserted in IL:

Box element "TON" has been inserted; instance TONinst has been defined locally;
input parameters: IN, PT; output parameter: ET.

Advertising