CODESYS Development System
PLC_PRG VAR a : INT [...] : POINTER TO FB; END_VAR
CODESYS Development System
示例: PROGRAM PLC_PRG VAR test1: INT; END_VAR
CODESYS Development System
_STRING : PROGRAM PLC_PRG VAR i [...] _show_color: STRING; END_VAR i
CODESYS Development System
不允许在同一个变量列表中包含 VAR_GLOBAL 和 VAR
CODESYS Development System
PLC_PRG VAR mydut [...] ; END_VAR nTest:= i
CODESYS Development System
_TYPE PROGRAM PLC_PRG VAR uStringExt : U_StringExt; END_VAR
CODESYS Development System
PLC_PRG VAR value : INT; END_VAR value
CODESYS Development System
_BLOCK FB_A VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR iA : INT; END_VAR
CODESYS Development System
shr_st VAR in [...] ; END_VAR erg
CODESYS Development System
示例: PROGRAM PLC_PRG VAR ptr [...] : DWORD; END_VAR dw