modbus.rst 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. ESP-Modbus
  2. ==========
  3. :link_to_translation:`zh_CN:[中文]`
  4. The Espressif ESP-Modbus Library (esp-modbus) supports Modbus communication in the networks based on RS485, Wi-Fi, and Ethernet interfaces.
  5. Since ESP-IDF version v5.0, the component ``freemodbus`` has been moved from ESP-IDF to a separate repository:
  6. * `ESP-Modbus component on GitHub <https://github.com/espressif/esp-modbus>`__
  7. Hosted Documentation
  8. --------------------
  9. The documentation can be found through the link below:
  10. * `ESP-Modbus documentation (English) <https://docs.espressif.com/projects/esp-modbus>`__
  11. Application Example
  12. -------------------
  13. The examples below demonstrate the ESP-Modbus library of serial and TCP ports for both slave and master implementations respectively.
  14. - :example:`protocols/modbus/serial/mb_slave`
  15. - :example:`protocols/modbus/serial/mb_master`
  16. - :example:`protocols/modbus/tcp/mb_tcp_slave`
  17. - :example:`protocols/modbus/tcp/mb_tcp_master`
  18. Please refer to the ``README.md`` documents of each specific example for details.
  19. Protocol References
  20. -------------------
  21. - For the detailed protocol specifications, see `The Modbus Organization <https://modbus.org/specs.php>`_.