必须作为 REAL 手术: lreal_var [...] PROGRAM PLC_PRG VAR rX : LREAL; dI : DINT; END_VAR
PLC_PRG VAR byTemp1 : BYTE; END_VAR WHILE
PROGRAM PLC_PRG VAR p [...] Address : DWORD; END_VAR dw
PLC_PRG VAR aoby [...] BYTE; END_VAR aoby
PROGRAM Test VAR_TEMP i [...] ; END_VAR FOR i
FUNCTION FUN : DINT VAR_INPUT bTest : BOOL; END_VAR
PROGRAM PLC_PRG VAR x [...] ; END_VAR x
PROGRAM PLC_PRG VAR_TEMP iIndex : INT; END_VAR
PLC_PRG VAR byTest: BYTE; END_VAR // SA
PROGRAM PLC_PRG VAR by [...] ; END_VAR by