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

Page 301

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer



DMS 3.2 EN 02/2011 TD29

299

The newest POU is inserted at the selected position:

• If an input is selected (Cursor Position 2), then the POU is inserted in front of this

input. The first input of this POU is linked to the branch on the left of the selected
input. The output of the new POU is linked to the selected input.

• If an output is selected (Cursor Position 4), then the POU is inserted after this

output. The first input of the POU is connected with the selected output. The
output of the new POU is linked to the branch with which the selected output was
linked.

• If a POU, a function, or a function block is selected (Cursor Position 3), then the old

element will be replaced by the new POU.

• As far as possible, the branches will be connected the same way 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, then the POU will be inserted before this jump or

return. The first input of the POU is connected with the branch to the left of the
selected element. The output of the POU is linked to the branch to the right of the
selected element.

• If the last cursor position of a network is selected (Cursor Position 6), then the POU

will be inserted following the last element. The first input of the POU is linked to

the branch to the left of the selected position.

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

clicked and changed into the desired constant or variable.

• If there is a branch to the right of an inserted POU, then the branch will be

assigned to the first POU output. Otherwise the outputs remain unassigned.

Advertising