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

176 The Editors

The Text Editors

If the program is at a breakpoint, then the processing can be resumed with 'Online' 'Run'.

In addition, with 'Online' 'Step over' or 'Step in' you can cause the program to run to the next breakpoint position. If the instruction where you are located is a CAL command, or, if there is a function call in the lines up to the next breakpoint position, then you can use 'Step over' to bypass the function call. With 'Step in', you will branch to the open POU

5.3.1.12Line Number of the Text Editor

The line numbers of the text editor give the number of each text line of an implementation of a POU.

In Off-line mode, a simple click on a special line number will mark the entire text line.

In Online mode, the background color of the line number indicates the breakpoint status of every line. The standard settings for the colors are

dark gray: This line is a possible position for a breakpoint.

light blue: a breakpoint has been set in this line.

red: The program has reached this point.

In Online mode, simply clicking the mouse will change the breakpoint status of this line.

5.3.2 The Instruction List Editor

This is how a POU written in the IL looks under the corresponding WAGO- I/O-PRO 32 editor:

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

The Editors 177

The Text Editors

All editors for POUs consist of a declaration part and a body. These are separated by a screen divider.

The Instruction List editor is a text editor with the usual capabilities of Windows text editors. The most important commands are found in the context menu (right mouse button or <Ctrl>+<F10>).Multiline POU calls are also possible: Example:

CAL CTU_inst( CU:=%IX10,

PV:=(

LD A

ADD 5

)

)

For information concerning the language, see Instruction List (IL).

5.3.2.1 IL in Online mode

With the 'Online' 'Flow control' command, an additional field in which the accumulator contents is displayed is inserted in the IL editor on the left side of every line.

For further information concerning the IL editor in Online mode, see 'The Text Editors in Online Mode'.

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

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