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

208 The Editors

The Graphic Editors

5.4.5.12'Extras' 'Set/Reset' in CFC

Symbol:

Shortcut: <Ctrl> + <T>

This command can only be used for selected inputs of the element output .

The symbol for Set is S and for Reset is R.

VarOut1 is set to TRUE, if VarIn1 delivers TRUE. VarOut1 retains this value, even when VarIn1 springs back to FALSE.

VarOut2 is set to FALSE, if VarIn2 delivers TRUE. VarOut2 retains this value, even when VarIn2 springs back to FALSE.

Multiple activation of this command causes the output to change between Set, Reset and the normal condition.

5.4.5.13'Extras' 'EN/ENO' in CFC

Symbol:

Shortcut: <Ctrl> + <0>

This command is used to give a selected block (Cursor position 3) an additional Boolean enable input EN (Enable In) and a Boolean output ENO (Enable Out).

ADD is only executed in this example when the Boolean variable "Bedingung" (condition) is TRUE. VarOut is also set to TRUE after ADD has been executed. ADD will not be executed when the variable "Bedingung" (condition) is FALSE and VarOut retains its value FALSE. The example below shows how the value ENO can be used for further blocks:

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

The Editors 209

The Graphic Editors

x should initialised to 1 and y initialised to 0. The numbers in the right corner of the block indicate the order in which the commands are executed.

x will be increased by one until it reaches the value 10. This causes the output of the block LT(0) to deliver the value FALSE and SUB(3) and ADD(5) will be executed. x is set back to the value 1 and y is increased by 1. LT(0) is executed again as long as x is smaller than 10. y thus count the number of times x passes though the value range 1 to 10.

5.4.5.14‚Extras' ‚Properties...' in CFC

Constant input parameters (VAR_INPUT CONSTANT) from functions and function blocks are not shown directly in the continuous function chart editor. These can be shown and their value can be changed when one selects the trunk of the block in question and then selects the command ‚Extras' ‚Properties' or simply double clicks on the trunk. The "Edit parameters" dialog opens:

x Properties dialog

The values of the constant input parameter (VAR_INPUT CONSTANT) can be changed. Here it is necessary to mark the parameter value in the column

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

210 The Editors

The Graphic Editors

Value. Another mouse click or pressing on the space bar allows this to be edited. Confirmation of the change to the value is made by pressing the <Enter> key or pressing <Escape> rejects the changes. The button OK stores all of the changes which were made.

5.4.5.15Selecting elementsin CFC

One clicks on the trunk of the element to select it.

To mark more elements one presses the <Shift> key and clicks in the elements required, one after the other, or one drags the mouse with the left hand mousekey depressed over the elements to be marked.

The command 'Extras' 'Select all' marks all elements at once.

5.4.5.16Moving elementsin CFC

One or more selected elements can be moved with the arrow keys as one is pressing on the <Shift> key. Another possibility is to move elements using a depressed left mousekey. These elements are placed by releasing the left mousekey in as far as they do not cover other elements or exceed the foreseen size of the editor. The marked element jumps back to its initial position in such cases and a warning tone sounds.

5.4.5.17Copying elementsin CFC

One or more selected elements can be copied with the command 'Edit' 'Copy' and inserted with the command 'Edit' 'Paste'.

5.4.5.18Creating connections

An input of an element can be precisely connected to the output of another element. An output of an element can be connected to the inputs of a number of other elements.

There are a number of possibilities to connect the input of an element E2 with the output of an element E1.

Place the mouse on the output of element E1, click with the left mousekey, hold the left mousekey down and drag the mouse cursor onto the input of element E2 and let the left mousekey go. A connection is made from the output of element E1 to the mouse cursor during this dragging operation with the mouse.

Place the mouse on the input of element E2, click with the left mousekey, hold the left mousekey down and drag the mouse cursor onto the output of element E1 and let the left mousekey go.

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

The Editors 211

The Graphic Editors

Move one of the elements E1 or E2 and place it in such a way by letting go of the left mousekey that the output of element E2 and the input of element E1 touch.

Where element E2 is a block with a free input, a connection can also be made by dragging the mouse from an output from E1 to the trunk of E2. A connection with the free input at the highest position on E2 will be created when the mousekey is released. In the case where block E2 does not have a free input but is an operator which can have an input added to it, a new input will be automatically generated.

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.

5.4.5.19Deleting connections

There are a number of possibilities for removing the connection between the output of an element E1 and the input of an element E2:

Select the output of element E1 and press the <Delete> key or execute the command 'Edit' 'Delete'. Several connections will be removed at the same if the output of E1 is connected to more than one of inputs.

Select the input of element E2 and press the <Delete> key or execute the command 'Edit' 'Delete'.

Select the input of E2 with the mouse, hold the left mousekey depressed and drag the connection from the input to E2 away. The connection is removed when the left mousekey is released in a free area of the screen.

5.4.5.20Changing connections

A connection between the output of an element E1 and the input of an element E2 can easily be changed into a connection between the output of element E1 and the input of element E3. The mouse is clicked on the input of E2, the left mousekey is kept depressed, the mouse cursor is moved to the input of E3 and then released.

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

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