Dint_To_Realn_Simp - ABB ACSM1 Firmware Manual

Motion control drives, speed and torque control program
Hide thumbs Also See for ACSM1:
Table of Contents

Advertisement

280

DINT_TO_REALn_SIMP

(10022)
Illustration
Execution time
Operation
Inputs
Outputs
Standard function blocks
6.53 µs
The output (O) is the REAL/REAL24 equivalent of the input (I) divided by the scale input
(SCALE).
Error codes indicated at the error output (ERRC) are as follows:
Error code
Description
0
No error
1001
The calculated REAL/REAL24 value exceeds the minimum value of
the selected data type range. The output is set to the minimum value.
1002
The calculated REAL/REAL24 value exceeds the maximum value of
the selected data type range. The output is set to the maximum
value.
1003
The SCALE input is 0. The output is set to 0.
1004
Incorrect SCALE input, i.e. the scale input is < 0 or is not a factor of
10.
Example (from DINT to REAL24):
When I = 205 and SCALE = 100, I/SCALE = 205 /100 = 2.05 and O = 2.04999.
Input (I): DINT
Scale input (SCALE): DINT
The output data type is selected by the user.
Output (O): REAL, REAL24
Error output (ERRC): DINT

Advertisement

Table of Contents
loading

Table of Contents