RS 232 Protocols
Package Format :
00 FE CH_ID[4X] CMD[6XDF] Param0~ParamN[3X] CRCH[5X] CRCL[5X] FF
CH_ID : PC=40~47, 40=Current Camera, 41=CAM1, 42=CAM2
Panel=48~4F, 48=Current Camera, 49=CAM1, 4A=CAM2
Param Data Types :
hex : 1byte [3X] means X=0~Fh
int2 : 2bytes [3X 3Y] means XYh (signed)
uint2 : 2bytes [3X 3Y] means XYh (unsigned)
int3 : 3bytes [3X 3Y 3Z] means XYZh
hex4 : 4 hex for version N.NNN
hex6 : 6 hex for date YYMMDD
str2N : N*2 bytes, MSB first ASCII * N
CRCH/L = 8bit CRC for error protection, generated by lookup table from (CH_ID / CMD / Param0~ParamN)
Command & Parameter Lists
DVKCMD ( used by Get command)
DVKCMD_GetVersion
DVKCMD_GetFeature
DVKCMD_GetStatus
DVKCMD_Get/SetOutput
DVKCMD_Get/SetCameraUnit
DVKCMD_Get/SetColorProc
DVKCMD_Get/SetFreeze
DVKCMD_Get/SetKeyMode
DVKCMD_Get/SetCKBackColor
DVKCMD_Get/SetCKParam
DVKCMD_Get/SetLKParam
DVKCMD_Get/SetEdgeShrink
DVKCMD_Get/SetWindowPosition 80/81
use CH_ID
60
FirmwareVersion(hex4)
FirmwareDate(hex6) [30 35 31 32 32 35] = 2005/12/25
PanelVersion(hex4) [3132 33 34] = v1.234
ModelName(str2N) [34 34 35 36 34 3B] = 44 56 4B = "DVK"
61
HardwareVer(hex4) [31 32 33 34] = v1.234
MaxCameraUnit (32) 32 = support 2 Cameras
62
CAM1_Status b01=None/NTSC/PAL b23=CV/S
CAM2_Status b01=None/NTSC/PAL b23=CV/S
BG_Status b01=None/NTSC/PAL b23=CV/S
IRE 30=0IRE, 31=7.5IRE
ColorBar 30=off, 31=on
64/65
FG/BG/Comp (30/31/32)
66/67
CAM1/CAM2 (30/31)
68/69
Cur/CAM1,2 FG/BG (30/31) Bright(int2=128~127) def=0 [30 30]
6A/6B
FGFreeze 30=off / 31=on
BGFreeze 30=off / 31=on
70/71
Cur/CAM1,2
72/73
Cur/CAM1,2
74/75
Cur/CAM1,2
7A/7B Cur/CAM1,2
7C/7D Cur/CAM1,2
Cur/CAM1,2
29
Param0~ParamN (Data Type
[31 32 33 34] = v1.234
Contrast(uint2=0~255) def=128 [38 30]
Color(uint2=0~255) def=128
Tint(int2=127~128) def=0 (90 ~ +90deg)
Green/Blue/Luma (30~32)
HueOffset(int2=60~60) def=0
Level(int2=0~100) def=40
Density(int2=0~100) def=30
SpilllSuppress(int2=32~64) def=16
DarkLevel(int2=0~100)def=10
DarkGrad(int2=0~100) def=10
BrightLevel(int2=0~100)def=0
BrightGrad(int2=0~100) def=0
Left (0~6) def=0
Right (0~6) def=0
Xleft(int3=0~720) def=0 [30 30 30]
Xright(int3=0~720) def=720 [32 3D 30]
Ytop(int3=0~576) def=0
Ybottom(int3=0~576)def=486 (NTSC) or 576 (PAL)