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

The Text Editors...

5.3.2The Instruction List Editor...

This is how a POU written in the IL looks under the corresponding CoDeSys editor:

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 Chapter 2.2.1, Instruction List (IL).

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

5-20

CoDeSys V2.3

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