is a POINTER TO FB [...] 1 功能块不会产生错误: //iInputVal is a VAR_INPUT of
1 : INT VAR_INPUT a,b [...] 1 : INT VAR_INPUT a,b [...] _BLOCK FB1 VAR_INPUT b
接口的声明 检测声明 REFERENCE TO [...] REFERENCE TO ) 理由:接口 [...] 项目中定义的接口。 FUNCTION_BLOCK POU VAR_INPUT
_Test VAR_INPUT refTeststruct: REFERENCE TO TESTSTRUCT
FB_Init : BOOL VAR_INPUT [...] _MyInit : DINT VAR_INPUT END [...] ; //access to member of FB
_Test VAR_INPUT pTeststruct : POINTER TO TESTSTRUCT
PROGRAM PLC_PRG VAR_INPUT [...] _iTest : REFERENCE TO INT; END
: POINTER TO <basic type> 参考: REFERENCE TO [...] 3 : REFERENCE TO INT; i
//Declaration VAR_INPUT b [...] : POINTER TO INT; y : INT [...] ; FOR i := 0 TO 5 DO