TVCCD – 1602COL

Zoom Camera Protocol

(RS-232/485)

Release Date. 2002. 02. 27

Release No. 0.97c

0. Code configuration

PC →Camera

Header / Command / Data1 / Data2 / Data3 / C·S

Header : To indicate the start of communication data.

Command : To indicate the control command of camera.

0x10 – code to indicate the command of Camera Ready Check

0x3X –code to indicate thecommand concerned with camera ID

0x60 – code to indicate thecommand ofbeing used with Key Code together

Data1 : This bit has Dummy value(0x00), Current Camera ID or New Camera ID(when new ID is assigned).

Data2 : This bithas Dummy value(0x00) orCamera ID at multi-communication.

Data3 : This bithas Dummy value(0x00) or Camera ID at current communication.

C·S : This is the sum value of full command digit in order to check Error in communication.

This value includes only last 1 byte of sum of the Header , Command, Data 1, Data 2 and Data 3.

ex) 0xC5 + 0x60 + 0x15 + 0x00 + 0x00 = 0x013A →C·S = 0x3A

Camera →PC

Header / Command / Data1 / Data2 / Data3 / Status_1 / Status_2 / Data4 / C·S

Header, Command : same as the Header of PC →Camera

Command is used in order to avoid error at communication. (to compare the input and output data date from camera)

Data1 : This bit has Dummy value(0x00), Current Camera ID, New Camera ID(when new ID is assigned) or Key Code.

Data2 : This bithas Dummy value(0x00).

Data3 : This bit has New Camera ID when new ID is assigned, current Camera ID at multi-communication or commands related with Camera Ready Check.

Status_1, Status_2 : This bits are used to check the current camera status. Please refer to 5. Status Byte to get information on Status_1 and Status_2.

Data4 : This bit is assigned for upcoming version and has dummy value(0x00) at present version.

C·S : same as C·S of PC →Camera

1. Camera Ready Check

1.1. Camera Ready Check : Command 0x10 execution

PC →Camera

0xC5 / 0x10 / 0x00 / 0x00 / 0x00 / C·S

Check if Communication S/W is Power On(Ready) status

Result returns 0x10command and ID value. Valid when Camera and PC are 1:1 condition

Camera →PC

0xC5 / 0x10 / CamID / 0x00 / 0x10 / Status_1 / Status_2 / 0x00 / C·S

To read camera Setting Value from Status_1 and Status_2 returned from camera.

※Refer to 5. Status Byteregarding information of Status_1and Status_2.

2. Camera ID Write, Camera ID Read and Camera Select

2.1. ID Write

PC →Camera

0xC5 / 0x30 / N_ID / 0x00 / CamID / C·S

When ID of Camera(default 0) is needed to be changed for multi-communication(1 Host(PC or Standalone Type Controller) : N Camera)

N_ID : Camera ID for new setting camera. Default value is 0(0x00) and range is 0 ∼31(0x00 ∼0x1F)

CamID : current Camera ID. When ID is known, use command “ ID Read”

※caution – Use only for Camera and external controller(PC, Remote Controller ) are connected by 1:1

Camera →PC

0xC5 / 0x30 / N_ID / 0x00 / N_ID / Status_1 / Status_2 / 0x00 / C·S

2.2. ID Read

PC →Camera

0xC5 / 0x35 / 0x00 / 0x00 / 0x00 / C·S

To read current setting camera ID. If ID is unknown ,communication with Camera does not work.

※caution – Use only for Camera and external controller(PC, Remote Controller ) are connected by 1:1

Camera →PC

0xC5 / 0x35 / 0x00 / 0x00 / CamID / Status_1 / Status_2 / 0x00 / C·S

2.3. Camera Select

PC →Camera

0xC5 / 0x3A / P_ID / New_CID / 0x00 / C·S

To choose other camera at multi communication

P_ID : Current Camera ID

New_CID : Camera ID to be controlled at multi-communication

Camera →PC

0xC5 / 0x3A / P_ID / 0x00 / New_ID / Status_1 / Status_2 / 0x00 / C·S

