Jump to content

Modbus RTU on RS485 Master not processing

Recommended Posts

I am using the Modbus RTU library for Arduino for TIVA TM4c1294ncpdt.


Slave(Modbus_Slave Software on PC) is responding to master request  but master somekind does not proccess informations that he gets. So I can not regulate LED on master side over potentiometer on slave side. Also master stops sending request to slave after 10 requests sended to slave (when retry_count is set to 5). 

Problem is: 
1) master send request to slave, 
2) slave gets request 
3) slave process request, 
4) slave returns answer to master
5) master gets answer 
6) master do not process slave answer

After 5 requests (10 actually: PRESET_MULTIPLE_REGISTERS - 5 times and  READ_HOLDING_REGISTERS - 5 times), master stops sending request to slave, due to retry_count which is set to 5. If I set retry count to 5000000, it still stops sending requests.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...