
- 11 -
A(V)N(P)120
’
s Protocol Version 1.1
Communication Format
A(V)N(P)120’s RS-232C
Communication Format
Communication between camera and user is
available by using RS-232C.
Parameter of RS-232C
•
Baud Rate : 9.6kbps
•
Start bit : 1
•
Stop bit : 1
•
Data bits : 8
•
None Parity
•
Flow control : XON/XOFF,RTS/CTS is
not supported.
Packet Structure
The basic unit of AN200’s communication is
called
‘PACKET’
.
All bytes of the packet are ASCII format.
The first byte of the packet is called
‘Header’
.
And the second and third bytes are
‘ID’
of
the camera. And the forth and the fifth
bytes are
‘Command Message’
. And from
the sixth to the ninth bytes are
‘Command
Option’
.
And the last two bytes are
‘Check sum’
of
the packet.
The check sum is sum of 9 bytes(byte0~byte8).
•
The header must be
‘*’
.
•
All bytes of the packet must be a Capital
Letter.
0
*
1
IDH
2
IDL
3
CMH
4
CML
5
CO1
6
CO2
7
CO3
8
CO4
9
CSH
10
CSL
Byte
Packet(11bytes)
Header
Camera ID
Command
message
Command Option
Check Sum
0
0
1
0
1
0
1
0
X X X X X X X X
MSB
LSB
MSB
LSB
Command Packet Block