_INPUT bDo : BOOL; bInit : BOOL; bManual : BOOL [...] ; END_VAR IF b
初始化。功能块 FB_B 来源于 FB_A . PLC_PRG 来电 FB_B 因此使用它的 mbMyDintB 变量
'} FUNCTION_BLOCK FB_DoB [...] _VAR VAR iB : INT; END_VAR iB := iB +1
'} FUNCTION_BLOCK FB_DoB [...] _VAR VAR iB : INT; END_VAR iB := iB + 1
Fun1 VAR_INPUT b [...] _OUTPUT bOut : BOOL; END_VA ; PROGRAM PLC_PRG VAR b
Analysis 为 pB 发出一条消息,因为 [...] pointA : DATAPOINT; pB [...] A.iY := 10; pB.iX := 2; pB
_Test VAR b [...] Test : FB_Test; bValue : BOOL; END_VAR b
(*评论*) = b a (*评论*) <> b 评论被保留。这尤 [...] Inversion1 VAR xA, xB, x
1 : INT VAR_INPUT a,b [...] 1 : INT VAR_INPUT a,b [...] _VAR //Implementation c := b; d := a
Condition : INT; bTemp : BOOL [...] Condition < INT#0 THEN b [...] #0 THEN bTemp := g