; END_VAR VAR [...] Border:INT := 10; END_VAR FOR i:=0 TO 10 DO //OK i
_BLOCK FB_DoA VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR 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
Test: BYTE; END_VAR // SA0055 WHILE byTest >= 0 DO [...] Test - 1; END_WHILE での
Temp1 : BYTE; END_VAR WHILE byTemp1 <= 255 DO [...] Temp1 + 1; END_WHILE での
TestVar: BYTE; END_VAR WHILE [...] DO byTestVar := byTestVar + 1; END_WHILE での
; END_VAR FOR iIndex := INT#0 TO INT#50 DO [...] Index] := 0; END_FOR での
_TEMP iIndex : INT; END [...] DO iIndex := iIndex - INT#1; END_FOR での