18-6
Communication (General Purpose Serial Interface)
18
[Method for creating a checksum code]
The ASCII code for each byte of data, from the processing code to the end of text (prior to the
checksum code) is added together. The lower 1 byte of this sum is divided into the upper 4 bits and
the lower 4 bits. The hex character (0 to F) is converted to the ASCII code for that character and
sent as one byte. Thus the checksum code consists of two bytes.
- This manual uses the following notation to represent addresses and set values.
Octal numberI ......................... (8)
Ex. 377
(8)
Decimal number ...................... None
Ex. 255
Hexadecimal number ............. (H)
Ex. FF
(H)
:
1
0
0
1
C
2 CR
1.................31
0.................30
0.................30
1.................31
C2
Checksum
code
ASCLII data
: C2
Ex. 1 Command for the measurement
execution function 1 (code 10
(H)
)
Station
No.
Station
No.
:
1
A
1
6
4
0
CR
E
6
1
1.................31
A................41
1.................31
6.................36
4.................34
0.................30
1.................31
16E
Checksum
code
ASCLII data
: 6E
Ex. 2 Command for the measurement
execution function 7 (code 1A
(H)
)
Note