beautypg.com

Rs-232c control, Cv-m2 – JAI CV-M2 User Manual

Page 28

background image

CV-M2

- 27 -

7.4. RS-232C control

All configuration of the CV-M2 camera is done via the RS-232C port on the 12 pin HR connector
or via Camera Link. The control mode can be selected by the internal switch RS-232C/Camera
Link. 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


Protocol.

Transmit setting to camera:

NN=[Parameter] (NN is any kind of command. Capital or small letters.)

The camera answers:

COMPLETE

To have all communication visible on the emulator screen, start with:

EB=1

The camera answers:

COMPLETE


Transmit request command to camera:

NN? (NN is any kind of command.)

The camera answers:

NN=[Parameter]

Transmit the following to have the camera actual setting:

ST?

The camera answers:

A complete list of the current settings


Transmit the following to have a command list:

HP?

The camera answers:

A list with all commands and possible settings

Invalid parameters send to camera: (99 is an invalid parameter)

SH=99

The camera answers:

02 Bad Parameters!!

To see the firmware number.

VN?


To se the camera ID. It shows the manufacturing lot.

ID?