Modbus Single to bytes
Create 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
The Modbus Single to bytes block 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 conversion it is possible to set byte order in the final vector.
Parameters
Параметры:
#
Порядок байтов: —
byte order
ABCD
| BADC
| CDAB
| DCBA
Details
Values |
|
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |