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