TO INT; END [...] 、 BOOL , REAL )并发 [...] CONSTANT c_iValue : INT
_xTest1 : BOOL; g_iTest3 : INT [...] PUBLIC fb_init : BOOL [...] InitRetains : BOOL; (* If TRUE
Var : INT; xTemp : BOOL [...] Var + INT#1; //in the
PROGRAM PLC_PRG VAR i:INT; iBorder1: INT := 10; iBorder2: INT
_GLOBAL xVar1 : BOOL; iVar3 : INT; END [...] Var1 : BOOL; // SA0013 i
Var : INT; xTemp : BOOL [...] Var + INT#1; CASE iVar OF INT#1: x
FUNCTION FUNA : BOOL VAR_INPUT bDo : BOOL; bInit : BOOL; bManual : BOOL
Var1:POINTER TO INT; ptiVar2:POINTER TO INT; ptiVar3:POINTER TO INT; iVar:INT
0.0 : BOOL; END [...] _INPUT xVarIn1 : BOOL; xVarIn2 : BOOL; END_VAR VAR i
例 96 . 例子 VAR ref_int : REFERENCE TO INT; ref [...] 类型变量 REFERENCE TO 理由:IEC 61131