Search found 203 matches

by ESP_alisitsyn
Thu Mar 21, 2024 5:44 pm
Forum: ESP-IDF
Topic: Modbus Serial Master example results in runtime error
Replies: 1
Views: 2175

Re: Modbus Serial Master example results in runtime error

Hi @ shubhs156,

This is not related to Modbus library but in the system library. This has been already fixed.
by ESP_alisitsyn
Fri Dec 15, 2023 10:56 am
Forum: ESP-IDF 中文讨论版
Topic: ESP-32 C3官方例程modbus-master缺少头文件
Replies: 1
Views: 14727

Re: ESP-32 C3官方例程modbus-master缺少头文件

The esp-modbus official example uses common structures for saving the modbus parameters for master and slave. https://github.com/espressif/esp-idf/blob/master/examples/protocols/modbus/serial/mb_master/main/idf_component.yml#L5 Also, the example has the dependency with other esp-modbus components (e...
by ESP_alisitsyn
Thu Nov 23, 2023 12:42 pm
Forum: Hardware
Topic: ESP32 Modbus RS485 sensor not responding
Replies: 5
Views: 1816

Re: ESP32 Modbus RS485 sensor not responding

Hello yasmineK, Thank you for the information. You can use the modbus master example here: https://github.com/espressif/esp-idf/tree/master/examples/protocols/modbus/serial/mb_master to communicate with your device using RTU mode. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-start...
by ESP_alisitsyn
Thu Nov 23, 2023 10:02 am
Forum: Hardware
Topic: ESP32 Modbus RS485 sensor not responding
Replies: 5
Views: 1816

Re: ESP32 Modbus RS485 sensor not responding

Hello yasmineK, Thank you for the information. You can use the modbus master example here: https://github.com/espressif/esp-idf/tree/master/examples/protocols/modbus/serial/mb_master to communicate with your device using RTU mode. https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-start...
by ESP_alisitsyn
Thu Nov 23, 2023 9:20 am
Forum: General Discussion
Topic: Unable to get parameter response using MODBUS RTU
Replies: 1
Views: 1000

Re: Unable to get parameter response using MODBUS RTU

@ Kirti_Lalwani10, What kind of slave device you are using with master? The error messages says that your device reports failure or sends incorrect response to request from master. Also, please send the communication log that will allow to recognize what is the reason for the errors. As an alternati...
by ESP_alisitsyn
Mon Nov 13, 2023 6:59 pm
Forum: ESP-IDF
Topic: TCP modbus slave example with ESP32-POE-ISO in idf 4.4
Replies: 1
Views: 521

Re: TCP modbus slave example with ESP32-POE-ISO in idf 4.4

Hi, The issue is related to your Ethernet interface configuration. The driver can not recognize your Ethernet chip ID. This is usually related to pin configuration of the interface and as well as its clock source. Please check clock source used by your board. The clock source can be from external XT...
by ESP_alisitsyn
Mon Nov 13, 2023 2:05 pm
Forum: ESP-IDF
Topic: Modbus TCP Slave ID/Unit ID
Replies: 10
Views: 7435

Re: Modbus TCP Slave ID/Unit ID

The first release is expected right after completion of testing stage. Some date after start of new year.
by ESP_alisitsyn
Mon Nov 13, 2023 1:53 pm
Forum: Hardware
Topic: ESP32 Modbus RS485 sensor not responding
Replies: 5
Views: 1816

Re: ESP32 Modbus RS485 sensor not responding

Hello, Do you have the name of sensor and the Modbus protocol mapping table or the manual for this sensor? If not, it will be very difficult to get the information. Please provide more information and I will try to help you to configure the device with esp-modbus. Also please describe you interface ...