Professional Documents
Culture Documents
5
2006.11.23
- INDEX -
-2-
A(M)156XN(P)L’s Protocol Version 1.5
Communication Format
Packet(11bytes)
Command
Header Camera ID message Command Option Check Sum
0 1 2 3 4 5 6 7 8 9 10
Byte * IDH IDL CMH CML CO1 CO2 CO3 CO4 CSH CSL
0 0 1 0 1 0 1 0 X X X X X X X X
MSB LSB MSB LSB
-3-
A(M)156XN(P)L’s Protocol Version 1.5
Packet(11bytes)
0 1 2 3 4 5 6 7 8 9 10
Byte * D1 D2 D3 D4 D5 D6 D7 D8 CSH CSL
0 0 1 0 1 0 1 0 X X X X X X X X
MSB LSB MSB LSB
-4-
A(M)156XN(P)L’s Protocol Version 1.5
When transmitting 1 packet(11 bytes), After transmitting the first packet, wait
keep 2 for
milli-seconds waiting time between 25 ms to transmit next command packet.
bytes.
• Packet delay time > 25ms
9600bps
-5-
A(M)156XN(P)L’s Protocol Version 1.5
Command List
A(M)156XN(P)L’s RS-232C
Response Packet
Command Reference
If the camera receives any command, it will
All of commands must be capital letters. judge the Response packet. If the
command packet hasn’t any error, then the
• ‘*’ : Header camera will transmit the response packet.
• ‘X’ : Don’t Care
• ‘x’ : Not specified • Command Response Packet
• ‘NN’ : Camera ID It is a response that the camera received
• ‘YY’ : Check Sum the command packet correctly.
• ‘Z’,’S’,’M’,’P’,’Q’ : Command Option It has none information of camera status.
It indicates only that the command is
• ‘R’ : Response Packet Data successfully received.
• ‘ ‘ : Indicate Response packet
• (!!) : Caution format : * 00 00 00 00 AA
• (AV) : Allowed camera version
The command was allowed at the camera Caution) This manual did Not describe
micro computer version x.x. Command response packet.
Not describe : allowed all version.
• Data Response Packet
It is a response of the camera status or
zoom/focus position, or any other
information of the camera.
format : * QQ RR SS MM YY
-6-
A(M)156XN(P)L’s Protocol Version 1.5
-7-
A(M)156XN(P)L’s Protocol Version 1.5
( General Response Packet - 2 )
*1) when focus target move(48 command) actions, if focus mode is auto or manual and the moving range
of focus lens is not in the focus boundary then the camera sends the packets to the target system.
*2) when focus target move(48 command) actions, if zoom lens is tracking then focus lens is controlling
by camera so it can’t controll by manual
*3) At internal or external preset mode, when you try to set the non zoom tracking mode.
if zoom lens is tracking or abnormal preset position, then you can’t move to non zoom tracking mode.
*4) At internal or ecternal preset mode, when you try to set the non zoom tracking mode.
Camera can move to non zoom tracking mode.
(Example) One Shot AF & One shot AF finished response packet (Camera ID = 00)
Start Start
One Shot AF action
No Yes
End Received Packet
is Correct ?
-8-
A(M)156XN(P)L’s Protocol Version 1.5
-9-
A(M)156XN(P)L’s Protocol Version 1.5
- 10 -
A(M)156XN(P)L’s Protocol Version 1.5
ex) RR = 23,
then, Current Digital Effect status = 23hex
23(hex) = 0010 0011 (bin)
mosaic On, art On, wide cinema On
Negative On/Off *NN8CPPXXYY PP 00 Negative mode OFF
01 Negative mode ON
Function OSD Read *NN79XXXXYY RR 00 Read the function OSD display mode of camera
Display Mode *RR000000YY 01 ON mode : All OSD display is enable
OFF mode : All OSD display is disable except for
Menu OSD display.
Change *NN7APPXXYY PP 00 Change the Function-OSD display mode of camera
01 F-OSD display ON mode
F-OSD display OFF mode
Menu OSD On/Off *NN78PP00YY PP 00 Menu Off
Control 01 Menu On
Menu OSD Read *NN93XXXXYY RR 00 Menu OSD Off Status
Status On/Off status *NNRR0000YY 01 Menu OSD On Status
- 11 -
A(M)156XN(P)L’s Protocol Version 1.5
AE Control Command
Command Command Command
Command Contents
Message Packet Option
Backlight Mode Set *NN82PPXXYY PP x 00 ~ 0A: Backlight Mode
- 12 -
A(M)156XN(P)L’s Protocol Version 1.5
One Shot Auto Execute only *NNA0XXXXYY - - Execute Auto Focusing only one time
Focus one time (!!) See Key Action Commands-2
Protect Auto Toggle *NNA2XXXXYY - - Toggle command
Focusing Protect All Auto Focusing function.
Protectreleaseprotectrelease…
(!!)Power on : default status is release mode
Rain Focus Set *NNA3PPXXYY Protect focusing at a certain distance.
Mode PP 00 RM0 : Disable All Focal Range
01 RM1 : 10cm Focal Range
02 RM2 : 50cm Focal Range
03 RM3 : 80cm Focal Range
04 RM4 : 130cm Focal Range
05 RM5: 2m Focal Range
06 RM6: 4m Focal Range
- 13 -
A(M)156XN(P)L’s Protocol Version 1.5
- 14 -
A(M)156XN(P)L’s Protocol Version 1.5
Step Number Set *NNA7ZZXXYY Set Zoom steps to use in S-Tele,S-Wide command of
of Tele/Wide Key Action Command.
ZZ x 00 ~ FF hex : zoom step of S-Tele,S-Wide
Zoom Start / Set *NN9ESRRRYY Set zoom start ratio and zoom stop ratio.
Stop Position S x Zoom Start Ratio
(!!) S → 0: Set Zoom start Ratio
1: Set Zoom stop Ratio
Zoom Start Ratio
RRR x (1 ~ 1E hex) 1E hex = 30 dec
Zoom Stop Ratio
(1 ~ 12C hex) 12C hex =300 dec
(!!) RRR
1 ~ 12C hex
Zoom Stop Ratio > Zoom Start Ratio
Read *NN99XXXXYY Read zoom start ratio and zoom stop ratio
*SS0RRR00YY SS x Zoom Start Ratio (Optical Zoom Ratio)
(00 hex ~ 1E hex)
RRR x Zoom Stop Ratio (Digital Zoom Ratio)
(00 hex ~ 12C hex)
Reference to the Set Zoom Start ratio/Stop ratio
command.
- 15 -
A(M)156XN(P)L’s Protocol Version 1.5
Move to Non Zoom *NNC8PPXXYY PP x 00 ~ A7 hex : Index of Internal Preset Position
Selected IPP* Tracking (total 167 preset position)
(!!) Moving Method : Non Zoom Tracking Mode
Save Received Zoom position *NNC3PZZZYY P x 0 ~ 7 hex : Index of External Preset Position
position as (total 8 preset position)
EPP*
The Set *NNAAPPXXYY (Don’t) Transmit Preset Response Packet when the
Transmission zoom lens moved to the target preset position.
of The PRP* PP 00 Don’t Transmit Preset Response Data
01 Enable Transmission of Preset Response Data
(!!) Preset response packet : *NN111111YY
* IPP (Internal Preset Position) , EPP (External Preset Position) , PRP ( Preset Response Packet)
- 16 -
A(M)156XN(P)L’s Protocol Version 1.5
- 17 -
A(M)156XN(P)L’s Protocol Version 1.5
- 18 -
A(M)156XN(P)L’s Protocol Version 1.5
- 19 -
A(M)156XN(P)L’s Protocol Version 1.5
The Sync Byte is always 0xFF ( If Camera ID is 0xFF, then The Sync Error is possible )
Auto/
Reser- Reser- Camera Iris Iris Focus
CMD1 Sense Manua
ved ved On/off Close Open Near
l scan
Focus Zoom Zoom
CMD2 Down Up Left Right Always0
far wide tele
The reserved bits (6 and 5) should be set to 0.
- Camera Power
On : 0xFF + ID + 0x88 + 0x00 + 0x00 + 0x00 + checksum
OFF : 0xFF + ID + 0x08 + 0x00 + 0x00 + 0x00 + checksum
- 20 -
A(M)156XN(P)L’s Protocol Version 1.5
BLANK PAGE
- 21 -