1MODBUS_SET_FLOAT(3)            Libmodbus Manual            MODBUS_SET_FLOAT(3)
2
3
4

NAME

6       modbus_set_float - set a float value
7

SYNOPSIS

9       void modbus_set_float(float f, uint16_t *dest);
10

DESCRIPTION

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

RETURN VALUE

17       The is no return values.
18

SEE ALSO

20       modbus_set_float(3)
21

AUTHORS

23       The libmodbus documentation was written by Stéphane Raimbault
24       <stephane.raimbault@gmail.com[1]>
25

NOTES

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)
Impressum