Dukane Camera 335 User manual

DC335 Protocol
1.CommunicationProtocol
Transmit Method : AsynchronousInterfaceHalf
DuplexSerialCommunication.
ØTransmit Speed:9600bps
ØFlowcontrol: NA
ØDataBit: 8Bit
ØParityBit: NA
ØStop Bit:1Bit
2. ThecommandSetsandprotocol
Controlmethod
Controlschemeasbelow
PC Master
1st
P-CodeRequesttoSend STX
1st
M-CodeACK
3nd
P-CodeFunction
5th
P-CodeData2
7th
P-CodeCmdEnd 0xAFh
6th
P-CodeData3
4rd
P-CodeData 1
MasterActiveTime
10ms< Time<12s
3rd
M-CodereFunction
2nd
M-CodereCmdStartA0h
5th
M-CodereData2
6th
M-CodereData3
4th
M-CodereData1
7th
M-CodereCmdEnd 0xAFh
TIME
2nd
P-CodeCmdStartA0h
Delay0.1ms
…
ØThe Acknowledge code frompresenterishexcode AA
ØPCmustwait the ACKcode beforesend the2nd code
Ø‘U‘mean the ASCII code ocharacterU
Ø0xAAmean the hexcode AA

ControlCommand
PCAPtoDC335 Mastercommandformat
Item
Function 1st 2nd 3rd 4th 5th 6th Comment
1Reset A0h 03h P1 00h 00h AFh P1: 00=Factory
2ZoomDirect(Tracking)(No AF) A0h 12h P1 P2 P3 AFh P1(LowByte)
P2(HighByte):ZoomPosition=0~18
P3: Speed=01~05
3WhiteBalanceoncetrigger A0h 22h 00h 00h 00h AFh AWBoncetrigger
4Freeze A0h 2Ch P1 00h 00h AFh P1: 00/01=OFF/ON
5Image A0h 36h P1 00h 00h AFh P1: 00/01/02/03=Normal/Film/Positive/Microscope
6Source A0h 37h P1 00h 00h AFh P1: 00/01=Camera/PC
7Lamp A0h 38h P1 00h 00h AFh P1: 00/01=OFF/ON
8KeyFunction A0h A0h P1 00h 00h AFh P1: 01/02/03/04/05/06=Set/Up/Down/Left/Right/menu
9Set R/Bvalue A0h A1h P1 P2 00h AFh
P1: Red value (0~96)
P2: Blue value (0~96)
Thisfunction isforadjust R/BGain.Forgeneral user, please
don’t change value forprevent wrong operation.
10 CallR/Bvalue A0h A2h 00h 00h 00h AFh
P1: Red value (0~96)
P2: Blue value (0~96)
Thisfunction isforadjust R/BGain.Forgeneral user, please
don’t change value forprevent wrong operation.
11 AFOne PushTrigger A0h A3h 00h 00h 00h AFh AF oncetrigger
12 Set Sharpness(Gamma) A0h A7h P1 00h 00h AFh P1: 00/01 =Photo/Text
13 PowerOn/Off A0h B1h P1 00h 00h AFh P1: 00/01=OFF/ON
14 Capture A0h B2h 00h P2 00h AFh P2: 00 =NormalCapture Inorder
15 PlayBack A0h B3h 00h P2 00h AFh P2: 00 =NormalPlayback 64 small index
16 Flip A0h B5h P1 00h 00h AFh P1: 00/01=Disable/Flip
17 Delete A0h B6h P1 P2 00h AFh P1: 00/01/02=deleteone picture/deleteallpicture/Format
P2: 00 =NormalDeleteOne Image UnderPlayback Index ,
RP2:Amount currentstorage pictures
18 CallDigital ZoomPosition A0h 62h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
19 CallFocusPosition A0h 64h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
20 CallFreezeStatus A0h 78h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
21 CallflipStatus A0h 79h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
22 CallAEStatus A0h 80h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
23 CallImage A0h 87h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
24 CalllampStatus A0h 50h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment

