Here's my 7.1.1 version of the PCCC routines. There's one difference in the way I come up with the first ID code (in the "CPF" protion of the frame) from the tick count. Siva divides by 2^16 and takes the remainder so this should be the same as the lower Word of the tick count, but I couldn't get that to work so used the high Word instead and it works fine. I'm not sure why there's a difference.
Have fun!
QUOTE(daviid @ Jan 9 2008, 09:53 AM)