Search found 203 matches
- Wed Nov 30, 2022 8:03 am
- Forum: ESP-IDF
- Topic: Modbus RTU + TCP Master
- Replies: 5
- Views: 5451
Re: Modbus RTU + TCP Master
This is not possible yet.
- Mon Nov 07, 2022 9:05 am
- Forum: ESP-IDF
- Topic: Modbus Master Crashes: assert failed: xMBMasterRTUReceiveFSM mbrtu_m.c:235
- Replies: 2
- Views: 1030
Re: Modbus Master Crashes: assert failed: xMBMasterRTUReceiveFSM mbrtu_m.c:235
Hello Michael.Uray, As I understand you use the freemodbus component from esp-idf v4.4. Unfortunately this component will not work with the configuration used in your application because your other tasks blocks the normal processing of modbus tasks. Please try to fix this using the instruction below...
- Thu Oct 20, 2022 8:08 am
- Forum: ESP-IDF
- Topic: how to run Modbus RTU On ESP IDF
- Replies: 9
- Views: 8739
Re: how to run Modbus RTU On ESP IDF
Hi Cacomixtle, There are several variants to do this. The most simple way is to use the function : https://github.com/espressif/esp-modbus/blob/master/freemodbus/common/esp_modbus_master.c#L83 in your code and fill the request structure with the modbus command 6 (`mb_param_request_t`). It is possibl...
- Wed Sep 14, 2022 8:19 am
- Forum: ESP-IDF
- Topic: Modbus TCP Slave + W5500 static IP information
- Replies: 9
- Views: 6422
Re: Modbus TCP Slave + W5500 static IP information
Hi Silvesterrr,
Have you been able to solve your issue here https://github.com/espressif/esp-idf/issues/9714 ?
Have you been able to solve your issue here https://github.com/espressif/esp-idf/issues/9714 ?
- Mon Sep 05, 2022 9:42 am
- Forum: ESP-IDF 中文讨论版
- Topic: Modbus slave写入时,限制值的范围问题
- Replies: 1
- Views: 1004
Re: Modbus slave写入时,限制值的范围问题
luodandhh ,
Could you provide more information for your issue?
Thanks.
Could you provide more information for your issue?
Thanks.
- Mon Sep 05, 2022 9:39 am
- Forum: ESP-IDF
- Topic: ESP-IDF Modbus Serial protocol implementation [mb_param_type_t]
- Replies: 1
- Views: 1147
Re: ESP-IDF Modbus Serial protocol implementation [mb_param_type_t]
Hello, Vidit Patel, The ESP_MODBUS supports the standard function codes: https://github.com/espressif/esp-modbus/blob/master/freemodbus/modbus/include/mbproto.h#L49 The defines you showed are used as the object dictionary attributes. For more information on how to configure ESP_MODBUS see the docume...
- Mon Sep 05, 2022 9:11 am
- Forum: ESP-IDF
- Topic: Modbus TCP enc28j60 communication problem
- Replies: 1
- Views: 1396
- Fri Jul 22, 2022 8:52 am
- Forum: General Discussion
- Topic: MODBUS RTU reading
- Replies: 4
- Views: 2515
Re: MODBUS RTU reading
Hello @kakarot, The problem is in enabled `Modbus stack use timer for 3.5T symbol time measurement` option but the v4.4 will not use this correctly without the patch. I recommend you to use the `esp-modbus` component from: https://www.github.com/espressif/esp-modbus In order to use `esp-modbus` comp...
- Thu Jul 21, 2022 2:23 pm
- Forum: General Discussion
- Topic: mdobus RTU serial port multiple slaves
- Replies: 1
- Views: 1189
Re: mdobus RTU serial port multiple slaves
Hello @accacca, The descriptor must contain information about all registers in all slaves that you are going to access using the Modbus read/write API. So, the description table is a map of your network segment. However, you do not need to rewrite this table each time manually. You can fill it dynam...
- Thu Jul 21, 2022 1:43 pm
- Forum: General Discussion
- Topic: MODBUS RTU reading
- Replies: 4
- Views: 2515
Re: MODBUS RTU reading
Hello @kakarot , This happens because your slave device responds right after the slave response timeout configured in the master kconfig. After response timeout, the master starts the next transaction but gets a response from the previous one due to slave processing delay. The Modbus serial protocol...