//Declaration PLC_PRG PROGRAM PLC_PRG VAR my [...] ; もし PLC_PRG タス
PROGRAM PLC_PRG VAR xReturn_Before_End: BOOL; xContinue_In [...] ; END_VAR xContinue_In
PROGRAM PLC_PRG VAR in [...] #01000101 in_word : WORD [...] #0000000001000101 in_uint : UINT
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END [...] _VAR PROGRAM PLC_PRG VAR fb
_VAR PROGRAM PLC_PRG VAR_INPUT xVarIn1 : BOOL; xVarIn [...] _xGlob := xVarIn1; INT#2: g
PROGRAM PLC_PRG VAR uiTemp : UINT; TempVarInFUNC : DWORD; END_VAR TempVarIn
_INPUT bIn : BOOL; VAR [...] _VA ; PROGRAM PLC_PRG VAR bValue :BOOl; END_VAR Fun1(bIn
FUNCTION TempVarIn [...] Temp : UINT; END_VAR TempVarIn [...] 0021 PROGRAM PLC_PRG VAR dw
_INPUT iVar_fb1in1 : INT; ivar_fb1in2 : INT; rVar_fb1in [...] _VAR iVar_fb1out:=iVar_fb1in
ターフェースと宣言 VAR_IN_OUT -イン [...] _itf3 : ITF; END_VAR VAR_IN [...] _VAR PROGRAM PLC_PRG VAR