【原创】ESP32学习之modbus通信


what is modbus?
Modbus 是一种用于在设备与设备、设备与软件/应用程序以及设备与 HMI 之间进行通信的协议。它广泛用于工业领域以控制/监视设备。
简单来说,Modbus 是一种设备用来与其他设备、软件/应用程序和 HMI 设备进行通信的语言。

When to use and Not use Modbus?
系统复杂
系统要求可靠性高
ESP32需要与其它设备配合使用

How Modbus protocol works?

  1. Master and Slave
  2. 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.
未完待续


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM