PROGRAM PLC_PRG VAR dw [...] ; END_VAR
PROGRAM PLC_PRG VAR i [...] ; END_VAR i
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
示例: PROGRAM PLC_PRG VAR test1: INT; END_VAR
CODESYS Development System
不允许在同一个变量列表中包含 VAR_GLOBAL 和 VAR
CODESYS Development System
_BLOCK FB_A VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR iA : INT; END_VAR
. 输入 (VAR_INPUT) 名称 [...] (VAR_OUTPUT) 名称 数据
CODESYS Development System
shr_st VAR in [...] ; END_VAR erg