PROGRAM PLC_PRG VAR in [...] #01000101 in_word : WORD [...] #0000000001000101 in_uint : UINT
变量 ( VAR_OUTPUT ) 或者 VAR_IN [...] ,您定义了最大数量的 1 为了 VAR_IN [...] _BLOCK FB1 VAR_INPUT xIn
_INPUT xVarIn1 : BOOL; xVarIn [...] _xGlob := xVarIn1; INT#2: g_xGlob := xVarIn2; ELSE g
in this POU ELSIF [...] _xVar only read in this [...] _xVar only read in this
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END [...] Afb(iIn1 := 99); 输出
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END [...] ; END_VAR iOut1 := iIn
Return_Before_End: BOOL; xContinue_In [...] ; END_VAR xContinue_In [...] ; xContinue_In
_INPUT iVar_fb1in1 : INT; ivar_fb1in2 : INT; rVar_fb1in [...] _VAR iVar_fb1out:=iVar_fb1in
FUNCTION TempVarIn [...] Temp : UINT; END_VAR TempVarIn [...] Test := TempVarInFUNC(); 输出
Temp : UINT; TempVarInFUNC : DWORD; END_VAR TempVarIn