ESP32 MODBUS协议栈
Moderator: ESP_Bob
ESP32 MODBUS协议栈
ESP32 MODBUS协议栈如何让MODBUS TCP和MODBUS RTU可以同时使用?单独开任务均可执行,但同时开任务就只能执行其中一个?请问应该怎么做呢?
Re: ESP32 MODBUS协议栈
在IDF 4.3中freemodbus组件是否支持多从机多接口类型访问?
-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: ESP32 MODBUS协议栈
@YONGWONG,
Unfortunately the ESP_Modbus currently does not support multi master or multi slave communication in one device.
It is possible to install one Modbus slave and one Modbus master simultaneously in one device (the fix is not merged, requires patch to apply). The fix is merged and will be available in github commit 59444334249d4940b59795c8e0df779ec25333bd.
The serial master and slave have been tested and work well simultaneously. The Modbus TCP Slave + RTU Master is not tested enough but it is possible to implement.
The Modbus RTU over TCP support is not yet implemented (is in progress).
Unfortunately the ESP_Modbus currently does not support multi master or multi slave communication in one device.
It is possible to install one Modbus slave and one Modbus master simultaneously in one device (the fix is not merged, requires patch to apply). The fix is merged and will be available in github commit 59444334249d4940b59795c8e0df779ec25333bd.
The serial master and slave have been tested and work well simultaneously. The Modbus TCP Slave + RTU Master is not tested enough but it is possible to implement.
The Modbus RTU over TCP support is not yet implemented (is in progress).
Last edited by ESP_alisitsyn on Mon Aug 16, 2021 12:07 pm, edited 1 time in total.
-
- Posts: 97
- Joined: Mon Jun 28, 2021 12:48 pm
Re: ESP32 MODBUS协议栈
您好,目前不支持多从机的功能。该功能正在内部评估开发中,请您关注相关进展。
谢谢。
谢谢。
-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: ESP32 MODBUS协议栈
Hello @sjdczw,
Support of multi-master and multi-slave Modbus is not ready.
Support of multi-master and multi-slave Modbus is not ready.
Who is online
Users browsing this forum: No registered users and 48 guests