modbus_set_float.txt 592 B

1234567891011121314151617181920212223242526272829303132333435
  1. modbus_set_float(3)
  2. ===================
  3. NAME
  4. ----
  5. modbus_set_float - set a float value
  6. SYNOPSIS
  7. --------
  8. *void modbus_set_float(float 'f', uint16_t *'dest');*
  9. DESCRIPTION
  10. -----------
  11. The _modbus_set_float()_ function shall set a float to 4 bytes in Modbus
  12. format. The 'dest' array must be pointer on two 16 bits values to be able to
  13. store the full result of the conversion.
  14. RETURN VALUE
  15. ------------
  16. The is no return values.
  17. SEE ALSO
  18. --------
  19. linkmb:modbus_set_float[3]
  20. AUTHORS
  21. -------
  22. The libmodbus documentation was written by Stéphane Raimbault
  23. <stephane.raimbault@gmail.com>