EasyManua.ls Logo

General Measure M02 - Page 52

General Measure M02
71 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
M02 Digital Indicator
47
6.2.3.7 Zeroing
Send command:
STX
Scale no.
Channel No.
O
CZ
CRC
CR
LF
Correct response:
STX
Scale no.
Channel No.
O
CZ
O
K
CRC
CR
LF
Wrong response:
STX
Scale no.
Channel No.
O
CZ
E
Error code
CRC
CR
LF
For example:
02 30 31 31 4F 43 5A 38 34 0D 0A
Correct response: 02 30 31 31 4F 43 5A 4F 4B 33 38 0D 0A
Wrong response: 02 30 31 31 4F 43 5A 45 35 30 36 0D 0A(Operation can’t execuate)
6.2.3.8 CRC computation
All the values in front of the parity bit add together and convert to decimal data,
then convert the last 2 bits to ASCII code (decade in front and the unit at the back).
For example
The following is a frame of data:
0
2
3
0
3
1
3
1
4
F
4
3
5
A
3
8
3
4
0
D
0
A
Add 02~5A: 180(Hex),convert to decimal data: 384. We can calculate from this