Hi,
I want to use ModBus TCP Master and I got a trouble at mbc_master_start(). I get always an Exception.
I think everything alright until to start the master. I made some status log too. Everything was configured as you can see on the attachment.
I tested with idf 4.3 and idf 4.3.1 an a got the same problem.
Could you help me somebody?
Thank you in advance.
Best regards,
Botond
ModBus TCP Exception at master start
ModBus TCP Exception at master start
- Attachments
-
- code
- code.PNG (46.33 KiB) Viewed 5957 times
-
- Error MSG
- modbus.PNG (32.63 KiB) Viewed 5957 times
-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: ModBus TCP Exception at master start
Hi B.Botond,
Please add the end of table condition to the address table (NULL).
Please add the end of table condition to the address table (NULL).
Code: Select all
char* slave_ip_address_table[] = {
"192.168.3.40",
NULL
};
Re: ModBus TCP Exception at master start
Hi ESP_alisitsyn
Thank you very much, now the master is working.
Best regards, Botond
Thank you very much, now the master is working.
Best regards, Botond
-
- Posts: 211
- Joined: Fri Feb 01, 2019 4:02 pm
- Contact:
Re: ModBus TCP Exception at master start
Hi Botond,
It is good to hear it works now. Good luck with your project!
It is good to hear it works now. Good luck with your project!
Who is online
Users browsing this forum: Bing [Bot] and 146 guests