_control VAR END_VAR ; PROGRAM PLC_PRG VAR END
%QW0 : INT ; END [...] #12; END_IF CASE g [...] #9; END_CASE での
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