CRC Check 2's Compliment

MACCI

Member
Join Date
Dec 2003
Posts
2
Don't suppose anyone has written a CRC error check using 2's compliment in BASIC for use with TI 505-7101 BASIC Programming Module.. if this even sounds remotely familiar drop me a line, and i will touch base with you with more details. Cheers. J
 
MACCI said:
Don't suppose anyone has written a CRC error check using 2's compliment in BASIC for use with TI 505-7101 BASIC Programming Module.. if this even sounds remotely familiar drop me a line, and i will touch base with you with more details. Cheers. J

The one that I think that you want is CRCC-CCITT (or CRC-CCITT) based on:
http://www.sea.siemens.com/autogen/docs/plc/505/manuals/560-8107-3.pdf


The poly that your would then want would be X16 + X12 + X5 + 1 (1021h):
http://www.aacomsystems.com/CC8110.pdf


Theory:
http://www.bbc.co.uk/rd/pubs/reports/1981-04.pdf
http://www.altera.com/literature/an/an049.pdf


Walk-through example:
http://www.joegeluso.com/software/articles/ccitt.htm


Example using a lookup table:
http://home.att.net/~jackklein/C_Unleashed/crcccitt.c


Short example (which crashed my browser. Drat, should have been doing this in Konq):
http://www.eagleairaust.com.au/code/crc16.htm


Pascal anyone? (for the Mac no less):
http://www.mactech.com/articles/mactech/Vol.09/09.04/CRC/


Forth? Ok, it's late:
http://www.forth-ev.de/VDimWeb/VD_0498/page17.htm


Try before you buy:
http://rcswww.urz.tu-dresden.de/~sr21/crc.html


On your own:
http://www.google.com/search?q=crc+ccitt&hl=en&lr=lang_en&ie=UTF-8&oe=UTF-8&start=10&sa=N


Enjoy,


John
 

Similar Topics

Hello, i am connected l&t energy meter to PLC through RS485 in tia portal v15. i was reading values in plc. my problem is how to check crc 16 in...
Replies
2
Views
1,696
Can anyone tell me how to monitor a db if the data changes? I want to restore data from the store db to destination db only if the information...
Replies
8
Views
2,043
Hello Everyone, I'm trying to communicate with the SLC500 through Serial DF1 and I'm having some difficulties: 1st: I didn't quite get the...
Replies
13
Views
4,277
Hi Am trying to get a Fx2n to communicate with a sampling machine via a Fx2n-232-BD board. The machine is Modbus RTU. Unfortunately I have run...
Replies
3
Views
1,998
Hi, I'm setting up a new cell with a Fanuc R30iB and Compact Guardlogix 5380 PLC. I have gone through my robot setup as usual, but have not...
Replies
2
Views
726
Back
Top Bottom