Var); siVar := BYTE_TO_SINT [...] Var := INT_TO_WORD(iVar); lwVar := SINT_TO
Var := LINT_TO_SINT(li [...] Var := DWORD_TO_SINT(dw [...] PROGRAM SA0133 VAR siVar:SINT
_VAR //Implementation FUN := LREAL_TO_INT [...] 1 : INT VAR_INPUT a,b : INT; END_VAR VAR c
Temp1 : INT; diTemp3 : DINT [...] ; siTemp5 : SINT
Variable : POINTER TO POINTER TO INT; 前缀 p 为数 [...] 据类型定义 INT . 静态
PROGRAM PLC_PRG VAR i:INT; iBorder1: INT := 10; iBorder2: INT
Var1:POINTER TO INT; ptiVar2:POINTER TO INT; ptiVar3:POINTER TO INT; iVar:INT
: POINTER TO INT; byte [...] 到“POINTER TO INT”指针 [...] 可能意外地导致意外访问。如果您指定一个 POINTER TO
例 96 . 例子 VAR ref_int : REFERENCE TO INT; ref [...] 类型变量 REFERENCE TO 理由:IEC 61131
3 : REFERENCE TO INT; i [...] 8 : REFERENCE TO INT; var [...] : POINTER TO <basic type