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: EngeeFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package. equipment. |
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
Main group
#
Порядок байтов: —
byte order
ABCD | BADC | CDAB | DCBA
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта, с: — calculation step (legacy)
Details
The block performs only computational transformation of the data format and does not contain its own time logic. With the value -1 The calculation step is inherited from the model or a higher subsystem and is used formally to synchronize with the general simulation schedule, but does not affect the result of the transformation.
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