PCAPtoDC335 Mastercommandformat
Item
Function 1st 2nd 3rd 4th 5th 6th Comment
25 Calltext/photoStatus A0h 51h 00h 00h 00h AFh PleaserefertoReturnValue forstatuscomment
26 Brightness Control A0h 39h P1 00h 00h AFh P1: 02/01/00 =Increasebrightness value( 1)/Decrease
brightness value( 1)
27 ZoomControl A0h 3Ah P1 00h 00h AFh P1: 01/00 =ZoomIn( 1)/ZoomOut( 1)
28 FocusControl A0h 3Bh P1 00h 00h AFh P1: 01/00 =Focus( 1)/Focus( 1)
29 OutputFormatSVGA/XGA A0h B9h P1 00h 00h AFh P1: 00/01=SVGA/XGA
30 CallMixZoomPosition A0h 8ah 00h 00h 00h AFh P1(LOWBYTE)
P2(HIGHBYTE)
31 CallVersion x.xx A0h 45h 00h 00h 00h AFh Version CN P1.P2P3
32 Preset A0h A4h P1 00h 00h AFh P1: 0/1/2=CallPreset Menu /Load / Save
33 VGAOutputFreq. 60Hz/75Hz A0h 49h P1 00h 00h AFh VGAoutputFrequency P1:00/01=60Hz/75Hz Default 60Hz
34 AE A0h 30h P1 00h 00h AFh P1:00/01=OFF/ON
35 Video A0h 46h P1 00h 00h AFh P1: 0:VGA_Out/ 1:NTSC/ 2:PAL
36 AutoErase A0h 14h P1 00h 00h AFh P1: 0:OFF/ 1:ON
37 CallModel A0h 15h 00h 00h 00h AFh ReturnModelCode
Ex:If PS400'sversion isPZ130,RP1='P' and RP2='Z'
38 ACFreq. A0h 17h P1 P2 00h AFh P1: 0/1=Read/Write
P2:When P1=1,0/1=50Hz/60Hz
RP2:The ACstatus0/1=50Hz/60Hz
39 callpoweron over A0h B7h 00h 00h 00h AFh P1(Systemstatus):00/01=Warming up/ Unitisreadyfor
receivingcommands;
P2(PowerStatus):00/01 =OFF/ON
40 CallAutoEraseStatus A0h 8Ch 00h 00h 00h AFh RP1: 00/01=OFF/ON
41 CallSourceStatus A0h 8Eh 00h 00h 00h AFh RP1: 00/01=Camera/PC

Returnvalue
DC335 feedback toPCvalueformat
Item
Function 1st 2nd 3rd 4th 5th 6th Comment
1Reset A0h 03h P1 00h St AFh P1: 00=Factory
2ZoomDirect(Tracking) (No AF) A0h 12h P1 P2 St AFh P2(HighByte)P1(LowByte):
ZoomPosition=0~18
3WhiteBalanceoncetrigger A0h 22h P1 00h St AFh AWBoncetrigger
4Freeze A0h 2Ch P1 00h St AFh P1: 00/01=OFF/ON
5Image A0h 36h P1 00h St AFh P1: 00/01/02/03=Normal/Film/Positive/Microscope
6Source A0h 37h P1 00h St AFh P1: 00/01=Camera/PC
7Lamp A0h 38h P1 00h St AFh P1: 00/01=OFF/ON
8KeyFunction A0h A0h P1 00h St AFh P1: 01/02/03/04/05/06=Set/Up/Down/Left/Right/menu
9Set R/Bvalue A0h A1h P1 P2 St AFh
P1: Red value (0~96)
P2: Blue value (0~96)
Thisfunction isforadjust R/BGain.Forgeneral user, please
don’t change value forprevent wrong operation.
10 CallR/Bvalue A0h A2h P1 P2 St AFh
P1: Red value (0~96)
P2: Blue value (0~96)
Thisfunction isforadjust R/BGain.Forgeneral user, please
don’t change value forprevent wrong operation.
11 AFOne PushTrigger A0h A3h 00h 00h St AFh AF oncetrigger
12 Set Sharpness(Gamma) A0h A7h P1 00h St AFh P1: 00/01=Photo/Text
13 PowerOn/Off A0h B1h P1 00h St AFh P1: 00/01=OFF/ON
14 Capture A0h B2h 00h RP2 St AFh RP2 Amountcurrentstorage pictures
15 PlayBack A0h B3h 00h RP2 St AFh RP2 Amountcurrentstorage pictures
16 Flip A0h B5h P1 00h St AFh P1: 00/01=Disable/Flip
17 Delete A0h B6h P1 RP2 St AFh P1: 00/01/02=deleteone picture/deleteallpicture/Format
RP2:Amount currentstorage picture
18 CallDigital ZoomPosition A0h 62h P1 00h St AFh P1: 00(Wide)~18(Tele)
19 CallFocusPosition A0h 64h P1 P2 St AFh RP2(HIGH)/RP1(LOW)
20 CallFreezeStatus A0h 78h P1 00h St AFh P1: 00/01=OFF/ON
21 CallflipStatus A0h 79h P1 00h St AFh P1: 00/01=OFF/ON
22 CallAEStatus A0h 80h P1 P2 St AFh P1: 00/01=Manual/Auto
P2=Brightness value
23 CallImage A0h 87h P1 00h St AFh P1: 00/01/02/03/04=Normal/Gray/Film/Positive/Microscope
24 CalllampStatus A0h 50h P1 00h St AFh P1: 00/01=OFF/ON
25 Calltext/photoStatus A0h 51h P1 00h St AFh P1: 00/01=Photo/Text

