CODESYS Development System
示例: PROGRAM PLC_PRG VAR arr1 : INT := [1 [...] ] OF INT := [1
CODESYS Development System
INT; iLocal_1 : INT [...] [1..2] OF INT [...] : ARRAY[1..2] OF INT
CODESYS Development System
声明会发生这种情况: var1 AT %QB21: INT [...] := g_iTemp1 + INT#1 [...] := g_iTemp1 + INT#2
Condition OF INT#1: g_xGlob := xVarIn1; INT#2: g [...] _INPUT xVarIn1 : BOOL; x
CODESYS Development System
示例: PROGRAM PLC_PRG VAR arr1 : ARRAY [1..5] OF INT [...] [1..6] OF INT
TO INT#20 BY INT#1 [...] Index - INT#1; END_FOR 输出 [...] _TEMP iIndex : INT; END
_GLOBAL iGlob1 : INT; END [...] ivar : INT; END_VAR ivar := iGlob1
CODESYS Development System
'} i1 : INT [...] ' := 'group1'} i2 : INT; r [...] ' := 'general'} out1 : INT
CODESYS Development System
INT := [1,2,3]; END [...] [0..2] OF INT := [ [1,2,3], [4
Var + INT#1; CASE iVar OF INT#1: x [...] Var : INT; xTemp : BOOL