Standard function blocks
245
DINT_TO_REALn_SIMP
(10022)
Illustration
Execution time
6.53 µs
Operation
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:
Example (from DINT to REAL24):
When I = 205 and SCALE = 100, I/SCALE = 205 /100 = 2.05 and O = 2.04999.
Inputs
Input (I): DINT
Scale input (SCALE): DINT
Outputs
The output data type is selected by the user.
Output (O): REAL, REAL24
Error output (ERRC): DINT
DINT_TO_REALn_SIMP
(REAL)
86
TLA1 1 msec
(1)
I
SCALE
O
O(86)
ERRC
ERRC(86)
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.
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: ......