Temp1 := TO_REAL(di [...] Temp1 := TO_REAL(di [...] Temp1 := DINT_TO_REAL(di
可能意外地导致意外访问。如果您指定一个 POINTER TO BYTE 到一个 POINTER TO [...] Int : POINTER TO INT; byte
类型变量 POINTER TO 理由:IEC 61131 [...] Temp : POINTER TO INT; pbyTemp : POINTER TO BYTE; END
类型变量 REFERENCE TO 理由:IEC 61131 [...] _int : REFERENCE TO INT; ref_dw : REFERENCE TO DWORD; END
Var := LINT_TO_SINT(li [...] Var := DINT_TO_BYTE(di [...] Var := DWORD_TO_SINT(dw
_VAR liVar := ULINT_TO [...] Var := DINT_TO_UDINT(diVar); siVar := BYTE_TO
:=0 TO 10 DO //OK i [...] :=0 TO ciBorder DO [...] ; END_FOR FOR i:=0 TO
_var := TO_LREAL(dintvar1) * TO_LREAL(dintvar [...] I // SA0020 rX := TO
接口的声明 检测声明 REFERENCE TO [...] REFERENCE TO ) 理由:接口 [...] _ref : REFERENCE TO ITF; // SA
Var1:POINTER TO INT; ptiVar2:POINTER TO INT; ptiVar3:POINTER TO INT; i