modbus_set_float man page

modbus_set_float — set a float value

Synopsis

void modbus_set_float(float f, uint16_t *dest);

Description

The modbus_set_float() function shall set a float to 4 bytes in Modbus format. The dest array must be pointer on two 16 bits values to be able to store the full result of the conversion.

Return Value

The is no return values.

See Also

modbus_set_float(3)

Authors

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

Notes

1.

stephane.raimbault@gmail.com

mailto:stephane.raimbault@gmail.com

Referenced By

libmodbus(7), modbus_get_float(3).

04/02/2014 libmodbus 3.0.6 Libmodbus Manual