PROGRAM PLC_PRG VAR pInt : POINTER TO INT; dw [...] #1; pInt := dw
Init : INT; iLocal : INT; iManual : INT
Val1: INT; iVal2: INT [...] : INT; END
_Afb VAR_INPUT iIn1: INT; iIn2: INT; END [...] Out1: INT; END
例 96 . 例子 VAR ref_int : REFERENCE TO INT; ref
Temp : POINTER TO INT; iTemp : INT; END_VAR iTemp := iTemp + INT#1; pi
Var : INT := INT#17; iTest : INT; END_VAR i
_GLOBAL g_iTemp1: INT [...] _iTemp1 := g_iTemp1 + INT#2 [...] _iTemp1 := g_iTemp1 - INT#3
CONSTANT c_iValue : INT := INT#15; END_VAR VAR [...] TO INT; END
Var : INT; xTemp : BOOL [...] Var + INT#1; //in the