Dint_To_Int; Dint_To_Realn - ABB ACSM1 Firmware Manual

Speed and torque control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

244

DINT_TO_INT

(10021)
Illustration
Execution time
Operation
Inputs
Outputs

DINT_TO_REALn

(10023)
Illustration
Execution time
Operation
Inputs
Outputs
Standard function blocks
DINT_TO_INT
TLA1 1 msec
I
0.53 µs
The output (O) value is a 16-bit integer value of the 32-bit integer input (I) value.
Examples:
I (31 bits + sign)
2147483647
-2147483648
0
Input (I): DINT
Output (O): INT
DINT_TO_REALn
(REAL)
TLA1 1 msec
IN1
IN2
7.25 µs
The output (OUT) is the REAL/REAL24 equivalent of the input (IN). Input IN1 is the
integer value and input IN2 is the fractional value.
If one (or both) of the input values is negative, the output value is negative.
Example (from DINT to REAL):
When IN1 = 2 and IN2 = 3276, OUT = 2.04999.
The output value is limited to the maximum value of the selected data type range.
Input (IN1, IN2): DINT
The output data type is selected by the user.
Output (OUT): REAL, REAL24
84
(1)
O(84)
O
O (15 bits + sign)
32767
-32767
0
85
(1)
OUT(85)
OUT

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents