1MODBUS_GET_FLOAT(3) Libmodbus Manual MODBUS_GET_FLOAT(3)
2
3
4
6 modbus_get_float - get a float value
7
9 float modbus_get_float(const uint16_t *src);
10
12 The modbus_get_float() function shall get a float from 4 bytes in
13 Modbus format. The src array must be pointer on two 16 bits values, for
14 example, if the first word is set to 0x4465 and the second to 0x229a,
15 the float value read will be 916.540649.
16
18 The modbus_get_float() function shall return a float.
19
21 modbus_set_float(3)
22
24 The libmodbus documentation was written by Stéphane Raimbault
25 <stephane.raimbault@gmail.com[1]>
26
28 1. stephane.raimbault@gmail.com
29 mailto:stephane.raimbault@gmail.com
30
31
32
33libmodbus 3.0.8 07/31/2019 MODBUS_GET_FLOAT(3)