15
Appendix 1 - RS-232C Control Information
1.
Communication protocol
Communication between the microcomputer of the camera and the PC is available by using the
RS-232C 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 consists of eight or ten ASCII characters (8 bytes or 10 bytes).
Communication data starts with the character ":" (colon).
NOTE
: All ASCII commands require “carriage return”
at the end of each statement.
The format of the communication data is shown 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 µCom. RAM or EEPROM
W :Write 1 byte data of µCom. RAM or EEPROM
A3-A0
Address data of µCom. RAM or EEPROM (write in hex. 0000-FFFF)
D1-D0
Data of µ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 µCom. RAM or EEPROM
w :Write 2 bytes data of µCom. RAM or EEPROM
A3-A0
Address data of µCom. RAM or EEPROM (write in hex. 0000-FFFF)
D3-D0
Data of µCom. RAM or EEPROM (write in hex. 0000-FFFF)
Fig. 1 Communication data format
Enter