Engee documentation

Modbus Single to bytes

Page in progress.

Create a vector consisting of two 16-bit integers (data type UInt16) from a single-precision floating-point number (data type Float32).

modbus single to bytes ru

Description

The 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 the byte order in the final vector.

Ports

Input

Single -. floating point number (data type Float32)
scalar

Output

Bytes - conversion result as two integers (UInt16) in the specified byte order
scalar

Parameters

Byte order - byte order
ABCD (by default) | BADC | CDAB | DCBA