Download Print this page

Sharp IV-S30 User Manual page 225

Compact image sensor camera function and operation
Hide thumbs

Advertisement

Table of Contents
Communication (General Purpose Serial Interface)
[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.
Ex. 1 Command for the measurement
execution function 1 (code 10
Station
:
No.
Checksum
code
Note
- This manual uses the following notation to represent addresses and set values.
18
)
(H)
1 0 0 1 C 2 CR
1.................31
0.................30
0.................30
1.................31
: C2
C2
Octal numberI ......................... (8)
Decimal number ...................... None
Hexadecimal number ............. (H)
Ex. 2 Command for the measurement
execution function 7 (code 1A
Station
:
No.
ASCLII data
Checksum
code
Ex. 377
Ex. 255
Ex. FF
18-6
)
(H)
1 A 1 6 4 0
1
6
ASCLII data
1.................31
A................41
1.................31
6.................36
4.................34
0.................30
1.................31
: 6E
16E
(8)
(H)
E
CR

Advertisement

Table of Contents
loading

  Related Manuals for Sharp IV-S30

This manual is also suitable for:

Iv-s31mIv-s32mIv-s33m