_Test VAR_INPUT ref [...] ; END_VAR VAR x [...] Teststruct.xA; //SA0125 END_VAR x
_Test VAR_INPUT p [...] ; END_VAR VAR x [...] Teststruct^.xA; //SA0124 END_VAR
FUNCTION FUN : DINT VAR_INPUT bTest : BOOL; END_VAR
_Test VAR bParameter: BOOL; END_VAR METHOD Call : BOOL VAR_INPUT
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END_VAR VAR_OUTPUT i
项目中定义的接口。 FUNCTION_BLOCK POU VAR_INPUT inst_itf2 : ITF; END_VAR [...] 接口和声明 VAR
FUNCTION FUNA : BOOL VAR_INPUT [...] ; END_VAR VAR i [...] ; END_VAR IF b
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END_VAR VAR_OUTPUT i
PROGRAM PLC_PRG VAR_INPUT [...] _iTest : REFERENCE TO INT; END_VAR
VAR_INPUT bTest : BOOL; END_VAR IF b