HITACHI CONFIDENTIAL PROPRIETARY 99/12/28 COM_914.DOC
1. Communication protocol
Communication between the microcomputer of the camera and the PC is available by using the RS-2
32C protocol. The microcomputer receives each control command given by the PC and
echoes it back to the PC.
2. Connect condition
Data length
8 bit
Stop bit
1 bit
Parity
even
Baudrate
4800 bps
3. Communication data format
All communication data consist of eight or ten ASCII characters (8 bytes or 10 bytes).
Communication data start with the character ":"(colon). The format of the communication data is show
n in Fig. 1.
(a) 8 bytes format
1st byte 8th byte
:
CM A3
A2
A1
A0
D1
D0
CM
Command as follows
R :Read 1 byte data of micro-Com. RAM or EEPROM
W :W rite 1 byte data of micro-Com. RAM or EEPROM
A3-A0
Address data of micro-Com. RAM or EEPROM (write in hex. 0000-FFFF)
D1-D0
Data of micro-Com. RAM or EEPROM (write in hex. 00-FF)
(b) 10 bytes format
1st byte 10th byte
:
CM A3
A2
A1
A0
D3
D2
D1
D0
CM
Command as follows
r :Read 2 bytes data of micro-Com. RAM or EEPROM
w :W rite 2 bytes data of micro-Com. RAM or EEPROM
A3-A0
Address data of micro-Com. RAM or EEPROM (write in hex. 0000-FFFF)
D3-D0
Data of micro-Com. RAM or EEPROM (write in hex. 0000-FFFF)
Fig. 1 Communication data format
- 5/20 -