Chief Lift how calculate checksum?
Kim
Junior Member
Hello All!
I have sample of command (>02001078CR). But i not understand how calculate checksum, for example if i have another adress of device or something else..
I need to write specific code i can't use standard duet module because it is write on java (we are not using duet module). So from instruction:
[PR] = Product ID (CM2 = 02)
[AD] = Address (see address description & table)
[CR] = ASCII Carriage Return
[CH] = Check Code
[ST] = Status (see status table)
How calculate CH?
Thanks!
I have sample of command (>02001078CR). But i not understand how calculate checksum, for example if i have another adress of device or something else..
I need to write specific code i can't use standard duet module because it is write on java (we are not using duet module). So from instruction:
[PR] = Product ID (CM2 = 02)
[AD] = Address (see address description & table)
[CR] = ASCII Carriage Return
[CH] = Check Code
[ST] = Status (see status table)
How calculate CH?
Thanks!
Comments
-
Hello All!
I have sample of command (>02001078CR). But i not understand how calculate checksum, for example if i have another adress of device or something else..
I need to write specific code i can't use standard duet module because it is write on java (we are not using duet module). So from instruction:
[PR] = Product ID (CM2 = 02)
[AD] = Address (see address description & table)
[CR] = ASCII Carriage Return
[CH] = Check Code
[ST] = Status (see status table)
How calculate CH?
Thanks!
I'm sure someone will chime in who has already worked with this. However, in the interim, do you have any documentation that tells you the checksum method? One's Compliment, Two's Compliment, addition of string past a certain point, etc...? -
ericmedley wrote: »I'm sure someone will chime in who has already worked with this. However, in the interim, do you have any documentation that tells you the checksum method? One's Compliment, Two's Compliment, addition of string past a certain point, etc...?
I have a documentation, but everything that in it I am written have copied and have resulted above... I tried to consider on the basis of examples of commands in the standard ways [] XOR [] and XOR FF, but the result does not coincide. I think chief uses the method and have forgotten about it to write to instructions...
Leave a Comment
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums