C&B Technology AN120 Series, AVN120 Series, ANP120 Series, CNB-AVN120 Series, CNB-ANP120 Series Communications Manual

...
CNB_V120’S_Version 1.1
2005.01.19
Color CCD Zoom Camera
A(V)N(P)120’S Communication Manual
C&B Technology Inc.
Table of Contents
Features --------------------------------------------------------------------- 3
Basic Functions ------------------------------------------------------------ 4
Command List --------------------------------------------------------------14
• General Control Commands ------------------------- 16
• Focus Control Commands --------------------------- 18
• Zoom/Focus Operation Commands --------------- 19
• Preset Control Commands --------------------------- 21
• Camera Status Control Commands ---------------- 22
• Key Action Commands -------------------------------- 26
Information may change without notice.
This document provides technical information for the user. C&B Tech reserves the right to modify the information in this document as necessary. The customer should make sure that they have the most recent manual version. C&B Tech holds no responsibility for any errors that may appear in this document.
High Sensitive ¼ inch Super HAD CCD
Built in Auto Focus / Auto Iris
Optical Power Zoom Lens A(V)N(P)120’s : 16x
Digital Zoom A(V)N(P)120’s : 12x (192x Zoom)
RS-232C,RS-232 TTL RS-422, RS-485 communication
Mirror Image function
Negative / Positive function
Preset function
A(V)N(P)120
s Protocol Version 1.1
Features
OSD(On Screen Display)
AN(P)122F Freeze, Reverse functions
AN(P)120L Day&Night, Low Shutter functions Freeze function
CNB-A(V)N(P)120 Series
-3-
A(V)N(P)120
s Protocol Version 1.1
Basic Functions
A(V)N(P)120 series Zoom/Focus Lens Control
Zoom/Focus Lens Position Range
Optical zoom lens position range Æ 000 hex ~ 940 hex
Focus lens position controllable range Æ 17a hex ~ 481 hex
(It is not specified)
Digital zoom position Æ 00 hex ~ EA hex
Zoom Lens Speed Mode
Normal(Slow) Zoom Mode : Zoom lens speed is slow.
Quick Zoom Mode : Zoom lens speed is faster than Slow Zoom Mode.
Quick Zoom Trace Mode(QZT) : It is a zoom trace mode that the zoom
speed is Quick.
Non Zoom Trace Mode(NZT)
: When the zoom lens moves, the focus lens doesn’t move, so the picture will not be focused while the zoom lens moves to the target position.
One Shot Focus
The camera starts the auto focusing
action only one time.
When the One Shot Focus Command is
sent, the focus lens moves to adjust the focus for the subject.
Zoom Trace Mode
Zoom Trace : If the zoom lens moves, the focus lens also moves. The focus lens will be moved to a certain calculated position. So, the picture will be focused while the zoom lens moves to the target zoom position.
Slow(Normal) Zoom Trace Mode(SZT) : It is a zoom trace mode that the zoom speed is Slow(normal).
Auto zoom
The zoom lens have a repeated action in a certain zoom range.
-4-
A(V)N(P)120
s Protocol Version 1.1
Focus Lens Control Mode
Auto Focus Mode Æ User can not control the focus lens.
Manual Focus Mode Æ User can control Focus lens in the restricted range of calculated by camera microcomputer.
Special Focus Mode Æ User can control Focus lens as wishes. The controllable range of focus Lens is the total focus range(17a ~ 481 hex). At this mode, the focus lens is controlled by user only.
(!) Auto/Manual mode is called as basic mode. (!!) Even if the current focus mode is Special
mode, you can set the Auto and Manual mode as basic focus mode.
Rain Focus Mode
Rain Focus Mode protect focusing in a certain distance. If the object is placed within the rain focus distance, the camera can’t focus to the object
1m rain focus mode
50cm rain focus mode
10cm rain focus mode
1cm ~ 10cm rain focus mode (!!) see the Focus Control Commands
(Example) 50cm rain focus mode
Non focusing region
(0cm ~ 50cm)
Focusing region
(50cm ~ infinite)
camera 50cm
Focus Lens Operation
Focus Mode
Contents
Auto focusing after zoom trace action
Auto focusing in normal condition
Auto focusing in One Shot AF command
Near / Far action (Key Action command)
S-Near/S-Far action (Key Action command)
Controllable focus range
Auto
Not speci fied
Manu
al
Not speci fied
Special
XOOZoom Trace function
XOO
XXO
OOO
XO(*)OX
OOX
Full range
(*) X : in case the basic mode is Auto mode
O : in case the basic mode is Manual mode
-5-
A(V)N(P)120
s Protocol Version 1.1
Preset Operation
Internal Preset Mode
In this mode, the camera memorizes the Zoom/Focus/Digital zoom posi tion into the Internal Nonvolatile Memory of the camera.
Total 64 presets
External Preset Mode
In this mode, the camera memorizes the Zoom/Focus/Digital zoom posi tion into the Internal Volatile Memory of the camera.
Total 8 presets
Preset Response Packet
(Example) Preset Position Moving Action
Start
Receive command
(Move to Internal Preset No.7)
* 00 C8 07 00 CC
Received Packet
is Correct ?
Yes
Send Command
Response Packet ?
No
Start
Moving to the Preset Position
No
Yes
(Command Response)
End
Send
*00000000AA
It is a response that the zoom/focus lens finish moving to the selected preset position.
Transmission of this packet is deci ded by the Transmission Preset Response Packet (see Preset Control Commands).
Preset Response Packet
: * NN 11 11 11 YY
External Preset Position Saving Method
Select External Preset Number.
Memorize zoom lens position
Arrive at the
Preset Position No.7 ?
Yes
Send Preset
Response Packet ?
No
No
Yes
End
Internal Preset Position Saving Method
Select Internal Preset Number.
Move zoom/focus lens
to internal preset position
what you want to save.
Send
*00111111B0
(Preset Response)
Memorize focus lens position
Memorize digital position
Memorize this position
as Internal preset position
-6-
A(V)N(P)120
s Protocol Version 1.1
Key Action Command(*NN75PPXXYY)
It is a basic camera control command.
Key Code : It is a command option of key action command.
•TheKey Stop command of key action command(
*NN7509XXYY)
: This command must be followed by key action commands.
Continuous key action . : If you want continuous key action service, do not send the key stop command until you want to stop the continuous key action.
See the Key Action Command List.
(Example) Zoom in(Tele) action
Start
Receive Key Tele command
(* NN 75 01 XX YY)
Start Tele Action
Continuous Tele
Received Stop Key ? (*NN 75 09 XX YY)
Yes
Stop Tele Action
End
action
No
(Example) Key Action command “Mirror”
<Host>
Start
Send Key Action command
“Mirror”
(* NN 75 18 XX YY)
More than 25ms delay
Send Key Action command
“Stop”
(* NN 75 09 XX YY)
End
(In the position of the microcomputer of camera)
<Camera>
Start
Receive Key Action command
“Mirror”
(* NN 75 18 XX YY)
Key Action “Mirror”
Received Key Stop command ?
(*NN 75 09 XX YY)
Yes
Complete Key Action “Mirror”
No
-7-
End
(Example) Successive Key Action commands
“Mirror” Æ “Negative”
(False Application)
Key action command “Mirror”
* NN 75 18 XX YY
Don’t Send Key action “Stop”
User (PC)
Key action command “Negative”
* NN 75 19 XX YY
A(V)N(P)120
<Camera><Host>
Execute
Mirror Action
Stop Check
Don’t execute
Negative action
s Protocol Version 1.1
(Right Application)
<Camera><Host>
Key action command “Mirror”
* NN 75 18 XX YY
Execute
Mirror Action
Key action command “Stop”
* NN 75 09 XX YY
Stop Check
User (PC)
Key action command “Negative”
* NN 75 19 XX YY
Execute
Negative action
Key action command “Stop”
* NN 75 09 XX YY
Stop Check
(!!) User must send Key Action command “STOP” before next command.
If you don’t send Key action command “STOP”,
the camera will not operate on Next Key action command.
-8-
A(V)N(P)120
s Protocol Version 1.1
General Operation
Camera ID
00 hex ~ FF hex(256 IDs)
Camera ID check Mode
ID check Skip Mode : The camera will not check the camera ID.
ID check Mode : The camera will check the camera ID. If the ID doesn’t identical to the Current camera ID, the received command will be ignored and deleted.
See the General Control Commands-1
Lens Initial Action
Initial LOGO change
Initial logo can be changed as another characters. But it is possible in the production line only. Total 3 line, 12 characters per line, Total 36 characters.
Default logo : “WAIT” Another logo example
“WELCOME
TO
CNB TECH”
Freeze function
A(V)N(P)120F’s, A(V)N(P)120L’s Freeze : still picture
If the camera operates more than 24 hours. then it is recommended that you execute the camera initial action(lens initial command).
See General control commands-2.
Motion Detection function
If the camera detect some movement, it displays “MD” in the upper side of screen and transmit “Motion detected Packet”.
Motion Detected Response Packet * NN DD DD DD YY
User can control the sensitivity of motion detect.
Reverse function
A(V)N(P)120F’s model only
Reverse : the picture is rotated in a 180­degree arc.
See the General Control Commands-2
See General Control Commands-1.
-9-
A(V)N(P)120
s Protocol Version 1.1
Day&Night / Slow Shutter function
(AV) v3.0
A(V)N(P)120L’s model only
See the General Control Commands-2
Day&Night
Use under low light condition for continuous surveillance.
Day&Night Mode
OFF mode Disable all the Day&Night function. In this mode, the Slow shutter function cam operate.
Slow shutter Maximum Field Number
Index
00
Maximum field
00 0201 0402 0803 1204 1605 2406 3207 6408
12809
See the General Control Commands-2
See the Key Action Commands-2
Sensitivity Level of Slow shutter
AUTO mode Toggle as the brightness of a picture, day mode ÅÆnight mode
In this mode, the Slow shutter function can not operate.
ON mode Night mode always. In this mode, the Slow shutter function can not operate.
Slow shutter function
Use under very low light condition for full color surveillance.
Slow shutter function can operate in Day&Night OFF mode.
Slow shutter max field It is a maximum accumulated field number.
Slow shutter max field index It indicates a maximum accumulated field.
High Sensitivity of Slow shutter The changes of field number is very sensitive to changes in brightness.
Low Sensitivity of Slow shutter
The changes of field number is not very
sensitive to changes in brightness.
Sensitivity Level 00 ~ 1Fhex (32 levels) 00 : Highest Sensitivity 1F : Lowest Sensitivity
See the General Control Commands-2
-10-
A(V)N(P)120
s Protocol Version 1.1
Communication Format
A(V)N(P)120’s RS-232C Communication Format
Communication between camera and user is available by using RS-232C.
Parameter of RS-232C
Baud Rate : 9.6kbps
Start bit : 1
Stop bit : 1
Data bits : 8
None Parity
Flow control : XON/XOFF,RTS/CTS is not supported.
Packet Structure
The basic unit of AN200’s communication is called ‘PACKET’. All bytes of the packet are ASCII format. The first byte of the packet is called ‘Header’. And the second and third bytes are ‘ID’ of the camera. And the forth and the fifth bytes are ‘Command Message’. And from the sixth to the ninth bytes are ‘Command Option’. And the last two bytes are ‘Check sum’ of the packet. The check sum is sum of 9 bytes(byte0~byte8).
The header must be ‘*’.
All bytes of the packet must be a Capital Letter.
Byte
Packet(11bytes)
Header
0 *
0 0 1 0 1 0 1 0 X X X X X X X X
MSB LSB
Camera ID
1
IDH2IDL3CMH4CML5CO16CO27CO38CO49CSH10CSL
Command
message
Command Packet Block
-11-
Command Option Check Sum
MSB LSB
A(V)N(P)120
s Protocol Version 1.1
Bytes of a packet
Byte 0 : Header It must be the ASCII code ‘*’ (2A hex)
Byte 1 : High character of camera ID Byte 2 : Low character of camera ID
Ex) current camera ID : 43 decimal
43 decimal = 2B hex Byte 1 : ASCII code ‘2’(32 hex) Byte 2 : ASCII code ‘B’(42 hex)
Byte 3, Byte 4 : Command
Byte 5 ~ Byte 8 : Option of command
Byte 9 : High byte of check sum Byte 10 : Low byte of check sum
Check Sum Method
The value of check sum is calculated as follows.
Check Sum = Byte0 + Byte1+ … + Byte8
Ex) if ID = 43 d (2B hex), command = 75 hex,
command option = 0000
command byte0~byte8 : * 2B 75 0000 ASCII format
: 2A 32 42 37 35 30 30 30 30
Sum = 2A+32+42+37+35+30+30+30+30
= 1CA hex
So, the Check Sum = CA
So the complete command packet
= * 2B 75 0000 CA
Response from the camera
If the command packet is transmitted to the camera accurately, the camera will send the ‘response packet’. If the camera doesn’t
receive the right command packet, it will not send any response packet.
Header
Byte
0 *
1
D1
2
D2
3
D3
Response Time
Most of the response packet will be transmitted as soon as the camera received the command packet. This time is more than 2ms.
Packet(11bytes)
Response Data Check Sum
4
D4
5
D5
6
D6
7
D7
8
D8
9
CSH10CSL
0 0 1 0 1 0 1 0 X X X X X X X X
MSB LSB
Response Packet Block
-12-
MSB LSB
Communication Time Delay
A(V)N(P)120
s Protocol Version 1.1
When transmitting 1 packet(11 bytes), keep 2 milli-seconds waiting time between bytes.
byte 0
9600bps
Byte delay Packet delay
2msec
1’st command packet
byte2
Delay Time Setting
Advice for communication
After transmitting the first packet, wait for 25 ms to transmit next command packet.
Byte delay time > 2ms
Packet delay time > 25ms
*) Byte delay and Packet delay is a time delay
for stable communication.
byte10
25 msec
byte0
2’nd command pac ket
If the command packet is transmitted only 4 bytes, then the camera will wait for remain 7 bytes continuously. At that moment, if a new packet is transmitted to the camera, the previous 4 bytes will be ignored.
If the camera doesn’t send any response packet, there should be some troubles in communication line or any other communication condition.
If the camera response mode is Skip Command response packet mode, then the camera will not send Command response packet. Even if the response mode is Skip Command response packet mode , the Data response packet will be transmitted to PC.
-13-
A(V)N(P)120
s Protocol Version 1.1
Command List
A(V)N(P)120’s RS-232C Command Reference
All of commands must be capital letters.
‘*’ : Header
‘X’ : Don’t Care
‘x’ : Not specified
•‘NN: Camera ID
‘YY’ : Check Sum
‘Z’,’S’,’M’,’P’,’Q’ : Command Option
‘R’ : Response Packet Data
•‘ ‘ : Indicate Response packet
(!!) : Caution
(AV) : Allowed camera version The command was allowed at the camera micro computer version x.x. Not describe : allowed all version.
Response Packet
If the camera receives any command, it will judge the Response packet. If the command packet hasn’t any error, then the camera will transmit the response packet.
Command Response Packet
It is a response that the camera received the command packet correctly. It has none information of camera status. It indicates only that the command is successfully received.
format : * 00 00 00 00 AA
Caution) This manual did Not describe
Command response packet.
Data Response Packet
It is a response of the camera status or zoom/focus position, or any other information of the camera.
-14-
format : * QQ RR SS MM YY
Preset Action Finished Response
Packet
It is a response that the camera finish moving to the target preset position.
Format : * NN 11 11 11 YY
A(V)N(P)120
s Protocol Version 1.1
Motion Detected Response Packet
If the camera detect motions, the camera
will be send Motion Detected Response Packet. The motion detection area and sensitivity is set by user – see the General Control command table.
Format : *NNDDDDDDYY
( Set the Response Packet )
Response Packet
Command Response Packet
Data Response Packet
Format
*00 00 00 00 AA
*QQRRSSMMYY
*NNA800XXYY
One Shot AF Finished Response
Packet
If user command the One shot AF action command, then the camera will execute one shot AF action. After the action, the camera will send the One Shot AF Finished Response Packet.
Format : *NNAAAAAAYY
Set the Transmission of Response Packet
Set
(Enable mode)
Non
Release
(Disable Mode)
*NNA801XXYY
Non
Example of Commands
(cam id = 00)
*00710000B2
(reset)
*00000000AA
*007C0200C6 (read camera status) *01000000AB
Preset Action Finished Response Packet
Motion Detected Response Packet
One Shot AF Finished Response Packet
*NN 111111 YY
*NNDDDDDDYY
*NNAAAAAAYY
*NNAA01XXYY
*NNA102PSYY
*NN9F01XXYY
*NNAA00XXYY
*NNA100XXYY
*NN9F00XXYY
(Example) One Shot AF & One shot AF finished response packet (Camera ID = 00)
End
Send
*00000000AA
(Command Response)
Start
Receive One shot AF command
* 00 A0 00 00 BB
No
Yes
Received Packet
is Correct ?
Send Command
Response Packet ?
No
Yes
Start
One Shot AF action
Finished AF?
Yes
Send One Shot AF
Response Packet ?
No
End
*00C60100C4
(move to external
preset 01)
*00 111111 B0
If motion is detected
*00DDDDDD22
*00A00000BB
(one shot AF)
*00AAAAAA10
No
Yes
*00AAAAAA10
(One Shot AF Response)
Send
-15-
General Control Commands - 1
A(V)N(P)120
s Protocol Version 1.1
Command
Message
ID read
Command Packet
*NN71XXXXYYReset camera
*NN72XXXXYYID on/off
*NN73XXXXYY *RR000000YY
*NN74PPXXYYID change
*NN75PPXXYYKey Action
*NN76PPXXYYPower on/off
Command
Option
PP
Contents
Reset the camera
Toggle the camera ID. ON ÆOFFÆON…..
Read Current Camera ID
x
Æ 00 ~ FF hex(total 256 IDs) Camera IDRR
Change Camera ID Æ 00 ~ FF hex(total 256 IDs) New Camera IDxPP
Key Action will be activated by this command. Æ Key Code
xPP
See Key action command
Camera Power ON/OFF ÆOFF
00
ÆON
01
Set the transmission
of Command Response Packet
Motion Detection
*NNA4PPXXYYID check
*NNA8PPXXYY
*NNA1QQPSYY
PP
PP
QQ
P
S
Camera will (not) check the camera ID ÆDisable ID check
00
ÆEnable ID check
01
(Don’t)Transmit Command Response Packet ÆEnable Transmission of Command Response Data
00
ÆDon’t Transmit the Command Response Data
01
ÆDisable Motion Detection Function
00
ÆDisplay only “MD” in the screen
01
ÆDisplay “MD” and transmit MD Alarm Packet
02
ÆMD area : Upper side of the picture
0
ÆMD area : Lower/Left/Right side of the picture
1
ÆMD area : Center of the picture
2
ÆMD area : Whole Region of the picture
3
Æ2 hex ~ F hex : MD Sensitivity
x
(high sensitivity ~ low sensitivity)
(!!) Motion Detection Response(Alarm) Packet :
*NNDDDDDDYY
(ex) Set “MD” and transmission of the MD Response packet, “MD” area is Center, MD sensitivity 7.
* NN A1 02 27 YY
-16-
General Control Commands - 2
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Freeze/Live
Reverse/Normal
Change Day&Night
mode
Set the Slow shutter max field
Command Packet
*NNADXXXXYYLens Initial
*NNAEPPXXYY
*NNAFPPXXYY
*NN9DXXXXYY
*NN9CPPXXYY
Command
Option
PP
PP
PP
--
01 00
01 00
--
00~
09
Contents
Execute Lens Initial action. After this action, the zoom and focus lenses will be moved to the working position. And continue the previous working.
If this lens initial action is finished, then the
Command Response Packet will be transmitted.
ÆFreeze the picture ÆLive (release the freeze state)
(!!) AN(P)122F,AN(P)120L model only
ÆReverse the picture (rotate 180 degrees) ÆNormal state (release the reverse state)
(!!)AN(P)122F model only
Change Day&Night mode …Æ OFF Æ AUTO Æ ON Æ OFF Æ ….
ÆSlow shutter max field index(00~09) Index : 00 01 02 03 04 05 06 07 08 09 Max Field : 00 02 04 08 12 16 24 32 64 128
Read the Sensitivity level
of Slow shutter
Set the Sensitivity level
of Slow shutter
*NN9AXXXXYY *RR000000YY
*NN9BPPXXYY
RR
PP
00 ~
1F
00 ~
1F
Æ Sensitivity level of Slow shutter
Level Range : 00 ~ 1F
Æ Sensitivity level of Slow shutter
Level Range : 00 ~ 1F
-17-
Focus Control Commands
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Set Focus Auto
Mode
Set Focus Manual
Mode
Set Focus Special
Mode
One shot Auto Focus
Protect Auto Focusing
Command Packet
*NN4EXXXXYY
*NN4FXXXXYY
*NNABPPXXYY
*NNA0XXXXYY
*NNA2XXXXYY
Command
Option
PP
Contents
Set Focus Mode as Auto Focusing Mode (Basic focus mode)
Set Focus Mode as Manual Focusing Mode (Basic focus mode)
Set Focus Mode as Special Focusing Mode
00
ÆDisable Focus Special Mode, set Basic focus mode only
ÆSet Focus Special Mode
01
Execute Auto Focusing only one time (!!) See Key Action Commands-2
Toggle command Protect All Auto Focusing function. ProtectÆreleaseÆprotectÆreleaseÆ…
(!!)Power on : default status is release mode
Set Rain Focus Mode
Set the Transmission of the One Shot
AF Finished Response
Packet
*NNA3PPSSYY
*NN9FPPXXYY
PP
SS
PP
Protect focusing at a certain distance.
00
ÆRM0 : Disable All Rain Focus Mode
01
ÆRM1 : 50cm Rain Focus Mode
02
ÆRM2 : 10cm Rain Focus Mode
03
ÆRM3 : 10cm~1cm Rain Focus Mode
04
ÆRM4 : 1m Rain Focus Mode - Æ00 hex ~ 0A hex : Rain Focus Distance(RM3 only)
X
(ex) protect focusing in the distance 10cm
* NN A3 02 00 YY
(Don’t) Transmit One Shot AF finish Response Packet when the camera finished the One Shot AF action.
ÆDon’t Transmit One Shot AF finish Response
00
Packet ÆEnable Transmission of One Shot AF finish
01
Response Packet
(!!) One Shot AF finish Response Packet
*NNAAAAAAYY
-18-
Zoom/Focus Operation Commands - 1
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Read Zoom Position
Read Focus Position
Move Zoom lens to selected zoom position(1)
Move Zoom lens to selected zoom position(2)
Command Packet
*NNC0XXXXYY *0ZZZRR00YY
*NNC1XXXXYY *0ZZZ0000YY
*NN470ZZZYY
*NNA90ZZZYY
Command
Option
ZZZ
RR
ZZ
PP
Contents
ÆCurrent Zoom Lens Position
x
( 000~940 hex )
ÆDigital Zoom Position
x
xZZZ
xZZZ
xZZZ
x
x
( 00 ~ EA hex )
ÆCurrent Focus Lens Position
( 17Ahex~481hex )
ÆTarget Zoom Lens Position
( 000~940 hex )
(!!) Moving Method : Non Zoom Tracking Mode
ÆTarget Zoom Lens Position
( 000~940 hex )
(!!) Moving Method : Slow Zoom Tracking Mode
ÆZoom Ratio
( 00 ~ 16 hex )
ÆDigital Zoom Position
( 00 ~ EA hex )
(!!) Moving Method : Slow Zoom Tracking Mode
Move Zoom lens to selected zoom position(3)
Move Focus lens to selected focus position
*NNACZZPPYY
*NN480ZZZYY
ZZZ
<Digital position for zoom ratio>
Zoom ratio PP(Digital position(hex))
16 00 20 33 24 54 32 80 48 AB 64 C0 93 D4 114 DC 160 E5 192 EA
(ex) Move to zoom ratio x14
* NN AC 14 00 YY
(ex) Move to zoom ratio x48 (Digital position = 80h)
* NN AC 16 AB YY
x
ÆTarget Focus Lens Position
( 17a~481 hex )
(!!) The range of ZZZ
Focus Special Mode : 17a~481hex Focus Auto/Manual Mode :
The range of ZZZ is decided by camera.
-19-
Zoom/Focus Operation Commands - 2
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Move Zoom Relative Tele
Move Zoom Relative Wide
Set Zoom Step for S-Tele,S-Wide
Command Packet
*NNA5ZZXXYY
*NNA6ZZXXYY
*NNA7ZZXXYY
Command
Option
SS
RR
Contents
Move Zoom Lens as received steps from current position.
xZZ
Æ00 ~ FF hex : zoom step to move(Tele) (!!) Moving Method : Non Zoom Tracking Mode
(!!) See Key Action Commands-2
(ex) move 4 steps to tele
* NN A5 04 00 YY
Move Zoom Lens as received steps from current position.
xZZ
Æ00 ~ FF hex : zoom step to move(Wide)
(!!) Moving Method : Non Zoom Tracking Mode
Set Zoom steps to use in S-Tele,S-Wide command of Key Action Command. Æ 00 ~ FF hex : zoom step of S-Tele,S-WidexZZ
Set zoom start ratio and zoom stop ratio. ÆZoom Start Ratio
x
(00 ~ 10 hex) 10hex = 16dec
ÆZoom Stop Ratio
x
(00 ~ C0 hex) C0hex = 192dec
(!!) If SS=00, the zoom start ratio doesn’t change.
If RR=00, the zoom stop ratio doesn’t change. Must be SS <= RR
(!!) RR
10hex ~ C0hex,
RR must be the integral time of 11
Set Zoom Start ratio /
Stop ratio
*NN9ESSRRYY
Ratio : 00 ~ 16 RR (hex) : 00 ~ 10
Ratio : 16, 32, 40, 56, 72, 80, 88, 104, 112 RR (hex) : 10, 20, 28, 38, 48, 50, 58, 68, 70
Ratio : 120,136,144,160,176,192 RR (hex) : 80, 88, 90, A0, B0, C0
(ex) Set zoom start : 3x, zoom stop 112x(=70hex)
* NN 9E 03 70 YY
(ex) Set zoom stop ratio 88x(=58 hex),
zoom start ratio : do not change
* NN 9E 00 58 YY
-20-
Preset Control Commands
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Save current position as Internal Preset Position
Move to selected Internal Preset Position(NZT)
Move to selected Internal Preset Position(SZT)
Move to selected Internal Preset Position(QZT)
Save received Zoom position as External Preset Position
Save received Focus position as External Preset Position
Command Packet
*NNC7PPXXYY
*NNC8PPXXYY
*NNCFPPXXYY
*NND0PPXXYY
*NNC3PZZZYY
*NNC4PZZZYY
Command
Option
P
ZZZ
P
ZZZ
Contents
Æ00 ~ 3F hex : Index of Internal Preset Position
xPP
(total 64 preset position)
xPP
Æ00 ~ 3F hex : Index of Internal Preset Position
(total 64 preset position)
(!!) Moving Method : Non Zoom Tracking Mode
xPP
Æ00 ~ 3F hex : Index of Internal Preset Position
(total 64 preset position)
(!!) Moving Method : Slow Zoom Tracking Mode
xPP
Æ00 ~ 3F hex : Index of Internal Preset Position
(total 64 preset position)
(!!) Moving Method : Quick Zoom Tracking Mode
x
Æ0 ~ 7 hex : Index of External Preset Position
(total 8 preset position)
ÆZoom Position ( 000 ~ 940 hex )
x
x
Æ0 ~ 7 hex : Index of External Preset Position
(total 8 preset position)
Æ Focus Position ( 17A ~ 481 hex )
x
Save received D-Zoom position
as External Preset Position
Move to selected External Preset Position(NZT)
Move to selected External Preset Position(SZT)
Move to selected External Preset Position(QZT)
Set the Transmission of the Preset Response
Packet
*NNC50PZZYY
*NNC60PXXYY
*NNC90PXXYY
*NNCA0PXXYY
*NNAAPPXXYY
(AV) v2.4
P
ZZ
PP
Æ0 ~ 7 hex : Index of External Preset Position
x
(total 8 preset position)
Æ Digital Zoom Position ( 00 ~ EA hex )
x
Æ0 ~ 7 hex : Index of External Preset Position
xP
(!!) Moving Method : Non Zoom Tracking Mode
Æ0 ~ 7 hex : Index of External Preset Position
xP
(!!) Moving Method : Slow Zoom Tracking Mode
Æ0 ~ 7 hex : Index of External Preset Position
xP
(!!) Moving Method : Quick Zoom Tracking Mode
(Don’t) Transmit Preset Response Packet when the zoom lens moved to the target preset position.
ÆDon’t Transmit Preset Response Data
00
ÆEnable Transmission of Preset Response Data
01
(!!) Preset response packet : *NN111111YY
-21-
Camera Status Control Commands - 1
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Read Function OSD display mode
Change F-OSD display mode
Read Camera Status
Read Camera Version
Command Packet
*NN79XXXXYY *RR000000YY
*NN7APPXXYY
*NN7BPPXXYYMirror on/off
*NN7C0PXXYY *0R000000YY
*NN7DXXXXYY *RR000000YY
Command
Option
RR
PP
PP
P
Contents
Read the function OSD display mode of camera
00
ÆON mode : All OSD display is enable
01
ÆOFF mode : All OSD display is disable except for Menu OSD display.
Change the Function-OSD display mode of camera ÆF-OSD display ON mode
00
ÆF-OSD display OFF mode
01
ÆMirror OFF
00
ÆMirror ON
01
Focus Mode Æ R(0)[auto], R(1)[manual]
0
ID display mode Æ R(0)[OFF],R(1)[ON]
1
Backlight state Æ R(0)[OFF],R(1)[ON]
3
Flickerless state Æ R(0)[OFF],R(1)[ON]
4
Auto Backlight mode Æ R(0)[OFF],R(1)[ON]
8
Æ Current Camera u-com Version
xRR
RR = 23, version2.3
Read current Digital Effect
state
Read Exposure Mode
Set Exposure Mode
*NN7EXXXXYY *0R000000YY
*NN80XXXXYY *0R000000YY
*NN810PXXYY
Æ No Digital effect is activated
R
R
P
0
ÆWIDE(Cinema) effect ON
1
ÆART on
2
ÆMirror on
3
ÆNegative on
4
ÆColor off
5
ÆMosaic on
6 0
ÆAuto Exposure mode
1
ÆShutter Manual mode
2
ÆIris Manual mode
3
ÆAGC Manual mode
4
ÆShutter/Iris/AGC all Manual mode
ÆAuto Exposure mode
0
ÆShutter Manual mode
1
ÆIris Manual mode
2
ÆAGC Manual mode
3
ÆShutter/Iris/AGC all Manual mode
4
ÆAGC Off mode
5
-22-
Camera Status Control Commands - 2
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Set Backlight Mode
Read Backlight Level
Adjust Backlight Level
Read Shutter Speed
Counter
Set Shutter Speed
Set AGC Level
Command Packet
*NN82PPXXYY
*NN83XXXXYY *RR000000YY
*NN84PPXXYY
*NN85XXXXYY *RR000000YY
*NN86PPXXYY
*NN87PPXXYY
Command
Option
PP
Contents
00
ÆBacklight mode OFF
01
ÆBacklight mode ON
x
Æ 00 ~ FF : Backlight levelRR
Æ 00 ~ FF : Backlight levelxPP
Æ00 ~ 27 : Shutter counter
xRR
00 : 1/60 01 : 1/125 04 : 1/250 09 : 1/500 14 : 1/1000 21 : 1/2000 25 : 1/4000 27 : 1/10000
Æ 00 ~ 27 : Shutter counterxPP
Æ 00 hex ~ FF hex : AGC level dataxPP
Read Brightness Level
Read Iris Level
Set Iris Level
Read AGC Level
Set Negative On/Off
Read Iris Area Weighting value
*NN88XXXXYY *RR000000YY
*NN89XXXXYY *RR000000YY
*NN8APPXXYY
*NN8BXXXXYY *RR000000YY
*NN8CPPXXYY
*NN8EXXXXYY *RS000000YY
PP
Æ 00 hex ~ 60 hex : Brightness level dataxRR
Æ 00 hex ~ FF hex : Iris control level dataxRR
Set the Iris Open Level
Æ 00 hex ~ FF hex : Iris control level dataxPP
Æ 00 hex ~ FF hex : AGC control level dataxRR
ÆNegative mode ON
00
ÆNegative mode OFF
01
R S
ÆInner area weight data ÆOuter area weight data
-23-
Camera Status Control Commands - 3
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Write Iris Area Weighting value
Set Flickerless Mode
Set Brightness Level
Read White Balance
Mode
Command Packet
*NN8FPQXXYY
*NN90PPXXYY
*NN91PPXXYY
*NNB0PPXXYYColor On/Off
*NNB1XXXXYY *RR000000YY
Command
Option
P Q
PP
PP
RR
ÆInner area weight data ÆOuter area weight data
00
ÆOFF(inactive)
01
ÆON(active)
Æ 00 hex ~ 60 hex : Brightness level dataPP
ÆColor OFF
00
ÆColor ON
01
ÆAuto Mode
00
ÆSpecial
01
ÆIndoor
02
ÆOutdoor
03
ÆManual
04
ÆPush Auto
05
Contents
Set White Balance
Mode
Read current Manual WB Mode Data
Set Manual WB
Mode Data
Read current Sharpness Data
Set Sharpness Data
Read RED adjust data at Special WB mode
*NNB2PPXXYY
*NNB3XXXXYY *RR000000YY
*NNB4PPXXYY
*NNB5XXXXYY *RR000000YY
*NNB6PPXXYY
*NNB7XXXXYY *RR000000YY
PP
00 01 02 03 04 05
ÆAuto Mode ÆSpecial ÆIndoor ÆOutdoor ÆManual ÆPush Auto
Æ 00 hex ~ 60 hex : Manual WB control dataRR
Æ 00 hex ~ 60 hex : Manual WB control dataPP
Æ 00 hex ~ 0F hex : Sharpness dataRR
Æ 00 hex ~ 0F hex : Sharpness dataPP
Æ 00 hex ~ FF hex : RED adjust data RR
-24-
Camera Status Control Commands - 4
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Read BLUE adjust data at Special WB mode
Set RED adjust data at Special WB mode
Set BLUE adjust data at Special WB mode
Read Digital Effect
status
Command Packet
*NNB8XXXXYY *RR000000YY
*NNB9PPXXYY
*NNBAPPXXYY
*NN92XXXXYY *RR000000YY (AV) v2.7
Command
Option
RR
Contents
Æ 00 hex ~ FF hex : BLUE adjust data RR
Æ 00 hex ~ FF hex : RED adjust data PP
Æ 00 hex ~ FF hex : BLUE adjust data PP
Æ Current Digital Effect status
RR : 1byte hex bit7 : not used, bit6 : not used bit5: <1>mosaic On <0> off bit4: <1>monochrome <0> color bit3 : <1>negative On <0>off bit2 : <1>mirror On <0>off bit1 : <1>art On <0>off bit0 : <1>wide cinema On <0>off
ex) RR = 23,
then, Current Digital Effect status = 23hex
23(hex) = 0010 0011 (bin)
mosaic On, art On, wide cinema On
-25-
Key Action Commands - 1 (*NN 75 PP XX YY)
A(V)N(P)120
s Protocol Version 1.1
Command
Option(
PP)
09
00 01 02 03 04 05 06 07
08 0A 0B 0C 0D 0E
0F
10
11
12
13
14
15
16
17
18
19 1A 1B 1C 1D 1E
1F
Key Code
KC_STOP
KC_NKEY KC_TELE KC_QTELE KC_WIDE KC_QWIDE KC_FAR KC_NEAR KC_SFAR KC_SNEAR KC_POWER KC_FOCUS_AM KC_F_PUSH KC_M_SET KC_INITIAL KC_OSD_ONOFF
KC_MENU KC_SET_MENU KC_LANGUAGE KC_BL KC_FLICKER KC_SSC_UP KC_SSC_DN KC_D_EFT KC_MIRROR KC_NEGA KC_MONO KC_WB_MODC KC_SRP_UP KC_SRP_DN KC_BRT_UP KC_BRT_DN
Contents
Key Action Stop Action
This Command must be followed after the other key action commands below. If continuous key service is needed, don’t send this command. And, when you want to stop the continuous action, send this Stop command.
Non Key ServiceSlow zoom TeleQuick zoom TeleSlow zoom WideQuick zoom WideMove focus to Far (in manual focus mode)Move focus to Near(in manual focus mode)Move focus to S-Far (in manual focus mode) (1step)Move focus to S-Near(in manual focus mode)(1step)Toggles Power ON/OFFToggles Focus Auto/Manual ModeActivates focus auto Action only one time(in manual focus mode)In Menu mode, toggles item selection mode / item adjust modeInitialize camera to Manufacturer’s conditionsToggles Function OSD Off/On mode
Toggles Menu On/OffToggles Menu On/OffChange OSD languageToggles Backlight modeToggles Flicker modeSutter speed counter UpSutter speed counter DownSwitches Digital Effect modesToggles Mirror modeToggles Negative modeToggles Mono/Color modeChange White Balance modeSharpness Data UpSharpness Data DownBrightness Data UpBrightness Data Down
(CinemaÆArtÆMirrorÆNegaÆMonoÆMosaic)
20
21
22
23
24
25
26
KC_ZM_SUP KC_ZM_SDN KC_ZM_EUP KC_ZM_EDN KC_WB_PUSH KC_AWB_UP KC_AWB_DN
•Zoom Start Ratio Up
•Zoom Start Ratio Down
•Zoom Stop Ratio Up
•Zoom Stop Ratio Down
•In white balance push auto mode(manual mode), It indicates Push Action.
•Switch AWB modes
•Switch AWB modes in reverse sequence of KC_AWB_UP
(autoÆspecialÆindoorÆoutdoorÆhue controlÆpush auto)
-26-
Key Action Commands - 2 (*NN 75 PP XX YY)
A(V)N(P)120
s Protocol Version 1.1
Command
Option(PP)
27 28
29 2A 2B 2C 2D 2E
2F
30
31
32
33
34
38
39 3A 3B 3C 3D 3E
3F
Key Code
KC_R_UP KC_R_DN KC_B_UP KC_B_DN KC_HUE_UP KC_HUE_DN KC_AE_MAN KC_IRIS_UP KC_IRIS_DN
KC_AGC_UP KC_AGC_DN KC_LED KC_AUTOZOOM KC_AGC_OFF KC_CINEMA KC_MOSAIC KC_ART KC_AUTO_PAN KC_PAN_RIGHT KC_PAN_LEFT KC_TILT_UP KC_TILT_DN
Contents
•In Special WB mode, R gain Up
•In Special WB mode, R gain Down
•In Special WB mode, B gain Up
•In Special WB mode, B gain Down
•In Hue adjust WB mode, Hue up(the picture become Reddish)
•In Hue adjust WB mode, Hue down(the picture become Bluish)
•Set AE mode to Manual mode
•Increase Iris Level
•Decrease Iris Level
Increase AGC gainDecrease AGC gainExternal LED On/Off toggleStart Auto Zoom ActionSet AGC fix modeToggles Wide Picture modeToggles Mosaic modeToggles Art modeAuto Panning action(only act in digital zoom region)Pan Right action(only act in digital zoom region)Pan Left action(only act in digital zoom region)Tilt Up action(only act in digital zoom region)Tilt Down action(only act in digital zoom region)
40
41
42
43
44
45
46
47
48
49
KC_AUTO_TILT KC_STELE KC_SWIDE KC_MB_RESET KC_FREEZE KC_REVERSE KC_1SHOT_AF KC_DAYNIGHT KC_MAXFLDUP KC_MAXFLDDN
Auto Tilting action (only act in digital zoom region)Step TeleStep WideMemory Board Reset , AN(P)122F,120L model onlyToggles Freeze/Live mode , AN(P)122F,120L model onlyToggles Reverse/Normal mode ,AN(P)122F model onlyExecute Auto Focusing one timeDay&Night mode change, OFFÆAUTOÆON, AN(P)120L onlySlow shutter max field up, AN(P)120L onlySlow shutter max field down, AN(P)120L only
-27-
Lens Refresh Commands
A(V)N(P)120
s Protocol Version 1.1
Command
Message
Read Refresh On/Off Status
Set Refresh On/Off Status
Read Refresh Time Period
Set Refresh Time Period
Lens Refresh
Command Packet
*NNBC0000YY
-> *RRQQ0000YY
*NNBDPP00YY
*NNBE0000YY
->*RR000000YY
*NNBFPP00YY
*NNAD0000YY
Command
Option
RR
RR
PP
00 01
00
01
Contents
X
XPP
Camera ID
Auto Refresh Off Auto Refresh ON
Auto Refresh Off
Auto Refresh On
01(Hex) ~ FE(Hex) 1Hour ~ 7 daysXRR
01(Hex) ~ FE(Hex) 1 Hour ~ 7 days
Lens Refresh Same as Lens Initial Command
Lens Refresh Request
Lens Initial End
->*NNCCCCCCYY
->*NNBBBBBBYY
Lens Initial request to Camera Control Device
Lens Initial End
-28-
A(V)N(P)120
Pelco “D” Protocol Commands
1. Pelco “D” Byte Format RS485, 2400bps, 1 Start bit, 8 data bits, 1 stop bit, no parity
2. Pelco “D” Message Format
The Sync Byte is always 0xFF. The Address is the logical address of the receiver/driver device being controlled.
3. Checksum Format Byte 2 + Byte 3 + Byte 4 + Byte 5+ Byte 6 = Checksum
4. Pelco “D” Standard Command Set Command 1 and 2 Format
s Protocol Version 1.1
BYTE 7BYTE 6BYTE 5BYTE 4BYTE 3BYTE 2BYTE 1
ChecksumData2Data1Command2Command1AddressSync Byte
Command2
Focus
Far
Zoom
Wide
The reserved bit should be set to 0
5. AN120L (P) Pelco “D” Message Common Message
Bit 0Bit 1Bit 2Bit 3Bit 4Bit 5Bit 6Bit 7
ReservedReservedSenseCommand1
Tele
Auto
/Manual
Scan
Zoom TeleFunction
Zoom WideFunction
Camera On/Off
Iris
Close
Iris
Open
Focus
Near
Always 0RightLeftUpDownZoom
BYTE 7BYTE 6BYTE 5BYTE 4BYTE 3BYTE 2BYTE 1
Checksum0x000x000x200x00Cam ID0xFFMSG
-29-
Checksum0x000x000x400x00Cam ID0xFFMSG
Focus NearFunction
Checksum0x000x000x000x01Cam ID0xFFMSG
Focus FarFunction
Checksum0x000x000x800x00Cam ID0xFFMSG
6. CNB Camera(AN(P)120) Control Pelco “D” Message
Won woo ENG RC-100 Pelco D Remote Controller (PROG Button)
AN(P)120 Menu On/Off Won woo : Menu On/OffFunction
A(V)N(P)120
s Protocol Version 1.1
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x000x000x000x40Cam ID0xFFMSG
MSG
Pelco Pelco Keyboard (95 + PATTERN)
AN(P)120 Menu On/Off Pelco : Menu On/OffFunction
Bido Pelco System Keyboard (Preset + 98)
AN(P)120 Menu On/Off Bido : Menu On/OffFunction
CNB Tec DVR (4ch/16ch)
AN(P)120 Menu On/Off CNB DVR : Menu On/OffFunction
Checksum0x000x000x000x40Cam ID0xFF
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x5f0x000x230x00Cam ID0xFFMSG
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x620x000x030x00Cam ID0xFFMSG
Camera Power On/Off
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x000x000x000x40Cam ID0xFFMSG
AN(P)120 Power On/Off CNB : Power On)Function
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x000x000x000x88Cam ID0xFFMSG
AN(P)120 Power On/Off CNB : Power OffFunction
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
Checksum0x000x000x000x08Cam ID0xFFMSG
-30-
Pelco-D Stop Message
A(V)N(P)120
AN(P)120 Stop Function
s Protocol Version 1.1
BYTE 7BYTE 6BYTE 5 BYTE 4BYTE 3BYTE 2 BYTE 1
ChecksumDon’t careDon’t care0x000x00Cam ID0xFFMSG
-31-
A(V)N(P)120
s Protocol Version 1.1
BLANK PAGE
BLANK PAGE
-32-
Loading...