what is modbus?
Modbus 是一種用於在設備與設備、設備與軟件/應用程序以及設備與 HMI 之間進行通信的協議。它廣泛用於工業領域以控制/監視設備。
簡單來說,Modbus 是一種設備用來與其他設備、軟件/應用程序和 HMI 設備進行通信的語言。
When to use and Not use Modbus?
系統復雜
系統要求可靠性高
ESP32需要與其它設備配合使用
How Modbus protocol works?
- Master and Slave
- Request and Response
Fucntion Code (FC) and Address
1 byte, is the command,which tells Slave what to do.
modbus RTU/ASCll 和 Modbus TCP
three popular Modbus types:modbus RTU,modbus ASCII, and modbus TCP.
I considered that using modbus RTU/UART,ignoring modbus TCP.
未完待續