Temp1 : BYTE; END_VAR WHILE [...] Temp1 + 1; END_WHILE での
_control VAR END_VAR ; PROGRAM PLC_PRG VAR END
TestVar: BYTE; END_VAR WHILE [...] TestVar + 1; END_WHILE での
Test: BYTE; END_VAR // SA [...] Test - 1; END_WHILE での
_TEMP iIndex : INT; END [...] Index - INT#1; END_FOR での
; END_VAR FOR i [...] Index] := 0; END_FOR での
; END [...] Val2 + 1; END_IF dw
; END_VAR iVar := 0 [...] counter*) END [...] *) END_IF このセクションの内容 :
_INPUT bTest : BOOL; END [...] RETURN; END_IF FUN
; iIn2: INT; END [...] ; END_VAR iOut1 := i