Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Скачиваний:
19
Добавлен:
11.10.2020
Размер:
3.39 Mб
Скачать

212 The Editors

The Graphic Editors

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'.

5.4.5.22Insert inputs/outputs "on the fly"

If exactly one input or output pin of an element is selected, then the corresponding inputor outputelement can be directly inserted and its editor field filled with a string by entering the string at the keyboard.

5.4.5.23Order of execution

The elements block, output, jump, return and label each possess a number indicating the order in which they are executed. In this sequential order the individual elements are evaluated at run time.

When pasting in an element the number is automatically given according to the topological sequence (from left to right and from above to below). The new element receives the number of its topological successor if the sequence has already been changed and all higher numbers are increased by one.

The number of an element remains constant when it is moved.

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

The Editors 213

The Graphic Editors

The sequence influences the result and must be changed in certain cases.

If the sequence is displayed, the corresponding sequential execution number is shown in the upper right hand corner of the element.

5.4.5.24'Extras' 'Order' 'Display'

This command switches the display of the order of execution on and off. The default setting is to show it (recognised by a tick ( ) in front of the menu point).

The relevant order of execution number appears in the upper right hand corner for the elements block, output, jump, return and label.

5.4.5.25'Extras' 'Order' 'Order topologically'

Elements are ordered in a topological sequence when the execution takes place from left to right and from above to below, that is the number increases from left to right and from above to below for topologically arranged elements. The connections are not relevant, only the location of the elements is important.

All selected elements are topologically arranged when the command 'Extras' 'Order' 'Order topologically' is executed. All elements in the selection are taken out of the sequential processing list by this process. The elements are then entered into the remaining sequential processing list individually from bottom right through to upper left. Each marked element is entered into the sequential processing list before its topological successor, i.e. it is inserted before the element that in a topological sequencing would be executed after it, when all elements in the editor were sequenced according to a topological sequencing system. This will be clarified by an example.

The elements with numbers 1, 2 and 3 are selected. If the command 'Order topologically' is selected the elements are first taken out of the sequential processing list. Var3, the jump and the AND-operator are then inserted again one after the other. Var3 is placed before the label and receives the number 2. The jump is then ordered and receives the number 4 at first but this then

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

214 The Editors

The Graphic Editors

becomes 5 after the AND is inserted. The new order of execution which arises is:

When a newly generated block is introduced it will be placed by default in front of its topological successor in the sequential processing list.

5.4.5.26'Extras' 'Order' 'One forwards'

With this command all selected elements with the exception of the element which is at the beginning of the sequential processing list are moved one place forwards in the sequential processing list.

5.4.5.27'Extras' 'Order' 'One backwards'

With this command all selected elements with the exception of the element which is at the end of the sequential processing list are moved one place backwards in the sequential processing list.

5.4.5.28'Extras' 'Order' 'To the beginning'

With this command all selected elements will be moved to the front of the sequential processing list whereby the order within the group of selected elements is maintained. The order within the group of unselected elements also remains the same.

5.4.5.29'Extras' 'Order' 'To the end'

With this command all selected elements will be moved to the end of the sequential processing list whereby the order within the group of selected elements is maintained. The order within the group of unselected elements also remains the same.

5.4.5.30'Extras' 'Order' 'Order everything according to data flow''

This command effects all elements. The order of execution is determined by the data flow of the elements and not by their position.

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

The Editors 215

The Graphic Editors

The diagram below shows elements which have been ordered topographically. x Sequence before the ordering according to data flow

The following arrangement exists after selecting the command: x Sequence after the ordering according to data flow

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32