4 byte_to_int, 5 dint_to_int, 6 int_to_dint – NORD Drivesystems BU0550 User Manual
Page 42
PLC logic for NORD SK 54xE frequency inverters
42
BU 0550 GB-0813
3.4.4
BYTE_TO_INT
Converts the data type from BYTE to INT. The BYTE is copied into the Low component of the INT and the
High component of the INT is set to 0.
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 10
BYTE_TO_INT
Accu = 10
Table 55 BYTE_TO_INT
3.4.5
DINT_TO_INT
Converts the data type from DINT to INT. For DINT values which fit into the INT range, conversion is
performed with the correct sign. For all other values the High part of the DINT value is not transferred.
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD DINT# 5000
DINT_TO_INT
Akku = 5000
LD DINT# -5000
DINT_TO_INT
Accu = -5000
LD DINT# 200.000
DINT_TO_INT
Akku = 3392
Table 56 DINT_TO_INT
3.4.6
INT_TO_DINT
Converts the data type from INT to DINT. The INT is copied into the Low component of the DINT and the
High component of the DINT is set to 0.
BOOL
BYTE
INT
DINT
Possible data types
X
Commands
Explanation
LD 10
INT_TO_DINT
Accu = 10
Table 57 INT_TO_DINT