2007.05.30
RS-232C communication specifications for IK-HD1C
1. Communication data specifications
Synchronization system
Baud rate
Asynchronous
9600 bps / 19200 bps
Data length
8 bits
None
1 bit
Parity
Start bit
Stop bit
1 bit
Direction of transmission
Handshake function
LSB first
None
2. Terminal names ( camera side )
Name
TXD
Direction of signal
Camera to PC
RXD
GND
GND
PC to camera
-
-
3. Method of connection
Camera
TXD
PC(RS-232C)
RXD
RXD
TXD
GND
GND
5. Command code (PC to camera)
Item
Transmitted data
Actions
1st byte
4BH
2nd byte
01H
3rd Byte
FFH
4th byte
FFH
SWITCH
DISP
Functions in the same way as the front switches.
Note 1: The same as when the DATA UP is pressed for one
second.
4BH
02H
FFH
FFH
PAGE
4BH
4BH
03H
04H
FFH
FFH
FFH
FFH
MENU UP
Note 2: The same as when the DATA DOWN is pressed for
one second.
MENU DOWN
Note 3: The same as when the MENU UP is pressed for one
second.
4BH
4BH
4BH
4BH
4BH
4BH
4BH
4BH
05H
06H
07H
08H
09H
0AH
0BH
0DH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
FFH
DATA UP
Note 4: Remote presetting does not change the baud rate
setting. All other items function in the same way as
the presetting actions made by pressing the MENU
DOWN and DATA DOWN simultaneously. This
returns the product to its initial settings.
DATA DOWN
AWB START(Note 1)
ABB START(Note 2)
ASHD START(Note 3)
DATA PRESET(Note 4)
FILE
KEY LOCK ON
Functions in the same way as the KEY LOCK switch on the
rear panel.
4BH
4BH
05H
0EH
FFH
FFH
FFH
FFH
FFH
KEY LOCK OFF
GAIN
11 H
Functions in the same way as the front switches.
MEMORY
ADDRESS FFH
ADDRESS DATA(L)
ADDRESS FFH
MEMORY DATA READ REQUEST
For ADDRESS, see 11.”ADDRESS&DATA (1st byte=05H, 53H).”
MEMORY DATA WRITE REQUEST
53H
FFH
DATA(H)
FFH
For ADDRESS and DATA, see 11.”ADDRESS&DATA (1st byte=05H, 53H).”
CAMERA STATUS READ REQUEST
For ADDRESS, see 13.”ADDRESS&DATA (1st byte=FFH).”
z The tables in 10 and 11 (on page 7 and later) notate the data H first, then L. You should however transmit the data L first, then H.
5-1. Operating KEY LOCK
If you transmit the KEY LOCK command (4B 0D FF FF or 4B 0E FF FF), you can not operate by KEY LOCK switch
on the rear panel until the following actions are performed.
・ Disconnect a cable of RS-232C.
・ Turn off the computer.
・ After turning off the camera, turn it on again.
5-2. MEMORY DATA READ/WRITE
1)MEMORY DATA READ REQUEST(05 ADDRESS FF FF)
- This function is used to read items that can be configured by OSD(two-byte data).
- For the contents of ADDRESS and DATA, see 11.”ADDRESS&DATA(1 st byte=05H,53H).”
- This function reads the contents of the specified item.
2)MEMORY DATA WRITE REQUEST(53 ADDRESS DATA(L) DATA(H))
- This function is used to rewrite the contents of items that can be configured by OSD(two-byte data).
- For the contents of ADDRESS and DATA, see 11.”ADDRESS&DATA(1 st byte =05H,53H).”
- This function rewrites the contents of the specified item.
- During AWB(while the data in AUTO READ is 01H),the product will not accept the MEMORY DATA WRITE
REQUEST command. (The product will return the return code due to the camera mode error.
See 6.”Return code.”)
3) MEMORY DATA READ REQUEST(FF ADDRESS FF FF)
- This function is used to read the status data of the camera (two-byte data).
- For the contents of ADDRESS and DATA, see the contents of 12.”ADDRESS & DATA (1st byte=FFH).”
6.Return code (Camera to PC)
Item
Return code
Meaning
1st byte
2nd byte
3rd byte
Transmitted
data
4th byte
Transmitted
data
NORMAL
06H
Transmitted
data
Transmitted data, 1st byte
≠05H,≠FFH
2nd byte
ADDRESS
3rd byte
DATA(L)
4th byte
DATA(H)
06H
FFH
Transmitted data, 1st byte
=05H
ADDRESS
DATA(L)
FFH
Transmitted data 1st byte=
FFH
ERROR
15H
15H
15H
01H
02H
03H
FFH
FFH
FFH
FFH
FFH
FFH
Invalid data (1st,2nd byte)
Invalid data (3rd,4th byte)
Camera mode error
You have specified a command
which cannot be executed in
the current camera mode or
which cannot produce anything
significant.
15H
15H
04H
05H
FFH
FFH
FFH
FFH
A communication error has
occurred (an overrun error or
framing error).
Time-out
A camera mode error (15H 03H FFH FFH) can be caused by any of the following:
Command
category
Command item
Camera status that causes a mode error
- AWB, ABB, ASHD being executed.
- AWB, ABB, ASHD being executed.
Operation
DISP
switch system
PAGE
MENU UP
- Color bar screen on - Camera screen on
- AWB, ABB, ASHD being executed.
MENU DOWN
DATA UP
ditto
- Color bar screen on - Camera screen on - AWB, ABB, ASHD being
executed.
DATA DOWN
FILE
ditto
- Color bar screen on - AWB, ABB, ASHD being executed.
AWB START
- The WB mode is in a mode other than AWB. - Color bar screen on - Menu
screen on
- AWB, ABB, ASHD being executed.
ABB START
- Color bar screen on - Camera screen on - AWB, ABB, ASHD being
executed.
ASHD START
DATA PRESET
-SHADING mode is in a mode other than SET. - Color bar screen on - Menu
screen on - AWB, ABB, ASHD being executed.
- Color bar screen on - Menu screen on - AWB, ABB, ASHD being
executed.
MEMORY
Other than SCENE - AWB, ABB, ASHD being executed.
FILE
DATA WRITE
MEMORY
SCENE FILE
- Color bar screen on - AWB, ABB, ASHD being executed.
DATA WRITE
7.AWB
1) To start AWB, take an image of a white subject and transmit an AWB SART command under the following
conditions:
●The WB mode should be AWB.
●The camera screen (a live image) should be on. (The OSD PAGE data should be 00H.)
●AWB,ABB,SHD should not be under execution. (AUTO READ data should not be 01H,0BH,0FH)
2) For the AWB status (whether in progress or complete) and the final result, read the contents of AUTO READ by
using the MEMORY DATA READ REQUEST(FF 03 FF FF) command. For the causes of errors, refer to the following:
NG
: AWB will not be completed within a specified time.
: Color temperature is too high.
CTEMP HIGH
CTEMP LOW
LEVEL HIGH
LEVEL LOW
: Color temperature is too low.
: The level of the image in the area is too high.
: The level of the image in the area is too low.
NOT AVAILABLE : AWB START command has been transmitted when the conditions specified in 1) are unmet.
8.ABB
1)To start ABB, transmit an ABB START command under the following conditions:
●The camera screen (a live image) should be on.(The OSD PAGE data should be 00H.)
●AWB,ABB,SHD should not be under execution. (AUTO READ data should not be 01H,0BH,0FH.)
2)For the ABB status (whether in progress or complete) and the final result, read the contents of AUTO READ by
using the ABB MEMORY DATA READ REQUEST(FF 03 FF FF) command. For the cause of errors, refer to the
following:
NG
: ABB will not be completed within a specified time.
: The lens iris is open. Close the lens iris.
CLOSE LENS
9.ASHD (AUTO SHADING)
1)To start AUTO SHADING, transmit an ASHD START command under the following conditions:
●SHADING setting of OPTION should be SET.( OPTION SHADING MODE data should be 00H.)
●The camera screen (a live image) should be on. (OSD PAGE data should be 00H.)
●AWB,ABB,SHD should not be under execution. ( AUTO READ data should not be 01H,0BH,0FH.)
2)For the SHD status (whether in progress or complete) and the final result, read the contents of AUTO
READ by using the MEMORY DATA READ REQUEST(FF 03 FF FF)command. For the causes of errors, refer to the
following:
SHD LIMIT
: Automatic shading correction operation finished, however, the correction necessary exceeds
the camera’s range so the maximum possible value is applied.
: The level of the image in the area is too high.
LEVEL HIGH
LEVEL LOW
SHD NG
: The level of the image in the area is too low.
: AUTO SHADING will not be completed within a specified number of times.
: ASHD START command has been transmitted when the conditions specified
in 1) are unmet.
NOT AVALABLE
10.Other
The product will store the data even if the data changes made in MEMORY DATA WRITE REQUEST(53 ADDRESS
DATA(L) DATA(H)) is not enabled in the camera mode at the time of the change. The next time the product
switches to the mode in which the data is enabled, the data will be reflected on the camera status.
Example: Setting MANUAL SHUTTER to 1/10000S, setting when the SHUTTER MODE is AUTO.
=> The product will only switch to 1/10000S when the SHUTTER MODE switches to MANUAL.
11.ADDRESS & DATA (1st byte=05H,53H)
Item
*: don’t care
Address
Data
Action
H
L
SHUTTER
MODE
01H
**H
00H
AUTO
MANU
SS
Sets the SHUTTER MODE and EXT TRIG mode.
AUTO:Auto shutter
MANU:Manual mode
01H
02H
SS:Synchronous scan mode
LEVEL
03H
**H
9CH
↓
-100
↓
Adjusts the automatic shutter level.
Level Low
00H
↓
00
↑
↓
If the high level is selected, the value increases.
If the low level is selected, the value decreases.
↓
100
64H
00H
↓
Level High
PEAK/AVE
SPEED
04H
05H
06H
**H
**H
**H
00:10
↓
10:00
Adjusts the ratio between peak and average value in the automatic shutter mode.
00:Average only (01 to 09) : The bigger the value is, the higher the ratio is.
10:Peak only
0AH
00H
↓
1
↓
Adjusts the automatic shutter response speed.
The bigger the value is, the faster the response is.
13H
00H
01H
02H
03H
04H
00H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
20
AREA
PRESET A
PRESET B
PRESET C
PRESET D
PRESET E
OFF
Selects the available picture area in the automatic shutter mode..
PRESET A,B,C,D,E: Specified range
USER:User setting range (Setting area is available)
MANUAL
0DH
**H
Sets a shutter speed in manual mode.
1/100S
1/125S
1/250S
1/500S
1/1000S
1/3000S
1/5000S
1/10000S
1/30000S
1/50000S
001/1125H
↓
SYNCHRO
SCAN
0EH
0001H
↓
0230H
Sets a shutter time every time a synchronization scan is turned off or every hour of
data setting.
001H/1125H~560/1125H:The shutter speed can be set by the 1H.
560/1125H
(1H)
(560H)
0231H
OFF
Shutter speed 1/60
Item
MODE
Address
20H
Data
Action
H
L
GAIN
**H 00H
AUTO
Sets the master gain mode.
01H
MANUAL
OFF
02H
AUTO MAX
MANU
21H
22H
30H
**H 00H
↓
12H
00dB
↓
Sets the maximum gain when the master gain is AUTO mode.
Sets the gain when the master gain is manual.
Sets the white balance mode.
18dB
00dB
↓
**H 00H
↓
12H
18dB
AWB
WHITE
BALANCE
MODE
**H 00H
01H
ATW
02H
MANUAL
3200K
5600K
-10
C.TEMP
R PAINT
31H
32H
**H 00H
Sets a color temperature.
01H
**H F6H
↓
Sets the RED setting in AWB mode.
↓
00
00H
↓
↓
10
0AH
B PAINT
AREA
33H
34H
**H F6H
↓
00H
-10
↓
Sets the BLUE setting in AWB mode.
00
↓
↓
0AH
10
**H 00H
01H
PRESET A
PRESET B
PRESET C
PRESET D
PRESET E
Sets in AWB mode.
PRESET A,B,C,D,E : in the specified range
02H
03H
04H
Item
Address
39H
Data
Action
H
L
WHITE
BALANCE
R GAIN
B GAIN
FF9CH
↓
-100
↓
Sets the RED gain in MANUAL mode.
Sets the BLUE gain in MANUAL mode.
Sets the RED setting in ATW mode.
Sets the BLUE setting in ATW mode.
0000H
↓
0
↓
0064H
FF9CH
↓
100
-100
↓
3AH
3BH
3CH
0000H
↓
0064H
0
↓
100
-10
↓
ATW
R PAINT
**H F6H
↓
00H
↓
0
↓
0AH
10
ATW
B PAINT
**H F6H
↓
-10
↓
00H
↓
0
↓
0AH
10
AWB R DATA A0H
READ
**H **H
Data read
Reads R data in Auto White Balance.
Note)This item can only read 1st byte=05H. It can not be written 1st
byte=53.
201~2838
Data read
AWB B DATA A1H
READ
**H **H
Reads B data in Auto White Balance.
Note)This item can only read 1st byte=05H. It can not be written 1st
byte=53H.
201~2838
Item
GAMMA
Address
40H
Data
Action
H
L
PROCESS
**H 00H
ON
OFF
-10
↓
0
Gamma correction setting : ON/OFF
Gamma correction level setting
ON/OFF
GAMMA
01H
41H
**H F6H
↓
00H
↓
↓
10
-7
↓
0
0AH
DTL GAIN
M.PED
44H
46H
**H F9H
DTL gain setting
↓
00H
↓
↓
7
07H
**H 9CH
-100
↓
Master pedestal setting
↓
00H
↓
0
↓
64H
100
OFF
00H
DNR
48H
**H
Digital noise reduction setting : ON/OFF
01H
ON
Item
MATRIX
Address
50H
Data
Action
H
L
MATRIX
**H 00H
ON
OFF
-15
↓
0
Matrix color correction : ON/OFF
Red hue setting
ON/OFF
R HUE
01H
51H
52H
53H
54H
55H
56H
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
R GAIN
G HUE
G GAIN
B HUE
B GAIN
**H F1H
↓
Red gain setting
Green hue setting
Green gain setting
Blue hue setting
Blue gain setting
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
0FH
**H F1H
↓
-15
↓
0
00H
↓
↓
15
0FH
Item
Ye HUE
Address
57H
Data
Action
H
L
MATRIX
**H F1H
↓
-15
↓
0
Yellow hue setting
Yellow gain setting
Cyan hue setting
00H
↓
↓
15
-15
↓
0
0FH
Ye GAIN
Cy HUE
Cy GAIN
Mg HUE
Mg GAIN
58H
59H
5AH
5BH
5CH
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
Cyan gain setting
Magenta hue setting
Magenta gain setting
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
-15
↓
0
0FH
**H F1H
↓
00H
↓
↓
15
0FH
Item
H PHASE
ADDRESS
70H
DATA
Action
H
L
SYNC
FC00H
↓
-1024
↓
Adjusts H phase with external sync signal.
0000H
↓
0
↓
03FFH
**H 00H
01H
1023
RGB
OPTION
OUTPUT
80H
84H
Changes output mode.
Y/PR/PB
SET
SHADING
(MODE)
**H 00H
01H
Sets shading correction mode.
MANU
OFF
02H
MANU
SHADING
85H
86H
**H 80H
↓
-128
↓
Sets a correction value for cases when the shading correction mode is MANUAL.
00H
↓
0
↓
7FH
127
RGB
**H 00H
01H
G
Only G signal output setting with SYNC.
All RGB output setting with SYNC.
SYNC
ALL ON
ALL OFF
9600bps
19200bps
ALL ON
Analog
Digital
02H
All RGB output setting without SYNC.
Sets a baud rate for RS232C communications.
BAUD
RATE
OSD
88H
89H
**H 00H
01H
**H 00H
01H
All output setting with OSD.
Only analog output setting with OSD.
Only digital output setting with OSD.
02H
Item
SCENE FILE
Address
90H
Data
Action
H
L
**H 00H
01H
FILE A
FILE B
FILE C
FILE D
FILE E
Selects a scene file.
02H
03H
04H
12.ADDRESS & DATA (1st byte=FFH)
Item
Address
Data
Action
H
L
GAIN READ
01H
FFH
00H
↓
00dB
↓
Master gain
12H
00H
01H
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
0EH
0FH
10H
11H
12H
13H
14H
15H
18dB
KEY LOCK READ
AUTO READ
02H
03H
FFH
FFH
KEY LOCK ON
KEY LOCK OFF
AWB in progress.
Key lock mode. (It may differ from the switch position by the remote settings.)
The final result of AWB is accepted.
The final result of AWB is rejected. C.TEMP HIGH(R GAIN MAX)
The final result of AWB is rejected. C.TEMP HIGH(B GAIN MIN)
The final result of AWB is rejected. C.TEMP LOW(R GAIN MIN)
The final result of AWB is rejected. C.TEMP LOW(B GAIN MAX)
The final result of AWB is rejected. LEVEL HIGH
The final result of AWB is rejected. LEVEL LOW
The final result of AWB is rejected. NOT AVAILABLE
The final result of AWB is rejected.
ABB in progress.
The final result of ABB is accepted.
The final result of ABB is rejected.
The final result of ABB is rejected. LENS OPEN
AUTO SHADING in progress.
The final result of AUTO SHADING is accepted.
The final result of AUTO SHADING is rejected.
The final result of AUTO SHADING is accepted. LIMIT
The final result of AUTO SHADING is rejected. LEVEL HIGH
The final result of AUTO SHADING is rejected. LEVEL LOW
The final result of AUTO SHADING is rejected. NOT AVAILABLE
Item
Address
Data
Action
H
L
OSD PAGE
04H
FFH
00H
OSD OFF(a live image)
01H
02H
03H
04H
05H
06H
07H
08H
FFH
00H
INDEX
SHUTTER
GAIN
WHITE BALANCE
PROCESS
MATRIX
SYNC
OPTION
COLOR BAR
1st ITEM to 13th ITEM
“ → ”POINT
05H
FFH
The position of ”→” for the each MENU.
(1st to 13th from the top.)
↓
0CH
|