3. Key Action : 6x series command

3.1. To take action of appreciate Key_Code

PC →Camera

0xC5 / 0x60 / Key_Code / 0x00 / CamID / C·S

Key_Code: Please refer to “4. Key Code Table”to get information regarding all commands and Key_Code value supported on OSD.

Camera →PC

0xC5 / 0x60 / Key_Code / 0x00 / CamID / Status_1 / Status_2 / 0x00 / C·S

4. Key Code Table

Key variable(1) / Key Code / Contents
0x10 / To set focus automatically In this mode Zoom by Tele/ Wide
0x11 / To set focus manually. In this mode zoom by Tele/ Wide and focus by near/far
0x15 / Tele Zoom at Focus auto/manual mode
0x16 / Wide Zoom at Focus auto/manual mode
0x17 / Near Focusing at Focus manual mode
0x18 / Far Focusing at Focus manual mode Focus
0x19 / Menu window on when using PC Base control and Standalone type controller
0x20 / To set shutter speed mode automatically.
0x24 / To set shutter speed mode manually .To decrease often writing on EEPROM, Key Code is added.
0x25 / To lower shutter speed at manual shutter speed mode
0x26 / To raise shutter speed at manual shutter speed mode .
0x30 / AGC On .
0x35 / AGC Off .
Key variable / Key Code / contents
0x40 / Auto White Balance mode
0x42 / Indoor White Balance mode
0x44 / Outdoor White Balance mode
0x45 / Manual White Balance mode
0x46 / To decrease red adjustment value at White Balance manual mode
0x47 / To increase red adjustment value at White Balance manual mode
0x48 / To decrease blue adjustment value at White Balance manual mode
0x49 / To increase blue adjustment value at White Balance manual mode
0x50 / SDR(Super Dynamic Range) mode On.
0x55 / SDR(Super Dynamic Range) mode Off .
0x60 / Positive mode.
0x65 / Negative mode.
Key / Key Code / Contents
0x70 / Color mode
0x75 / Black/White mode
0x80 / Mirroring function Off(Default Value)
0x82 / Half Mirroring(Asymmetrical Mirroring)
0x84 / Full Mirroring (Horizontal Mirroring)
0x90 / To decrease Brightness value
0x91 / To increase Brightness value
0x95 / To decrease Sharpness value
0x96 / To increase Sharpness value
0xA0 / Power On(2)
0xA5 / Power Off(2)
0xB0 / OSD On (To show Zoom magnification on the screen)
0xB5 / OSD Off(To show Zoom magnification on the screen).

Note) *1. The programmer need to define itwhen coding communication software.

*2.The present version of camera does not support with internal Power On/Off function yet.

5. Status Byte

Bit / content / Description
7 / SDR / 0 : Off 1 : On
6 / Focus / 0 : Auto 1 : Manual
5 / Negative / 0 : Negative 1 : Positive
4 / Color / 0 : Color 1 : B/W
3 / Fixed(2) / Don't Care
2 / Fixed(2) / Don't Care
1 / Mirror1 / 00 : Off, 01 : Half Mirror
10 : Full Mirror 11 : Don't Care
0 / Mirror0

Status_1 Status_2

Bit / content / Description
7 / Shutter3 / Auto : 0000
Manual : etc*1
6 / Shutter2
5 / Shutter1
4 / Shutter0
3 / AGC / 0 : On, 1 : Off
2 / Fixed(2) / Don't Care
1 / Out Door / 00 : Auto, 01 : Out Door
10 : In Door 11 : Manual
0 / In Door

Note) *1. 0001 : Shutter Speed - 1/60(NTSC), 1/50(PAL)

0010 : Shutter Speed - 1/100(NTSC), 1/120(PAL)

0011 : Shutter Speed - 1/250

0100 : Shutter Speed - 1/500

0101 : Shutter Speed - 1/1000

0110 : Shutter Speed - 1/10000

*2. You don’t need to take it into your consideration because this bit is not used at present version.

Note) Baud rate Setting : 9600bps