1MODBUS_SET_FLOAT(3) Libmodbus Manual MODBUS_SET_FLOAT(3)
2
3
4
6 modbus_set_float - set a float value
7
9 void modbus_set_float(float f, uint16_t *dest);
10
12 The modbus_set_float() function shall set a float to 4 bytes in Modbus
13 format. The dest array must be pointer on two 16 bits values to be able
14 to store the full result of the conversion.
15
17 The is no return values.
18
20 modbus_set_float(3)
21
23 The libmodbus documentation was written by Stéphane Raimbault
24 <stephane.raimbault@gmail.com[1]>
25
27 1. stephane.raimbault@gmail.com
28 mailto:stephane.raimbault@gmail.com
29
30
31
32libmodbus 3.0.8 07/31/2019 MODBUS_SET_FLOAT(3)