类型 Boolean BOOL Byte BYTE SByte SINT Int16 INT UInt16 UINT INT
CODESYS Development System
上限 记忆 BYTE 0 255 8 [...] 255 8 位 INT -32768
CODESYS Development System
] OF BOOL; b: INT [...] [0..7] OF BYTE; i : INT; dwAdr : DWORD
(Motorola byte order [...] _REAL REAL , LREAL ANY_INT [...] , SINT , INT , DINT
CODESYS Development System
Counter : INT := 0; // Counts [...] ..2] OF INT := [0 [...] 类型 初始化 描述 Byte
CODESYS Development System
INT 到 BYTE 或来自 DINT [...] | BYTE | DATE | DATE [...] | INT | LDATE | LDATE
Var3 : INT; END [...] Var3 : INT; // SA0013 END [...] Var3 + INT#2; iVar3 := GVL
; TYPE_BYTE := DWORD#2 [...] _SINT := DWORD#6 ; TYPE_INT
reserved f reserved BYTE [...] USINT 0 255 8 usi INT [...] ] OF BYTE ; END
CODESYS Development System
.001) TRUE BOOL TO_BYTE [...] TO_INT TO_INT(4.22) TO_INT(123.4) 4