PROGRAM PLC_PRG VAR in
PROGRAM PLC_PRG VAR i
_TYPE PROGRAM PLC_PRG VAR my
PLC_PRG VAR i
PLC_PRG VAR p
PROGRAM PLC_PRG VAR r
PLC_PRG VAR
VarGlob:INT; END_VAR PROGRAM PLC_PRG
_VAR PROGRAM PLC_PRG IF g
. 例子 PROGRAM PLC_PRG