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

204 The Editors

The Graphic Editors

5.4.5 The Continuous Function Chart Editor (CFC)

It looks like a block which has been produced using the continuous function chart editor (CFC):

No snap grid is used for the continuous function chart editor so the elements can be placed anywhere. Elements of the sequential processing list include boxes, input, output, jump, label, return and comments. The inputs and outputs of these elements can be connected by dragging a connection with the mouse. The connecting line will be drawn automatically. The shortest possible connection line is drawn taking into account existing connections. The connecting lines are automatically adjusted when the elements are moved. If the case arises where a connecting line cannot be drawn simply because of lack of space, a red line will be shown between the input and the associated output instead. This line will be converted into a connecting line just as soon as space is available.

One advantage of the continuous function chart as opposed to the usual function block diagram editor FBD is the fact that feedback paths can be inserted directly.

The most important commands can be found in the context menu

5.4.5.1 Cursor positions in the CFC

Each text is a possible cursor position. The selected text is shaded in blue and can be modified.

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

The Editors 205

The Graphic Editors

In all other cases the current cursor position is shown by a rectangle made up of points. The following is a list of all possible cursor positions with examples:

1. Trunks of the elements box, input, output, jump, label, return and comments.

2. Text fields for the elements box, input, output, jump, label, return and comments as well as text fields for connection marker

3.Inputs for the elements box, input, output, jump and return

4.Outputs for the elements box and input:

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

206 The Editors

The Graphic Editors

5.4.5.2 'Insert' 'Box' in the CFC

Symbol:

Shortcut: <Ctrl>+<B>

This command can be used to paste in operators, functions, function blocks and programs First of all, it is always inserted an "AND" operator. This can be converted by Selection and Overwrite of the text into every other operator, into every function, into every function block and every program. The input assistance serves to select the desired block from the list of supported blocks. If the new block has another minimum number of inputs, these will be attached. If the new block has a smaller highest number of inputs, the last inputs will be deleted.

5.4.5.3 ‚Insert' ‚Input' in CFC

Symbol:

Shortcut: <Ctrl> + <E>

This command is used to insert an input. The text offered "???" can be selected and replaced by a variable or constant. The input assistance can also be used here.

5.4.5.4 'Insert' 'Output'in CFC

Symbol:

Shortcut: <Ctrl>+<A>

This command is used to insert an output. The text offered "???" can be selected and replaced by a variable. The input assistance can also be used here. The value which is associated with the input of the output is allocated to this variable.

5.4.5.5 'Insert' 'Jump'in CFC

Symbol:

Shortcut: <Ctrl>+<J>

This command is used to insert a jump. The text offered "???" can be selected and replaced by the jump label to which the program should jump.

The jump label is inserted using the command 'Insert 'Label'

5.4.5.6 'Insert' 'Label' in CFC

Symbol:

Shortcut: <Ctrl>+<L>

This command is used to insert a label. The text offered "???" can be selected and replaced by the jump label. In Online mode a RETURN label for marking the end of POU is automatically inserted.

The jump is inserted using the command 'Insert 'Jump'

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

The Editors 207

The Graphic Editors

5.4.5.7 'Insert' 'Return' in CFC

Symbol:

Shortcut: <Ctrl> + <R>

This command is used to insert a RETURN command. Note that in Online mode a jump label with the name RETURN is automatically inserted in the first column and after the last element in the editor; in stepping, it is automatically jumped to before execution leaves the POU.

5.4.5.8 'Insert' 'Comment' in CFC

Symbol:

Shortcut: <Ctrl> + <K>

This command is used to insert a comment.

You obtain a new line within the comment with <Ctrl> + <Enter>.

5.4.5.9 'Insert' 'Input of box' in CFC

Shortcut: <Ctrl> + <U>

This command is used to insert an input at a box. The number of inputs is variable for many operators (e.g. ADD can have two or more inputs).

To increase the number of inputs for such an operator by one, the box itself must be selected

5.4.5.10Insert' 'In-Pin' in CFC, 'Insert' 'Out-Pin'

Symbol:

These commands are available as soon as a macro is opened for editing. They are used for inserting inor out-pins as inand outputs of the macro. They differ from the normal inand outputs of POUs by the way they are displayed and in that they have no position index.

5.4.5.11'Extras' 'Negate' in CFC

Symbol:

Shortcut: <Ctrl> + <N>

This command is used to negate inputs, outputs, jumps or RETURN commands. The symbol for the negation is a small cross on the connection.

The input of the element block, output, jump or return is negated when it is selected.

The output of the element block or input is negated when it is selected (Cursor position 4).

A negation can be deleted by negating again.

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