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

Page 336

Advertising
background image

L-force | PLC Designer

Editors in PLC Designer

334

DMS 3.2 EN 02/2011 TD29



The output and input of a block can be connected together (feedback path) by using
this method. To establish a connection between two pins, click with the left mouse
button on one pin, hold the button down and thus drag the connection to the desired
pin, where you then release the button. If during the dragging of the connection
extends outside working area of the editor, scrolling occurs automatically. For simple
data types, type testing is carried out during the connection. If the types of the two
pins are not compatible, the cursor changes to „Forbidden". For complex data types,
no testing takes place.

'Extras' 'Connection marker'

Connections can also be represented by a connector (connection marker) instead of a
connecting line. Here the output and the associated input have a connector added to
them which is given a unique name.

Where a connection already exists between the two elements which should now be

represented by connectors, the output of the connecting line is marked and the menu
point ‚Extras' ‚Connection marker' is selected. The following diagram shows a
connection before and after the selection of this menu point.

A unique name is given as standard by the program which begins with M, but which
can be changed The connector name is stored as an output parameter, but can be
edited both at the input and at the output.

It is important to know that the connector name is associated with a property of the
output of a connection and is stored with it.

1. Edit the connector at the output:

If the text in the connector is replaced, the new connector name is adopted by all
associated connectors at the inputs. One cannot, however, select a name which
already belongs to another connection marker since the uniqueness of the connector
name would be violated.

2. Edit the connector at the input:

If the text in a connector is replaced, it will also be replaced in the corresponding
connection marker on the other POU. Connections in connector representations can
be converted to normal connections in that one marks the output of the connections
(Cursor position 4) and again selects the menu point 'Extras' 'Connection marker'.

Advertising