Standard function blocks
244
DINT_TO_INT
(10021)
Illustration
Execution time
0.53 µs
Operation
The output (O) value is a 16-bit integer value of the 32-bit integer input (I) value.
Examples:
Inputs
Input (I): DINT
Outputs
Output (O): INT
DINT_TO_REALn
(10023)
Illustration
Execution time
7.25 µs
Operation
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.
Inputs
Input (IN1, IN2): DINT
Outputs
The output data type is selected by the user.
Output (OUT): REAL, REAL24
DINT_TO_INT
84
TLA1 1 msec
(1)
I
O
O(84)
I
(31 bits + sign)
O
(15 bits + sign)
2147483647
32767
-2147483648
-32767
0
0
DINT_TO_REALn
(REAL)
85
TLA1 1 msec
(1)
IN1
IN2
OUT
OUT(85)
Summary of Contents for ACSM1 Series
Page 1: ...ACSM1 Firmware Manual ACSM1 Speed and Torque Control Program...
Page 2: ......
Page 4: ......
Page 12: ...Table of contents 12...
Page 49: ...Drive control and features 49...
Page 282: ...Standard function blocks 282...
Page 306: ...Application program template 306...
Page 312: ...Control chain block diagrams 312...
Page 331: ...331...
Page 332: ...332...
Page 333: ......