Modbus plugin bug

If you think you've found a bug post it here.

Modbus plugin bug

Postby A_Camera » Sun Nov 27, 2016 5:13 pm

Hi Balázs,
It seems that there is still one bug in the Modbus plugin. Regardless how the Retry count is set up in the Connection setting window the number of retry remains the same. If set higher than three (default value) it is always four times, if I set it to only 1 it is also resent four times if the VFD is not able to process and won't send a reply in time. My settings are:

Serial RTU
COM6
38400 bps
8N1
Retry count: 0,1,2,3,5 and 10 tested
Timeout: 75ms
Loop interval: 20ms

Tested many other values also but it makes no difference for the behaviour. I would like to keep the number of retry as low as possible, preferably zero, since the messages are sent in a loop anyway, so if one message does not get answered it can be ignored since it will be resent when the next loop starts.

Ignore this if it is too much trouble to correct it, since it is no big deal, but never the less it is a bug and I thought I report it.
A_Camera
 
Posts: 638
Joined: Tue Sep 20, 2016 11:37 am

Re: Modbus plugin bug

Postby cncdrive » Sun Nov 27, 2016 6:43 pm

I think I fixed it, please try the attached plugin .dll
Attachments
Modbusmaster.dll
(94.5 KiB) Downloaded 705 times
cncdrive
Site Admin
 
Posts: 4695
Joined: Tue Aug 12, 2014 11:17 pm

Re: Modbus plugin bug

Postby A_Camera » Sun Nov 27, 2016 7:10 pm

cncdrive wrote:I think I fixed it, please try the attached plugin .dll

This was really quick... :)

Thank! Tested and it works as expected now.
A_Camera
 
Posts: 638
Joined: Tue Sep 20, 2016 11:37 am


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 8 guests