Modbus Bytes to single
Creating a single-precision floating-point number (data type Float32
) from two 16-bit integers (data type UInt16
).
blockType: CFunction
Path in the library:
|
Description
To work with the block, install/update the support package RITM blocks. |
Block Modbus Bytes to single It is used to create a single-precision floating-point number (data type Float32
) from two 16-bit integers (data type UInt16
). During the conversion, it is possible to set the byte order in the final value.
Parameters
Параметры:
#
Порядок байтов: —
byte order
ABCD
| BADC
| CDAB
| DCBA
Details
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |