16
APPENDIX 2. RS-232C / RS-485 Protocol
CONNECTION CONDITION
Speed: 9600/19200 BPS (Default is 9600 BPS)
Data bit: 8 Bits
Parity bit: None
Stop bit: 1 Bits
Flow control: None
Use the RXD, TXD and GND in RS232C pins.
NOMAL COMMUNICAITON FORMAT
Command: It is that operates the camera
Command Packet
5
X
0
Y
.. .. .. 0
P
0
Q
0
R
0
S
FF
X, P
and
R
are upper 4 bits of the data.
Y, Q
and
S
are lower 4 bits of the data.
Especially,
XY
is camera ID data.
Example: Camera ID is 31.
Write data to EEPROM. Address is &HEF, and data is &HA4.
PC->CAMERA: 5
3
5
1
.. .. .. 0
E
0
F
0
A
0
4
FF
SPECIAL COMMUNICATION FORMAT
1. The Communication data format PC to Camera: The data of total 6 bytes is transmitted
from PC to Camera
1) Format
BYTE1
BYTE2
BYTE3
BYTE4
BYTE5
BYTE6
0xC5
CODE1
CODE2
CODE3
CAM_ID
CS
2) Description
a) BYTE1: Camera is realized the protocol comes from PC.
b) BYTE2: The changed data according to PC Command.
c) BYTE3: The changed data according to PC Command.
d) BYTE4: The changed data according to PC Command.
e) BYTE5: Camera’s ID(Identification) number to communicate (0-255).
In case of difference between this value of CAM_ID and the given value
of camera’s ID, It is impossible to communicate wide.