Download Print this page

Communication Format - Sharp IV-S30 User Manual

Compact image sensor camera function and operation
Hide thumbs

Advertisement

Table of Contents

18-3 Communication format

The communication formats of the commands and responses between the IV-S30 and a personal
computer are outlined below.
Ë
Command
:
Ë Response
:
*1 Station No.: 00 to 7F
*2 Processing code and text
- They depend on the contents of communication. - See pages 18-1 and 18-7 and after.
- On abnormal termination, no text is provided.
*3 Termination code
The termination code is a 2-digit hexadecimal number.
- When an output is sent through the general purpose serial I/F, 00
termination.
- On abnormal termination, a code other than 00
*4 Checksum code (SC
To improve the reliability of the transmitted data, in addition to a parity check, error detection by a
checksum is used for error detection.
When the IV-S30 does not need to complete a checksum for error detection, use an @ (at sign:
ASCII code 40
[Error detection using a checksum]
The ASCII code for each data byte, from the processing code to the end of text (prior to the
checksum code), is added. The final value is compared to the checksum code which is treated the
same way. If the two values are identical, the command is considered to be valid. I/F they are not
identical, an error has occurred during transmission.
Ë
Command
:
Ë
Response
:
Station
No.
...............
*2
*1
Processing
Station
code
No.
Station
RC
No.
RC
L
H
*3
Termination
*1
Station
code
No.
*2
Processing code
(H)
(H)
and SC
)
H
L
) in each of the checksum codes SC
(H)
Station
No.
Station
Processing
No.
code
Station
RC
No.
RC
H
L
Station
Termination
No.
code
Processing code
Communication (General Purpose Serial Interface)
SC
SC
CR
L
H
Terminator
*2
*4
Text
Checksum code
...............
SC
SC
CR
L
H
*2
Text
*4
Checksum code
is sent. - See page 20-3.
(H)
and SC
included in the command.
H
L
SC
SC
CR
L
H
Terminator
Text
SC
SC
CR
H
L
Text
18-5
Terminator
is sent on normal
(H)
Terminator
18

Advertisement

Table of Contents
loading

  Related Manuals for Sharp IV-S30

This manual is also suitable for:

Iv-s31mIv-s32mIv-s33m