Realn_To_Dint_Simp - ABB ACSM1 Firmware Manual

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

Advertisement

284

REALn_TO_DINT_SIMP

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

Advertisement

Table of Contents
loading

Table of Contents