README 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. ==================
  2. A groovy libmodbus
  3. ==================
  4. Overview
  5. ========
  6. libmodbus is a free software library to send/receive data with a
  7. device which respects the Modbus protocol. This library can use a
  8. serial port or an Ethernet connection.
  9. The functions included in the library have been derived from the
  10. Modicon Modbus Protocol Reference Guide which can be obtained from
  11. Schneider at www.schneiderautomation.com.
  12. The license of libmodbus is LGPL v3.
  13. The licence of programs in the tests directory is GPL v3.
  14. https://launchpad.net/libmodbus
  15. http://copyleft.free.fr/wordpress/index.php/libmodbus/
  16. Installation
  17. ============
  18. WARNING, don't use the two build systems at the same time.
  19. With autotools
  20. --------------
  21. The shell commands are './configure; make; make install'.
  22. With Waf
  23. --------
  24. The build system is Waf (http://code.google.com/p/waf), the shell commandes are:
  25. $ ./waf configure
  26. $ ./waf build
  27. $ sudo ./waf install
  28. or 'waf' if you use a global Waf script.
  29. The sources are built in the 'build' directory at the root of the
  30. project source files.
  31. Testing
  32. =======
  33. Some testing programs are provided in the tests directory, you can
  34. freely edit the source code to fit your needs (it's Free Sofware :).
  35. See tests/README for a description of each program.