ADLINK ND-6067 User Manual
Page 128
126
Example 2: checksum is enable
User Command: $012B7
Response: !01400600AC
$ :
LeadingCode
01 :
Address
2
: Command (Read Configuration)
B7
: Checksum value
: Carriage return 0x0D
‘$’ = 0x24
‘0’ = 0x30
‘1’ = 0x31
‘2’ = 0x30
B7 = ( 0x24 + 0x30 + 0x31 + 0x32 ) MOD 0x100
‘!’ = 0x21
‘0’ = 0x30
‘1’ = 0x31
‘4’ = 0x34
‘6’ = 0x36
AC = ( 0x21 + 0x30 + 0x31 + 0x34 + 0x30 + 0x30 + 0x36 + 0x30
+ 0x30 ) MOD 0x100
Note: 1.There is no spacing between characters.
2. At end of command need a
3. Checksum is optional parameter.