_PRG(); FUNCTION_BLOCK AFB VAR_INPUT [...] Local + 1; FUNCTION_BLOCK [...] METH : INT VAR_INPUT
function block name VAR_INPUT [...] 命名约定编码 FUNCTION_BLOCK FB_A VAR_INPUT [...] ) 代码 FUNCTION_BLOCK
'} deactivated FUNCTION_BLOCK FB_DoA VAR_INPUT [...] '} FUNCTION_BLOCK FB
'} Deactivated FUNCTION_BLOCK FB_DoA VAR_INPUT [...] '} FUNCTION_BLOCK FB
FUNCTION_BLOCK FB VAR_INPUT [...] FUNCTION_BLOCK FB VAR_INPUT [...] ); //Declaration FB1 FUNCTION_BLOCK
_A.Meth_MyInit . FUNCTION_BLOCK FB_A VAR [...] ; END_VAR FUNCTION_BLOCK [...] FB_Init : BOOL VAR_INPUT
_IN_OUT 变量。 FUNCTION_BLOCK FB1 VAR_INPUT x [...] 是否有定义数量的输入变量 ( VAR_INPUT ), 输出
_TYPE FUNCTION_BLOCK FB_Test VAR_INPUT ref
_TYPE FUNCTION_BLOCK FB_Test VAR_INPUT p
FUNCTION_BLOCK FB_Afb VAR_INPUT iIn1: INT