1MODBUS_SET_FLOAT_DCB(3) libmodbus Manual MODBUS_SET_FLOAT_DCB(3)
2
3
4
6 modbus_set_float_dcba - set a float value in 2 registers using DCBA
7 byte order
8
10 void modbus_set_float_dcba(float f, uint16_t *dest);
11
13 The modbus_set_float_dcba() function shall set a float to 4 bytes in
14 inverted Modbus format (DCBA order). The dest array must be pointer on
15 two 16 bits values to be able to store the full result of the
16 conversion.
17
19 There is no return values.
20
22 modbus_get_float_dcba(3) modbus_set_float(3) modbus_get_float(3)
23
25 The libmodbus documentation was written by Stéphane Raimbault
26 <stephane.raimbault@gmail.com>
27
28
29
30libmodbus v3.1.6 01/19/2023 MODBUS_SET_FLOAT_DCB(3)