Standard function blocks
360
REALn_TO_DINT_SIMP
(10028)
Illustration
Execution time
5.54 µs
Operation
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:
Example (from REAL to DINT):
When I = 2.04998779297and SCALE = 100, O = 204.
Inputs
The input data type is selected by the user.
Input (I): REAL, REAL24
Scale input (SCALE): DINT
Outputs
Output (O): DINT
Error output (ERRC): DINT
REALn_TO_DINT_SIMP
(REAL)
92
TLA1 1 msec
(1)
I
SCALE
O
O(92)
ERRC
ERRC(92)
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.
Summary of Contents for ACSM1 Series
Page 1: ...ABB motion control drives Firmware manual ACSM1 motion control program ...
Page 4: ......
Page 34: ...Drive programming using PC tools 34 ...
Page 86: ...Drive control and features 86 ...
Page 265: ...Parameters and firmware blocks 265 1 100 us 100 µs 2 1 ms 1 ms 3 50 ms 50 ms ...
Page 302: ...Parameter data 302 ...
Page 422: ...Application program template 422 ...
Page 430: ...Appendix A Fieldbus control 430 ...
Page 500: ...Appendix D Application examples 500 ...
Page 508: ...Appendix E Control chain and drive logic diagrams 508 ...
Page 510: ...3AFE68848270 REV H EN 2015 06 26 Contact us www abb com drives www abb com drivespartners ...