![Gamma Vacuum DIGITEL Instruction Manual Download Page 29](http://html.mh-extra.com/html/gamma-vacuum/digitel/digitel_instruction-manual_3370463029.webp)
1.
Example in decimal, take 290 mod 256 and result is 34, which converted
to hex is 0x22. This is the command checksum. Example in hex, take
0x122 mod 0x100 and result is 0x22. This is the command checksum.
2.
The command to be sent to the unit is, ‘~ 01 01 22’ + cr
3.
The unit response is, ’01 OK 00 DIGITEL TSPq 65’.
4.
To verify checksum for the response, perform similar calculations.
Note:
‘cr’ is ASCII carriage return character.
Table 7. Response CRC checksum
Characters
Value (Decimal)
Value (Hex)
0
48
0x30
1
49
0x31
space
32
0x20
O
79
0x4F
K
75
0x4B
space
32
0x20
0
48
0x30
0
48
0x30
space
32
0x20
D
68
0x44
I
73
0x49
G
71
0x47
I
73
0x49
T
84
0x54
E
69
0x45
L
76
0x4C
space
32
0x20
T
84
0x54
S
83
0x53
P
80
0x50
q
113
0x71
space
32
0x20
Total = 1381
Total = 0x565
Example in decimal, take 1381 mod 256 and result is 101, which converted
to hex is 0x65. This is the response checksum. Example in hex, take 0x565
mod 0x100 and result is 0x65. This is the response checksum.
9.4.
Gamma protocol commands
Page 29
900035_B
900035_B - Serial communication