Sharp IV-S30 Manual do Utilizador Página 271

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 270
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)
Note
: 1001C2
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.
:1A1640
CR
E61
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)
)
Vista de página 270
1 2 ... 266 267 268 269 270 271 272 273 274 275 276 ... 330 331

Comentários a estes Manuais

Sem comentários