Engee documentation

Modbus Bytes to single

Page in progress.

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

modbus bytes to single ru

Description

The block 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.

Ports

Input

Bytes -. a pair of integers (UInt16) to convert to a floating point number
scalar

Output

Single - result of conversion as a floating point number (Float32)
scalar

Parameters

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