Automation Professionals' Advanced Modbus Driver

Another pair of release candidates. I was playing with an Automation Direct P1000’s RS485 port this past week and discovered another CRC bug. ):

In my prior testing, I was using registers that were steadily counting. The bug I found was that a CRC with bit 15 set was erroneously sign-extended to 32 bits, and then rejected. But the register was changing fast enough the half that were getting through were hiding the half that were being discarded.

RTU must not be very popular with any of y’all, as no-one else noticed. /:

Anyways:

For v7.9: here.

For v8.1 here.

Edit: Darn it! Server mode had the same problem.
Edit2: Removed links. See below.

1 Like