DC335 feedback toPCvalueformat
Item
Function 1st 2nd 3rd 4th 5th 6th Comment
26 Brightness Control A0h 39h RP1 00h St AFh P1: 01/00 =Increasebrightness value( 1)/ Decrease
brightness value( 1)
27 ZoomControl A0h 3Ah RP1 RP2 St AFh RP2(HIGH)/RP1(LOW)=ZoomPosition
28 FocusControl A0h 3Bh RP1 RP2 St AFh RP2(HIGH)/RP1(LOW)=FocusPosition
29 OutputFormatSVGA/XGA A0h B9h P1 00h St AFh P1: 00/01=SVGA/XGA
30 CallMixZoomPosition A0h 8ah P1 P2 St AFh P1(LOWBYTE) /P2(HIGHBYTE)
31 CallVersion x.xx A0h P1 P2 P3 St AFh Version CN P1.P2P3
32 Preset A0h A4h P1 00h St AFh P1: 0/1/2=CallPreset Menu / Load /Save
33 VGAOutputFreq. 60Hz/75Hz A0h 49h P1 00h St AFh VGAoutputFrequency P1:00/01=60Hz/75Hz Default 75Hz
34 AE A0h 30h P1 00h St AFh P1: 00/01=OFF/ON
35 Video A0h 46h P1 00h St AFh P1: 0:VGA_Out/ 1:NTSC/ 2:PAL
36 AutoErase A0h 14h P1 00h St AFh P1: 0:OFF/ 1:ON
37 CallModel A0h 15h RP1 RP2 St AFh ReturnModelCode
Ex:If PS400'sversion isPZ130,RP1='P' and RP2='Z'
38 ACFreq. A0h 17h P1 RP2 St AFh P1: 0/1=Read/Write
P2:When P1=1,0/1=50Hz/60Hz
RP2: The ACstatus0/1=50Hz/60Hz
39 callpoweron over A0h B7h RP1 00h St AFh P1(Systemstatus): 00/01=Warming up/ Unitisreadyfor
receivingcommands;
P2(PowerStatus): 00/01 =OFF/ON
40 CallAutoEraseStatus A0h 8Ch RP1 00h St AFh RP1: 00/01=OFF/ON
41 CallSourceStatus A0h 8Eh RP1 00h St AFh RP1: 00/01=Camera/PC
St : 0=Action Succeed,1=NAK (NoAction), 2=IGNORE(Wrong Command)
Other manuals for Camera 335
2
This manual suits for next models
1
Table of contents
Other Dukane Digital Camera manuals