Member Login
member
passwd
remember me on this computer.

- join now -

Search

Neat Stuff

Visit our shop for nerds in control lifestyle products.

Cool stuff
Select a topic of interest:
...and press:
Fortune
Sho' they got to have it against the law. Shoot, ever'body git high,
they wouldn't be nobody git up and feed the chickens. Hee-hee.
-- Terry Southern
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
from the Automation List department...
Checksum byte calculating???
Communications topic
advertisement
Posted by de_staco on 10 January, 2008 - 12:52 am
Hi!

I have a device that communicates with the computer, serial, and it uses checksum byte.

One of the commands it sends is:

"0x04 ,0x82 ,0x80 ,0x0C ,0x14 ,0x03 ,0xB0 ,0x01 ,0x12 ,0x10 ,0x03 ,0xAD"

Checksum byte is 0xAD but l can't calculate CRC byte.

Anyone have ideas? I don't know what to do!!

Thank you in advance.

Posted by Mark on 10 January, 2008 - 1:30 am
Hello,

That is the byte stream you are receiving but you must know the protocol that is in use to determine which bytes need to be included or excluded from the checksum.

Good luck,

Mark
www.peakhim.com

Posted by Fred Loveless on 11 January, 2008 - 10:56 pm
I evalute a lot of protocols for our UCON driver. You really need the protocol document for the device. it will have a description of the checksum calculation.

If you can tell us the make and model of the device someone in the forum may have worked with it before.

Fred Loveless
Support Manager
Kepware Technologies
http://www.kepware.com

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, PostgreSQL and Apache. Be happy.

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!