JAI CV-A11 Manuale Utente

Pagina di 25
CV-A11
 
7. Configuring the Camera  
7.1. RS-232C control. 
All configuration of the CV-A11 camera is done via the RS-232C port. The camera can be set up 
from a PC running terminal emulator software, or using JAI´s camera control software. 
Below is the description of the ASCII based short command protocol. 
 
Communication setting. 
 
Baud Rate 
9600 bps 
 Data Length 
8 bit 
Start Bit 
1 bit 
Stop Bit 
1 bit 
Parity None 
Xon/Xoff Control  None 
 
 
RS 232C cable 
TXD
RXD
GND
1 CD
4 DTR
6 DSR
2 RXD
3 TXD
5 GND
7 RTS
8 CTS
9 CI
9 pin
D-con
PC COM
PORT 
CAMERA
TXD
RXD
GND
1 CD
4 DTR
6 DSR
2 RXD
3 TXD
5 GND
7 RTS
8 CTS
9 CI
9 pin
D-con
PC COM
PORT 
CAMERA
 
Fig. 24. RS-232C cable. 
 
Protocol. 
Transmit setting to camera: 
NN=[Parameter]<CR><LF>  (NN is any kind of command. Capital or small letters.) 
 
To have all communication visible on the emulator screen, start with: 
 
EB=1<CR><LF> 
The camera answers: 
COMPLETE<CR><LF> 
 
Transmit the following to see the current parameter for a command: 
NN?<CR><LF>  (NN is any commands with parameters.) 
The camera answers: NN=[Parameter
 
Transmit the following to see the current camera settings: 
ST?<CR><LF> 
The camera returns the current parameter settings. 
 
Transmit the following to get command list help: 
HP?<CR><LF> 
The camera returns a complete command list. 
 
Unknown commands send to camera: (XY is unknown command). 
XY=1<CR><LF> 
The camera answers: 01 Unknown Command!!<CR><LF>  
 
Invalid parameters send to camera: (99 is invalid parameter for SH). 
SH=99<CR><LF> 
The camera answers: 02 Bad Parameters!!<CR><LF> 
 
- 17 -