Modbus CRC subroutine

R

Thread Starter

Robert Berg

Mudassir's elegant Visual Basic subroutine for calculating the CRC (See http://www.control.com/thread/1026225391#1026225658 - moderator) seemed to be just what I needed to talk to my new temperature controller. Unfortunately, the subroutine's output disagrees with 5 of the 12 examples in the controller manual. For each of the unsuccessful examples, the expected decimal CRC value was greater than 2^14. Should the subroutine be able to handle such large CRC values?
 
Top