esp-idf/docs/en/api-reference/protocols/modbus.rst
2022-05-07 13:09:41 +08:00

34 lines
1.1 KiB
ReStructuredText

ESP-Modbus
==========
The Espressif ESP-Modbus Library (esp-modbus) supports Modbus communication in the networks based on RS485, Wi-Fi, Ethernet interfaces.
The ESP-IDF component `freemodbus` has been moved from ESP-IDF since version v5.0 to a separate repository:
* `ESP-Modbus component on GitHub <https://github.com/espressif/esp-modbus>`__
Hosted Documentation
--------------------
The documentation can be found on the link below:
* `ESP-Modbus documentation (English) <https://docs.espressif.com/projects/esp-modbus>`__
Application Example
-------------------
The examples below demonstrate the ESP-Modbus library of serial, TCP ports for slave and master implementations accordingly.
- :example:`protocols/modbus/serial/mb_slave`
- :example:`protocols/modbus/serial/mb_master`
- :example:`protocols/modbus/tcp/mb_tcp_slave`
- :example:`protocols/modbus/tcp/mb_tcp_master`
Please refer to the specific example README.md for details.
Protocol References
-------------------
- ``https://modbus.org/specs.php``: Modbus Organization with protocol specifications.