_BLOCK FB_DoA VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR i
; END_VAR VAR [...] Border:INT := 10; END_VAR FOR i:=0 TO 10 DO //OK i
CASE value OF 1: DoSomething(); 2: ; 3: DoSomethingElse(); END_CASE 输出在 留言 看法
Init + 1; END_IF IF bDo [...] _INPUT bDo : BOOL; b [...] ; END_VAR VAR i
_BLOCK FB_DoA VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR i
Temp1 : BYTE; END_VAR WHILE byTemp1 <= 255 DO [...] Temp1 + 1; END_WHILE 输出
; END_VAR FOR iIndex := INT#0 TO INT#50 DO [...] Index] := 0; END_FOR 输出在 留言
Test: BYTE; END_VAR // SA0055 WHILE byTest >= 0 DO [...] Test - 1; END_WHILE 输出
TestVar: BYTE; END_VAR WHILE [...] DO byTestVar := byTestVar + 1; END_WHILE 输出
{attribute 'do-analysis [...] ; END [...] TO INT#100 BY 1 DO