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

170 The Editors

Declaration Editor

b : INT; {flag off}

END_VAR

The pragma operates additively on all subsequent variable declarations.

Example: (all POUs in use will be exported with read and write permission)

a : afb;

...

FUNCTION_BLOCK afB VAR

b : bfb {flag nowrite}; c : INT;

END_VAR

...

FUNCTION_BLOCK bfB VAR

d : INT {flag noread}; e : INT {flag nowrite}; END_VAR

"a.b.d":

Will not be exported

"a.b.e":

Will be exported only with read permission

"a.c":

Will be exported with read and write permission.

5.2.21Declaration Editors in Online Mode

In online mode , the declaration editor changes into a monitor window. In each line there is a variable followed by the equal sign (=) and the value of the variable. If the variable at this point is undefined, three question marks (???) will appear. For function blocks, values are displayed only for open instances (command: 'Project' 'Open instance').

In front of every multi-element variable there is a plus sign. By pressing <Enter> or after doubleclicking on such a variable, the variable is opened up. In the example, the traffic signal structure would be opened up.

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

Соседние файлы в папке 759-332