Infosys在阅读器中打开 / AI 翻译

PLC Control · 0 次阅读

Accessing variables for arrays, structures and POUs

Two-dimensional array components can be accessed using the following syntax:

<Fieldname>[Index1, Index2]

Structure variables can be accessed using the following syntax:

<Structurename>.<Variablenname>

Function block and program variables can be accessed using the following syntax:

<Functionblockname>.<Variablename>