Interface Specifications

HD Integrated Camera

HD Integrated Camera
Interface Specifications
AW-HE2 Series

Document No.
Version 1.03
October 9, 2012

AVC Networks Company
Panasonic Corporation© Panasonic Corporation 2012 All Rights Reserved.

- 1 -Interface Specifications

HD Integrated Camera

Change History
Date
Nov. 26,2012

Description

VersionIssued the first edition.

© Panasonic Corporation 2012 All Rights Reserved.

1.00

- 2 -

HD Integrated Camera

Interface Specifications

Contents
1. Introduction....................................................................................................................4
2. Configuration outline......................................................................................................4
3. Camera and System control ..........................................................................................5
3.1. System control ...........................................................................................................................5
3.1.1.
Power On/Standby ..........................................................................................................8
3.1.2.
Installation commands.....................................................................................................8
3.1.3.
Pan/tilt .............................................................................................................................93.1.4.
Lens operations ( Zoom & Iris ) .....................................................................................10
3.1.5.
Lens information notification..........................................................................................123.1.6.
Preset ............................................................................................................................13
3.1.7.
Tally ...............................................................................................................................14
3.1.8.
Wireless remote controller setting .................................................................................143.2. Camera control.........................................................................................................................15
3.2.1.
Iris .................................................................................................................................18
3.2.2.
Color Bars setting..........................................................................................................19
3.2.3.
Chroma level setting......................................................................................................19
3.2.4.
AWB/ABB setting...........................................................................................................20
3.2.5.
Flesh Tone Mode setting ...............................................................................................21
3.2.6.
DRS setting ...................................................................................................................21
3.2.7.
Backlight compensation setting .....................................................................................22
3.2.8.
Output setting ................................................................................................................23
3.2.9.
Digital zoom settings .....................................................................................................24
3.2.10.
Camera information acquisition .....................................................................................24
3.2.11.
OSD menu.....................................................................................................................25
3.2.12.
Frequency setting..........................................................................................................26
3.2.13.
Picture in Picture setting................................................................................................26
3.2.14.
Guideline settings..........................................................................................................27

4. Camera information update notification .......................................................................28
4.1.

Procedure for receiving the update notifications ......................................................................29

4.2.

Data format for update notifications .........................................................................................314.3. Setting change sequence.........................................................................................................32
4.3.1.
Changing the settings from a terminal...........................................................................32
4.3.2.
Setting value initialization ..............................................................................................35
4.4. Special sequences ...................................................................................................................36
4.4.1.
Version information notification......................................................................................36
4.4.2.
LPI information (lens information)..................................................................................37
4.4.3.
Preset playback.............................................................................................................38
4.4.4.
AWB/ABB execution......................................................................................................39
4.4.5.
AWB Mode switching.....................................................................................................40

5. Camera information batch acquisition .........................................................................41
6. Error return ..................................................................................................................43<Appendix>........................................................................................................................45© Panasonic Corporation 2012 All Rights Reserved.

- 3 -HD Integrated Camera

Interface Specifications

1. Introduction
This manual describes the external interface specifications which are applicable when the HD
integrated camera is operated using Ethernet.
It consists of three main sections, namely, camera and System control, camera information update
notifications and error return.
Applicable models
・AW-HE2 series

2. Configuration outline
This manual has the following general configuration.
1. Camera and System control
It is possible to control the Digital pan, Digital tilt and white balance adjustments.
The various functions are employed for the operations with the camera using HTTP which is thehost protocol of TCP.
For further details, refer to chapter 3.
2. Camera information update notification
The local terminal is notified of the values of the gain and other settings which have been changed
at another terminal or other terminals so that it can acquire the camera information.
This feature is useful when one camera is controlled by a multiple number of terminals, and when
the setting for enabling update notifications to be received has been established, the information
which has been changed by other terminals can be acquired.
For further details, refer to chapter 4.
3. Camera information batch acquisition
The camera information can be acquired in batch form. Since there is no need to query each andevery camera information item when this feature is used, the feature is useful when all the camera
information is required such as at startup.
For further details, refer to chapter 5.
4. Error return
An error — whether ER1, ER2 or ER3 — is returned when an error has been generated by acommand in 1 above or when the AWB result contains an error.
For further details, refer to chapter 6.

© Panasonic Corporation 2012 All Rights Reserved.

- 4 -HD Integrated Camera

Interface Specifications

3. Camera and System control
Given below are the external interfaces which are used when operating the camera using Ethernet.
This chapter presents the following details.
1.System control
This interface controls the pan-tilt head, and it uses the “System control commands”.
2.Camera control
This interface is concerned with the camera’s lens control and image adjustments, and it uses the“camera control commands”.

3.1. System control
The System control commands are in compliance with the HTTP1.1 communication specifications.
Their format is given below.
For details on the HTTP messages, refer to <Appendix>.
【Command format】[Send]

http://[IP Address]/cgi-bin/aw_ptz?cmd=[Command]&res=[Type]
where※IP Address ······· IP address of camera at connection destination※Command········ Details given in “Command” column in the command tables below※Type················ Fixed at “1”[Receive]
200 OK “Command”※Command········ Response value of each command; set in the HTTP message body
Example: Pan/tilt (Stop)[Send]
http://192.168.0.10/cgi-bin/aw_ptz?cmd=#PTS5050&res=1[Receive]
200 OK “pTS5050”*Depending on the browser or middleware used, “#” may have to be converted to “%23” by ASCII
conversion.
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23PTS5050&res=1© Panasonic Corporation 2012 All Rights Reserved.

- 5 -Interface Specifications

HD Integrated Camera

Given below is the communication sequence which accords with the command format presented on
the previous page.
For the communication sequence of the errors generated in response to commands which havebeen sent, refer to “6. Error return”.
【Sequence】“PC1” is the control terminal in the sequence below.
Example: Pan/tilt (Stop) control
Camera IP Address = 192.168.0.10
Command = PTS5050
The control to stop the pan-tilt operation is exercised from PC1. [200 OK “pTS5050”] is returned as
the response from the camera.
The control command and query command are available as the System control commands.
Given below is the command sequence.

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_ptz?cmd=%23 PTS5050 &res=1
Pan/Tilt Stop
200 OK “pTS5050”

Fig.3.1-1 Command sequence of System control© Panasonic Corporation 2012 All Rights Reserved.

- 6 -Interface Specifications

HD Integrated Camera

It must be borne in mind that communication with the camera is subject to some restrictions.
These restrictions are as follows.
【Restrictions】
1. When using the System control commands, send the commands with a gap of 130 ms between
each command. Given below is the sequence.

PC1(Client)

Camera① http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23 PTS4060 &res=1

200 OK “pTS4060”
When sending the commands,
leave a gap of at least 130 ms
between each command.

② http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23 PTS5050 &res=1

200 OK “pTS5050”

Fig.3.1-2 Restrictions
2. The number of sessions during which the camera can be accessed simultaneously is as follows.
a）Maximum number of HTTP sessions: 72b）Number of terminals which can receive update notifications at the same time: 5
When the AW-RP50 is connected, it is counted as one unit.
3. Keep-Alive cannot be set with HTTP connections.
Connect and disconnect are performed each time a command is sent or received.
4. Some settings and conditions may restrict the effects of other settings (※including those with
exclusive control conditions). See also the operating instructions which are provided with the
products.
5. Send the commands which change the settings only at the point in time when the changes are
required. (Do not send them at regular intervals.)© Panasonic Corporation 2012 All Rights Reserved.

- 7 -Interface Specifications

HD Integrated Camera

3.1.1. Power On/Standby
These commands enable the power On/Standby of the camera to be controlled and the current
power On/Standby statuses to be acquired.
Table 3.1.1 Power On/Standby
Command nameCategory

Power On/
Standbycontrol command
Power On/
Standbyquery commandControl#O[Data]

Response
RequestResponsep[Data]#O
p[Data]

Data
value

Command

Setting01Standby
Power OnNone
01

Standby
Power On

Remarks

Example of use) Power On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23O1&res=1[Response] AW-HE2 → PC
200 OK “p1”

3.1.2. Installation commands
These commands control the method used for the installation of the camera.
Only “Desktop” response is supported in AW-HE2 series.
Table 3.1.2 Installation commands
Command nameCategory

Installation
position
query command

Request

#INS

Data
value
None

ResponseiNS[Data]

0

Command

Setting

Remarks

Desktop

Example of use)
・Installation position query command[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23INS&res=1[Response] AW-HE2 → PC
200 OK “iNS0”© Panasonic Corporation 2012 All Rights Reserved.

- 8 -Interface Specifications

HD Integrated Camera

3.1.3. Pan/tilt
These commands enable the pan and tilt of the camera to be controlled.
Table 3.1.3 Pan/tilt
Command nameCategory

Command

Pan/tilt position
control commandControl#APC[Data1][Data2]

Response
Speed (pan/tilt)
control command

Speed (pan/tilt)
control commandControlaPC[Data1][Data2]#P[Data]

ResponsepS[Data]

Control#T[Data]

ResponsetS[Data]

Control#PTS[Data1][Data2]

ResponsepTS[Data1][Data2]

Data
value[Data1]
8000

center[Data2]8000

center

01~07
18~33
34~49
50
51~66
67~82
83~99

Left Max. Speed
Left Mid. Speed
Left Min. Speed
Pan Stop
Right Min. Speed
Right Mid. Speed
Right Max. Speed

Pan speed to be controlled

01~07
18~33
34~49
50
51~66
67~82
83~99

Down Max. Speed
Down Mid. Speed
Down Min. Speed
Tilt Stop
UP Min. Speed
UP Mid. Speed
UP Max. Speed

Tilt speed to be controlled[Data1]
01~07
18~33
34~49
50
51~66
67~82
83~99
[Data2]
01~07
18~33
34~49
50
51~66
67~82
83~99

[Data1]
Left Max. Speed
Left Mid. Speed
Left Min. Speed
Pan Stop
Right Min. Speed
Right Mid. Speed
Right Max. Speed[Data2]
Down Max. Speed
Down Mid. Speed
Down Min. Speed
Tilt Stop
UP Min. Speed
UP Mid. Speed
UP Max. Speed[Data1]
Pan speed control[Data2]
Tilt speed control

Setting

Remarks
 The pan-tilt head moved to thehome position by#APC[8000][8000].

Example of use)
・Pan speed control: max. speed to the right[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23P99&res=1[Response] AW-HE2 → PC
200 OK “pS99”© Panasonic Corporation 2012 All Rights Reserved.

- 9 -Interface Specifications

HD Integrated Camera

3.1.4. Lens operations ( Zoom & Iris )3.1.4.1. Zoom
These commands control the zooming (between Wide and Tele) of the camera lens.
Table 3.1.4.1 Zoom
Command nameCategory

Zoom (position
control)
control commandControl#AXZ[Data]

Responseaxz[Data]

Control#Z[Data]

ResponsezS[Data]

Zoom (speed
control)
control command

Command

Data
value
555

Wide

AW-HE2 Only support “555”

01~25
26~49
50
51~74
75~99

Wide Max. Speed
Wide Min. Speed
Zoom Stop
Tele Min. Speed
Tele Max. Speed

Zooming speed to be controlled

Setting

Remarks

Example of use)
・Moves to Wide[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23AXZ555&res=1[Response] AW-HE2 → PC
200 OK “axz555”
・Speed control: zooming max. speed in Wide direction[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23Z01&res=1[Response] AW-HE2 → PC
200 OK “zS01”© Panasonic Corporation 2012 All Rights Reserved.

- 10 -

Interface Specifications

HD Integrated Camera

3.1.4.2. Iris
These commands control the iris (between Close and Open) of the camera and enable the current
iris position to be acquired.
In addition, they enable Auto/Manual control of the iris and the current iris Auto/Manual statuses tobe acquired.
Commands which control the iris are also described in section 3.2.1 .
Table 3.1.4.2 Iris
Iris position
control commandControl#AXI [Data]

Response
RequestResponseaxi [Data]#GI
gi [Data1] [Data2]

Iris position
Auto/Manual
query command

Auto Iris On/Off
control command
Auto Iris On/Off
query command

CommandControl#D3[Data]

Response
RequestResponsed3[Data]#D3
d3[Data]

Data
value
555
FFF

Iris Close
Iris OpenNone[Data1]
555

Iris Close

Setting~

Category~

Command name

FFF

Iris Open[Data2]0
101Manual Iris
Auto Iris
Manual Iris
Auto Iris

None
0
1

Manual Iris
Auto Iris

Remarks

Example of use)
・Iris: Close[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23AXI555&res=1[Response] AW-HE2 → PC
200 OK “axi555”
・Auto iris: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23D31&res=1[Response] AW-HE2 → PC
200 OK “d31”© Panasonic Corporation 2012 All Rights Reserved.

- 11 -

Interface Specifications

HD Integrated Camera

3.1.5. Lens information notification
These commands enable On or Off to be set for the lens information notification of the camera andthe current lens information notification On/Off status and lens information to be acquired.
Table 3.1.5 Lens information notification On/Off
Command nameCategory

Lens information
notification On/Off
control commandLens information
notification On/Off
query commandControl#LPC[Data]

Response
RequestResponselPC[Data]#LPC
lPC[Data]

Data
value

Command

Setting

0
1

Off
On

None
0
1

Off
On

Remarks
Off: Information is not posted.
On: Information is posted.

Example of use)
・Lens information notification: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23LPC1&res=1[Response] AW-HE2 → PC
200 OK “lPC1”© Panasonic Corporation 2012 All Rights Reserved.

- 12 -

Interface Specifications

HD Integrated Camera

3.1.6. Preset
These commands register and play back the presets of the camera and enable the preset number
last played back to be acquired.
Table 3.1.6 Preset#M[Data]

Response
Controls[Data]#R[Data]

Response
RequestResponses[Data]#Ss[Data]Control#C[Data]

Responses[Data]Preset number
query command

Preset (delete)control command

00
~
08
None
00
~
08
00
~
08

Setting

Remarks

Preset 001~

Control

Data
value
00
~
08

Preset 009
Preset 001~

Preset (register)
control command

Preset (playback)control command

CommandPreset 009

Preset 001

Request for preset number last
played back~Category

Preset 009
Preset 001~

Command namePreset 009※After the presets have all been played back, the completion notification is sent in the “q**” format.
For details, refer to “4.4.3. Preset playback”.
Example of use)
・Preset: registering a setting in Preset 08[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23M07&res=1[Response] AW-HE2 → PC
200 OK “s07”・Preset: playing back Preset 2[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23R01&res=1[Response] AW-HE2 → PC
200 OK “s01”© Panasonic Corporation 2012 All Rights Reserved.

- 13 -

Interface Specifications

HD Integrated Camera

3.1.7. Tally
These commands exercise enable/disable control over the tally input of the camera and enable thecurrent tally input enable/disable statuses to be acquired.
In addition, they exercise tally On/Off control over the camera.
Table 3.1.7 Tally
Command nameCategory

Tally input
enable/disable
control command
Tally input
enable/disable
query command
Tally On/Off
control commandControl#TAE[Data]

Response
RequestResponsetAE[Data]#TAE
tAE[Data]

Control#DA[Data]

Response
RequestResponsedA[Data]#DA
dA[Data]

Tally On/Off
query command

Data
value

Command

Setting01

DisableEnable

None
0
1
0
1

DisableEnableTally Off
Tally On

None
0
1

Tally Off
Tally On

Remarks

Example of use)
・Tally: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23DA1&res=1[Response] AW-HE2 → PC
200 OK “dA1”

3.1.8. Wireless remote controller setting
These commands make it possible for enable or disable to be set for the control which is exercisedover the wireless remote controller of the camera and for the current enable/disable statuses to beacquired.
Table 3.1.8 Wireless remote controller enable/disable setting
Data
value

Command nameCategory

CommandWireless remotecontroller control
enable/disable
control command
Wireless remotecontroller control
enable/disable
query commandControl#WLC[Data]

ResponsewLC[Data]

Request

#WLC

None

ResponsewLC[Data]

0
1

0
1

Setting

Remarks

DisableEnableDisableEnableExample of use) Wireless remote controller: Disable[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23WLC0&res=1[Response] AW-HE2 → PC
200 OK “wLC0”© Panasonic Corporation 2012 All Rights Reserved.

- 14 -

HD Integrated Camera

Interface Specifications

3.2. Camera control
The camera control commands are based on the HTTP1.1 communication specifications.
Their format is given below. For details on the HTTP messages, refer to <Appendix>.
【Command format】[Send]

http://[IP Address]/cgi-bin/aw_cam?cmd=[Command]&res=[Type]※IP Address ······· IP address of camera at connection destination※Command········ Details given in “Command” column in the command tables below※Type················ Normally “1” (but “0” for the AWB[OWS] and ABB[OAS] commands)[Receive]
200 OK “Command”※Command········ Response value of each command; described in the HTTP message body.
There is no response in the case of an AWB or ABB command whose Type is 0.
Refer to “4. Camera information update notification” in order to receive the AWB/ABB result
notifications.
Example: Focus setting = Auto
[Send]
http://192.168.0.10/cgi-bin/aw_cam?cmd=OAF:0&res=1[Receive] The response is the HTTP response.
200 OK “OAF:0”© Panasonic Corporation 2012 All Rights Reserved.

- 15 -

Interface Specifications

HD Integrated Camera

Given below is the sequence used when communication has been performed in accordance with thecommand format described on the previous page.
For the sequence when errors have been generated in response to commands, refer to “6. Error
return”.
【Sequence】“PC1” is the control terminal in the sequence below.
Example: Focus setting = Auto
Camera IP Address = 192.168.0.10
Command = OAF:1
Auto focus control is performed from PC1, and [200 OK “OAF:1”] is returned as the response.
Both a control command and query command are available as the camera control commands.
Given below is the command sequence.
PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_cam?cmd= OAF:1 &res=1
Auto focus establishedas the setting

200 OK “OAF:1”

Fig. 3.2-1 Camera control command sequence© Panasonic Corporation 2012 All Rights Reserved.

- 16 -

Interface Specifications

HD Integrated Camera
The following restrictions should be noted when using these commands.
These restrictions are as follows.

【Restrictions】
1. When sending the camera control commands, send the commands with a gap of 130 ms
between each command.
Given below is the command sequence.

PC1(Client)

Camera① http://192.168.0.10/cgi-bin/aw_cam?cmd= OAF:1 &res=1
200 OK “OAF:1”
When sending the commands,
leave a gap of at least 130 ms
between each command.

② http://192.168.0.10/cgi-bin/aw_cam?cmd= OAF:0 &res=1
200 OK “OAF:0”

Fig.3.2-2 Restrictions
2.

Send the commands which change the settings only at the point in time when the changes are
required. (Do not send them at regular intervals.)© Panasonic Corporation 2012 All Rights Reserved.

- 17 -

Interface Specifications

HD Integrated Camera

3.2.1. Iris
These commands control the iris (between Close and Open) of the camera and enable the current
iris position to be acquired.
They also enable iris Auto/Manual to be controlled, the iris Auto/Manual status to be checked and the
10 steps of the contrast level to be set and these settings to be checked.
Commands which control the iris are also described in section 3.1.4.2 Iris
Table 3.2.1 Iris
Command nameCategory

Iris Auto/Manualcontrol commandControl

ORS:[Data]

Response
RequestResponse

ORS:[Data]
QRS
ORS:[Data]

Control

OSD:48:[Data]

Response
RequestResponse

OSD:48:[Data]
QSD:48
OSD:48:[Data]

Iris Auto/Manual
query commandContrast level
Picture level
control commandContrast level
Picture level
query command

Data
value

Command

Setting01Manual
Auto

None
0
1
64
5A~63
50~59
46~4F
3C~45
32~3B
28~31
1B~27
14~1A
0A~13
00~09

Manual
Auto
+5
+4
+3
+2
+1
0
–1
–2
–3
–4
–5

None
64
5A~63
50~59
46~4F
3C~45
32~3B
28~31
1B~27
14~1A
0A~13
00~09

+5
+4
+3
+2
+1
0
–1
–2
–3
–4
–5

Remarks This command restores the held
manual iris setting when control isswitched from Auto to Manual.

Contrast level

Example of use)
・Auto iris: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=ORS:1&res=1[Response] AW-HE2 → PC
200 OK “ORS:1”© Panasonic Corporation 2012 All Rights Reserved.

- 18 -

Interface Specifications

HD Integrated Camera

3.2.2. Color Bars setting
These commands enable color bar/camera to be switched, the color bar setup to be set and thecurrent settings to be acquired.
Table 3.2.2 Color Bars
Command nameCategory

Color bar/Camera
control commandControl

DGB:[Data]

Response
RequestResponse

DGB:[Data]
QBR
OBR:[Data]

Color bar/Camera
query command

Data
value

Command

Setting01

CameraColor Bars

None
0
1

CameraColor Bars

Remarks

Example of use)
・Color bar/Camera control: Color bar[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=DGB:1&res=1[Response] AW-HE2 → PC
200 OK “DGB:1”

3.2.3. Chroma level setting
These commands enable the chroma level of the camera to be set and the current settings to beacquired.
Table 3.2.3 Chroma level setting
Command nameCategory

Chroma level
control commandControl

Chroma level
query command

Command
OCG:[Data]

Response

OCG:[Data]

RequestResponse

QCG
OCG:[Data]

Data
value
00
01
02
03
04
05
06

–5
–3
–1
0
+1
+3
+5

None
00
01
02
03
04
05
06

–5
–3
–1
0
+1
+3
+5

Setting

Remarks

Example of use)
・Chroma level: 0[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OCG:03&res=1[Response] AW-HE2 → PC
200 OK “OCG:03”© Panasonic Corporation 2012 All Rights Reserved.

- 19 -

Interface Specifications

HD Integrated Camera

3.2.4. AWB/ABB setting
These commands select the AWB mode of the camera, execute AWB/ABB and enable the current
AWB mode status to be acquired.
Table 3.2.4 AWB/ABB setting
Command nameCategory

AWB (AWC)
execution
control commandControl
Notification

AWB execution
underway status
display On/Off
control command
AWB execution
underway status
display On/Off
query command
AWB (AWC) Modecontrol commandControl

OSA:88:[Data]

Response

OSA:88:[Data]

RequestResponse

AWB (AWC) Modequery command

ABB (ABC)
execution
control command

CommandOWS
OWS
ER3:OWS

Data
value
None

Setting
AWC/AWB OK
AWC/AWB NG

0
1

Off
On

QSA:88
OSA:88:[Data]

None
0
1

Off
On

Control

OAW:[Data]

0
1
2
3
4
5
6
7
8

ATW
AWB A
AWB B
ATW
3200K
5600K
4500K
6000K
2800K

Response
RequestResponse

OAW:[Data]QAWOAW:[Data]

ATW
AWB A
AWB B
ATW
3200K
5600K
4500K
6000K
2800K

Control
Notification

OAS
OAS

None
0
1
2
3
4
5
6
7
8
None

ABB(ABC) OK

Remarks
AWB (AWC) is executed.
 There is no response which
supports this control command.
Notification is given by the separate
update notification function.
For details, refer to “4. Camera
information update notification”.
 On or Off for screen display of AWB
OK/NG.

ABB (ABC) is executed.
This function does not exist in
AW-HE2 series. However, theresponse always is “OK”.

Example of use)
・AWB (AWC) execution[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OWS&res=0[Response] AW-HE2 → PC
None

© Panasonic Corporation 2012 All Rights Reserved.

- 20 -

Interface Specifications

HD Integrated Camera

3.2.5. Flesh Tone Mode setting
These commands control the flesh tone mode of the camera and enable the current settings to beacquired.
Table 3.2.5 Flesh Tone Mode setting
Command nameCategory

Command

Flesh Tone Modecontrol commandControl

OSE:32:[Data]

Response
RequestResponse

OSE:32:[Data]
QSE:32
OSE:32:[Data]

Flesh Tone Modequery command

Data
value

Setting

0
1

Off
On

None
0
1

Off
On

Remarks

Example of use) Flesh Tone Mode: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:32:1&res=1[Response] AW-HE2 → PC
200 OK “OSE:32:1”

3.2.6. DRS setting
These commands control the DRS of the camera and enable the current settings to be acquired.
Table 3.2.6 DRS setting
Command nameCategory

Command

DRS
control commandControl

OSE:33:[Data]

Response

OSE:33:[Data]

RequestResponse

QSE:33
OSE:33:[Data]

DRS
query command

Data
value

Setting

0
1

Off
On

None
0
1

Off
On

Remarks

Example of use)
・DRS: Off[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:33:0&res=1[Response] AW-HE2 → PC
200 OK “OSE:33:0”© Panasonic Corporation 2012 All Rights Reserved.

- 21 -

Interface Specifications

HD Integrated Camera

3.2.7. Backlight compensation setting
These commands exercise On/Off control over the backlight compensation of the camera andenable the current settings to be acquired.
Table 3.2.7 Backlight compensation setting
Command nameCategory

CommandBacklight
compensation
control commandControl

OSE:73:[Data]

Response
RequestResponse

OSE:73:[Data]
QSE:73
OSE:73:[Data]

Backlight
compensation
query command

Data
value

Setting

0
1

Off
On

None
0
1

Off
On

Remarks

Example of use)
・Backlight compensation: Off[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:73:0&res=1[Response] AW-HE2 → PC
200 OK “OSE:73:0”© Panasonic Corporation 2012 All Rights Reserved.

- 22 -

Interface Specifications

HD Integrated Camera

3.2.8. Output setting
These commands control the output settings of the camera and enable the current settings to beacquired.The setting items include format and down-conversion mode.
Table 3.2.8 Output setting
Command nameCategory

CommandFormatcontrol commandControl

OSA:87:[Data]

Response
RequestResponse

OSA:87:[Data]
QSA:87
OSA:87:[Data]

Control

OSE:20:[Data]

Response
RequestResponse

OSE:20:[Data]
QSE:20
OSE:20:[Data]

Formatquery command

Down-conversion
mode
control command
Down-conversion
mode
query command

Data
value
01
02
04
05
10
11
12
13

720/59.94p(59.94Hz)
720/50p(50Hz)
1080/59.94i(59.94Hz)
1080/50i(50Hz)
1080/59.94p(59.94Hz)
1080/50p(50Hz)
480/59.94p(59.94Hz)
576/50p(50Hz)

None
01
02
04
05
10
11
12
13
0
1
2

720/59.94p(59.94Hz)
720/50p(50Hz)
1080/59.94i(59.94Hz)
1080/50i(50Hz)
1080/59.94p(59.94Hz)
1080/50p(50Hz)
480/59.94p(59.94Hz)
576/50p(50Hz)
SideCut
Squeeze
LetterBOX

None
0
1
2

SideCut
Squeeze
LetterBOX

Setting

Remarks
Data values with different
field frequencies areinvalid (ER3 is returned).

Example of use)
・Format: 720/59.94p[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSA:87:01&res=1[Response] AW-HE2 → PC
200 OK “OSA:87:01”
・Down-conversion mode: Squeeze[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:20:1&res=1[Response] AW-HE2 → PC
200 OK “OSE:20:1”© Panasonic Corporation 2012 All Rights Reserved.

- 23 -

Interface Specifications

HD Integrated Camera

3.2.9. Digital zoom settings
These commands control the digital zoom of the camera.
Table 3.2.9 Digital zoom settings
Command nameCategory

Command

Digital zoom
On/Offcontrol command
Digital zoom
On/Offquery commandControl

OSE:70:[Data]

Response
RequestResponse

OSE:70:[Data]
QSE:70
OSE:70:[Data]

Data
value

Setting01

DisableEnableNone01DisableEnableRemarks

Example of use)
・Digital zoom: Enable[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:70:1&res=1[Response] AW-HE2 → PC
200 OK “OSE:70:1”

3.2.10. Camera information acquisition
These commands enable the current camera information of the camera to be acquired.
Table 3.2.10 Camera information acquisition
Command nameCategory

Model number
query command
Cameramicrocontroller
software version
query command

RequestResponse
RequestResponse

Command
QID
OID:[Data]
QSV
OSV:[Data]

Data
value
None
AW-HE2None
1.01-00-0.0
0Setting

Remarks
Model number of camera
Camera Microcontroller
software version
Example: 1.01-00-0.00

Example of use)
・Model number acquisition[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=QID&res=1[Response] AW-HE2 → PC
200 OK “OID:AW-HE2”
・Camera microcontroller software version acquisition[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=QSV&res=1[Response] AW-HE2 → PC
200 OK “OSV:1.01-00-0.00”© Panasonic Corporation 2012 All Rights Reserved.

- 24 -

Interface Specifications

HD Integrated Camera

3.2.11. OSD menu
These commands exercise control over the OSD menu of the camera and enable the current
settings to be acquired.
Table 3.2.11 OSD menu
Data
value

Command nameCategory

OSD menu On/Off
control commandControl

DUS:[Data]

Response
RequestResponse

DUS:[Data]
QUS
OUS:[Data]

Control

DPG
DPG:[Data]
DPG:[Data]
DIT

None

DIT:[Data]

1

OSD menu On/Off
query command
MENU switch On
control command
ITEM switch On
control command
YES switch On
control commandNO switch On
control command
OSD Off With
TALLY
control command
OSD Off With
TALLY
query command

Response
Control
Response
Control

Command

Response
Control

DIT:[Data]
DUP
DUP:[Data]
DUP:[Data]
DDW
DDW:[Data]
DDW:[Data]
OSE:75:[Data]

Response
RequestResponse

OSE:75:[Data]
QSE:75
OSE:75:[Data]

Response
Control

0
1
None
0
1
None
1

Setting
Menu Off
Menu On

Remarks
The camera OSD menu is turned On
or Off.

Menu Off
Menu OnEntered.

None
1

1Step

The cursor moves up (the value ischanged).

None
1

1Step

The cursor moves down (the value ischanged).

0
1

Off
On

None
0
1

Off
On

 The OSD menus are not displayedwhen “On” is selected as thissetting and TALLY is On.

Example of use)
・OSD menu: On[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=DUS:1&res=1[Response] AW-HE2 → PC
200 OK “DUS:1”© Panasonic Corporation 2012 All Rights Reserved.

- 25 -

Interface Specifications

HD Integrated Camera

3.2.12. Frequency setting
These commands enable the system frequency to be switched and the current setting to beacquired.
Table 3.2.12 Frequency
Command nameCategory

CommandFrequency
control commandControl

OSE:77:[Data]

Response
RequestResponse

OSE:77:[Data]
QSE:77
OSE:77:[Data]

Frequency
query command

Data
value

Setting

0159.94Hz
50Hz

None
0
1

59.94Hz
50Hz

Remarks

Example of use) Frequency: 50Hz
[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OSE:77:1&res=1[Response] AW-HE2 → PC
200 OK “OSE:77:1”

3.2.13. Picture in Picture setting
These commands control the Picture in picture of the camera.
Table 3.2.13 Picture in Picture
Command nameCategory

PinP On/Off
control commandControl

OP:[Data]

Response
RequestResponse

OP:[Data]
QP
OP:[Data]

Control#PD[Data]

Response
RequestResponsepD[Data]#PD
pD[Data]

Control#CMP[Data]

Response
RequestResponsecMP[Data]#CMP
cMP[Data]

PinP On/Off
query command
PinP DisplayPos
control command

PinP DisplayPos
query command

Main/PinP Modecontrol command
Main/PinP Modequery command

Data
value

Command

Setting

0
1

Off
On

0
1
0
1
2
3

Off
On
Upper Right
Lower Right
Lower Left
Upper Left

NONE
0
1
2
3
0
1

Upper Right
Lower Right
Lower Left
Upper Left
Main
PiniP

NONE
0
1

Main
PiniP

Remarks

Example of use)
・PinP : On
[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=OP:1&res=1[Response] AW-HE2 → PC
200 OK “OP:1”© Panasonic Corporation 2012 All Rights Reserved.

- 26 -

Interface Specifications

HD Integrated Camera

3.2.14. Guideline settings
These commands control Guideline of HDMI outputs.
Table 3.2.14 Guideline Settings
Command nameCategory

Guide Line
control commandControl#GDL[Data]

Response
RequestResponsegDL[Data]#GDL
gDL[Data]

Guide Linequery command

Data
value

Command

Setting

0
1

OFF
ON

None
0
1

OFF
ON

Remarks

Example of use)
・Guideline : ON
[Control] PC → AW-HE2
http://192.168.0.10/cgi-bin/aw_cam?cmd=%23GDL1&res=1[Response] AW-HE2 → PC
200 OK “gDL1”© Panasonic Corporation 2012 All Rights Reserved.

- 27 -

HD Integrated Camera

Interface Specifications

4. Camera information update notification
The following restrictions apply to camera operations that are performed using HTTP communicationand that have been described in the previous chapters:A) Even when a camera setting is changed by one terminal, the other terminals will not knowthat the setting has been changed unless they send the query command to the camera.
B) In the case of a preset playback, AWB/ABB execution or other control commands that taketime to be processed, it is necessary to wait until the processing is completed for the
response.
By sending information autonomously from the camera to the terminals, it is possible to do thefollowing:A) When a camera setting is changed by one terminal, the other terminals are notified of thesetting change immediately.
B) With a control command that takes time to be processed, the HTTP response is returned assoon as the command has been received, and separate notification of the processing result
is given as soon as the processing is completed.
These functions are referred to as the camera information update notification function.
This chapter uses the term “update notification” to refer to this function.

© Panasonic Corporation 2012 All Rights Reserved.

- 28 -

Interface Specifications

HD Integrated Camera

4.1. Procedure for receiving the update notifications
An HTTP message is sent to the camera to start or stop the reception of the update notification fromthe camera.
At a time like this, the number of the TCP port on the terminal for receiving the update notification(having the update notification sent) is specified.
The ① update notification receive start steps and ② update notification receive end steps are each
described below.
① Update notification receive start step
Example)When reception is to be started with “192.168.0.10” used as the IP address of the camera
http://192.168.0.10/cgi-bin/event?connect=start&my_port=32000&uid=0※ my_port … Number of the TCP port on the terminal
Given below is the sequence which is followed when receiving the update notifications is started.
【Update notification receive start sequence】
The update notification receive start command is sent from the terminal where the update
notifications are to be received.
“204 No Content” is returned from the camera which has received the command.

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/event?connect=start&my_port=32000&uid=0
The port of PC1 where the update
notifications are received isregistered as port number 32000.

204 No Content

Fig.4.1-1 Update notification receive start sequence【Caution】
Proceed with the update notification receive start step when communication has been cut off
because the LAN cable has been disconnected, for example.

© Panasonic Corporation 2012 All Rights Reserved.

- 29 -

Interface Specifications

HD Integrated Camera② Update notification receive end step
To close the application of the client, the update notification receive end step must be taken
without fail.
Example)When reception is to be ended with “192.168.0.10” used as the IP address of the camera
http://192.168.0.10/cgi-bin/event?connect=stop&my_port=32000&uid=0※ my_port … Number of the TCP port on the terminal
Given below is the sequence which is followed when receiving the update notifications is to beended.
【Update notification receive end sequence】
The update notification receive end command is sent from the terminal which has received the
update notifications.
“204 No Content” is returned from the camera which received the command.
PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/event?connect=stop&my_port=32000&uid=0
The receiving of the update
notifications at PC1 is ended.

204 No Content

Fig.4.1-2 Update notification receive end sequence© Panasonic Corporation 2012 All Rights Reserved.

- 30 -

Interface Specifications

HD Integrated Camera

4.2. Data format for update notifications
The data received in the update notifications will be described next.
The update notification is given to the TCP port on the terminal whose number was specified using
the update notification start command by TCP protocol communication.
A breakdown of the data received is given below.
【Receive data】
ReserveSize(22 bytes) (2 bytes)

Reserve(4 bytes)

Update notification information(Variable length: Max. 504 bytes)

Reserve(24 bytes)

Fig.4-2 Receive data format

The updated information is set in “Update notification information” of the receive data format.
The data received from the camera has a variable length.
The size of the update notification information is the value obtained by subtracting 8 bytes from the“Size” area setting.
・“Update notification information” data length ＝ “Size” － 8 bytes

The updates of the camera are described in the update notification information.
The format used for the update notification information received from the camera is given below.

【Update notification information format】[CR][LF][Command response format][CR][LF]※ [CR]:0x0d, [LF]:0x0a
Example 1) Power: On[CR][LF]p1[CR][LF]
Example 2) Color bar: On[CR][LF]DCB:1[CR][LF]© Panasonic Corporation 2012 All Rights Reserved.

- 31 -

Interface Specifications

HD Integrated Camera

4.3. Setting change sequence
Update notifications are sent when the settings or statuses of the camera have been changed.
Given below is an example of the update notification sequence.
It is assumed that the update notification start command has been sent to all the terminals in thesequence and that the terminals can receive the update notifications from the camera.
4.3.1. Changing the settings from a terminal【Changing the settings from the local terminal】
When the settings of the camera have been changed from the local terminal (PC1), the changes arealso posted by an update notification separately from the HTTP response to the command.
PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_cam?cmd= OGU:08 &res=1

200 OK “OGU:08”[CR][LF] OGU:08 [CR][LF]

Fig.4.3.1-1 Changing the settings from the local terminal© Panasonic Corporation 2012 All Rights Reserved.

- 32 -

Interface Specifications

HD Integrated Camera【Changing the settings from another terminal】
When a camera setting has been changed from another terminal (PC2), the local terminal (PC1) isalso notified of the change.
In addition to the HTTP response to the command, the other terminal (PC2) is notified of the changeby an update notification as well.
PC2(Client)

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_cam?cmd=OGU:08 &res=1
200 OK “OGU:08”[CR][LF] OGU:08 [CR][LF][CR][LF] OGU:08 [CR][LF]

Fig.4.3.1-2 Changing the settings from another terminal© Panasonic Corporation 2012 All Rights Reserved.

- 33 -

Interface Specifications

HD Integrated Camera(Remarks)
When the camera receives the control command and its setting is changed, it gives an update
notification.
(It does not give an update notification if a query command has been received.)
However, when any of the following commands have been received, the update notification is not
given.
① OSD menu
Table 4.3.1-1
Command name

OSD menu Off/On
MENU switch On
ITEM switch On
YES switch On
NO switch On

control commandcontrol commandcontrol commandcontrol commandcontrol command

Command

DUS:[Data]
DPG
DIT
DUP
DDW

② Pan, tilt, zoom, focus and iris operation commands<System control commands>
Table 4.3.1-2
Command nameCommand

Pan/tilt

control command

Zoom

control command#APC[Data1][Data2]#P[Data]#T[Data]#PTS[Data1][Data2]#AXZ[Data]#Z[Data]#I [Data]#AXI [Data]

Iris position control command<Camera control commands>
Table 4.3.1-3
Command nameContrast level(Picture level)

control command© Panasonic Corporation 2012 All Rights Reserved.

Command

OSD:48:[Data]- 34 -

Interface Specifications

HD Integrated Camera

4.3.2. Setting value initialization
The contents of the table below are posted in succession by the update notifications when thesettings have been initialized using the OSD menu of the camera or from the web screen.
Table 4.3.2
Notification

Remarks

Contrast level
OSD:48wLC
Wireless Control
OCG
Chroma level
OAW
AWB (AWC) mode
OSE:33DRS
OSA:87
FormatOUS
OSD menu On/Off
OSE:20Down-conversion mode
OSE:70Digital zoom On/Off
OSE:75OSD Off With TALLY
OSE:77Frequency
Color Bars setting
OBR
Iris Auto/Manual
ORS
pE00000000
Preset ALL clear
The sequence during setting value initialization is as follows.
【Setting value initialization sequence】
The items whose settings have been changed by initialization are notified in succession when thesettings are initialized using the OSD menu of the camera or from the web screen.

PC2(Client)

PC1(Client)

CameraSetting value initialization
200 OK[CR][LF] OSD:48:32 [CR][LF]……

[CR][LF] OSD:48:32 [CR][LF][CR][LF] ORS:1 [CR][LF][CR][LF] ORS:1 [CR][LF][CR][LF] pE00000000 [CR][LF][CR][LF] pE00000000 [CR][LF]

Fig.4.3.2 Setting value initialization© Panasonic Corporation 2012 All Rights Reserved.

- 35 -

Interface Specifications

HD Integrated Camera

Described below are sequences which differ from the ones described in the previous pages.

4.4. Special sequences
Update notifications are sometimes sent at times other than when the settings or statuses of thecamera have been changed.
Some cases are presented below.
It is assumed that the update notification start command has been sent to all the terminals in thesequence and that the terminals can receive the update notifications from the camera.
4.4.1. Version information notification
The version information is posted in 60-second cycles.
The information posted is given below.
Table 4.4.1
Notification

qSV3V.

Version information

qSV3V1.01-00-0.00

Given below is the sequence which is followed when the version information is received.

【Sequence when the version information is received】
The camera sends the version information in 60-second cycles, and this information is received byterminals PC1 and PC2.

PC2
(Client)

PC1(Client)

CameraNotification posted in
60-second cycles[CR][LF] qSV3V1.01-00-0.00 [CR][LF][CR][LF] qSV3V1.01-00-0.00 [CR][LF]

Fig.4.4.1 Sequence when the version information is received© Panasonic Corporation 2012 All Rights Reserved.

- 36 -

Interface Specifications

HD Integrated Camera

4.4.2. LPI information (lens information)
Notification is sent in a 300ms cycle when “On: Information is posted” has been set for the lensinformation notification On/Off control command in “3.1.5. Lens information notification” and achange has been made in the LPI information (lens information). The table below lists what is
notified.
Table 4.4.2
NotificationlPI [ZZZ] [FFF] [III]Remarks

Lens information

ZZZ······ Zoom position
FFF······ Focus position
III ········ Iris position

AW-HE2 only supports Fix response.
IPI555555FFF

Given below is the sequence which is followed when changes in the LPI (lens) information arereceived.

【Sequence when LPI information (lens information) is changed】
When the camera detects changes in the LPI (lens) information, the changed LPI (lens) informationis sent to the terminals, and terminals PC1 and PC2 receive this information.

PC2(Client)

PC1(Client)

Camera
LPI information (lensinformation) changed[CR][LF] lPI555555FFF [CR][LF][CR][LF] lPI555555FFF [CR][LF]

Fig.4.4.2 Sequence when LPI information is changed© Panasonic Corporation 2012 All Rights Reserved.

- 37 -

Interface Specifications

HD Integrated Camera

4.4.3. Preset playback
This command sends the preset playback completion notification as an update notification whenpreset playback in the camera has been completed. The table below gives the notification details.
Table 4.4.3
Notification

q[numeral]

Remarks

Number of the preset which was played backGiven below is the sequence which is followed when presets are played back.

【Preset playback sequence】
This is the sequence in which preset number 08 is played back.
As soon as the preset playback command is received, “s07” is returned as the HTTP response, andas soon as the playback is completed after this, “q07” is posted separately as the update notification.
PC2(Client)

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_ptz?cmd= #R07 &res=1
200 OK “s07”[CR][LF] q07 [CR][LF][CR][LF] q07 [CR][LF]

Fig.4.4.3 Preset playback© Panasonic Corporation 2012 All Rights Reserved.

- 38 -

Interface Specifications

HD Integrated Camera

4.4.4. AWB/ABB execution
This command sends the execution results as an update notification when execution of AWB/ABB
has been completed by the camera.
The table below lists what is notified.
Table 4.4.4-1 AWB result
Notification

RemarksOWS

AWB execution successful

ER3:OWS

AWB execution failed
Table 4.4.4-2 ABB result

Notification

RemarksOAS

ABB execution successful

Given below is an example of the sequence which is followed when AWB is executed.

【AWB execution sequence】
As soon as the AWB execution command is received, “204 No Content” is returned as the HTTP
response, and as soon as the AWB execution is completed, “OWS” is posted separately as the
update notification.
For details on what happens if AWB execution has failed, refer to “6. Error return”.

PC2(Client)

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_cam?cmd= OWS &res=0
204 No Content[CR][LF] OWS [CR][LF][CR][LF] OWS [CR][LF]

Fig.4.4.4 AWB execution© Panasonic Corporation 2012 All Rights Reserved.

- 39 -

Interface Specifications

HD Integrated Camera

4.4.5. AWB Mode switching
The contents of the table below are posted in succession by update notifications when the AWB
Mode setting has been switched.
Table 4.4.5
Notification

RemarksOAW

AWB Mode

The sequence below is followed when the AWB Mode is switched.
【AWB Mode switching sequence】
This sequence is followed if AWB Mode is switched to “AWB A”.
As the response to the AWB Mode switching command, “OAW:1” is returned.

PC1(Client)

AW-HE2

http://192.168.0.10/cgi-bin/aw_cam?cmd=OAW:1&res=1
200 OK “OAW:1”[CR][LF]OAW:1 [CR][LF]

Fig.4.4.5 AWB Mode switching© Panasonic Corporation 2012 All Rights Reserved.

- 40 -

Interface Specifications

HD Integrated Camera

5. Camera information batch acquisition
All the information of the camera can be acquired together as a batch.
[Command format][Send]

http://[IP Address]/live/camdata.html※IP Address ······· IP address of camera at connection destination[Receive]
200 OK “Camera information”
Where:※Camera information ·· Camera information listed in Table 5.1;
[CR] and [LF] are used as the delimiters of the information.
[Sequence]
The camera information is acquired from PC1. “200 OK [Camera information]” is returned as the
response from the camera.
Given below is the command sequence.

PC1(Client)

Camerahttp://192.168.0.10/live/camdata.html

200 OK “[Camera information]”

Fig.5-1 Camera information batch acquisition sequence© Panasonic Corporation 2012 All Rights Reserved.

- 41 -

Interface Specifications

HD Integrated Camera
Table 5-1
Camera information

Command[data] section

PowerOn/Off statusp[data]Model Name

OID:[data]

0 : PowerOff
1 : PowerOn
AW-HE2 (fixed)

CGI send interval---

CGI_TIME:0 (fixed)

Format

OSA:87:[data]

Camera Title---

01: 720/59.94p
02: 720/50p
04: 1080/59.94i
05: 1080/50i
10: 1080/59.94p
11: 1080/50p
12: 480/59.94p
13: 576/50p
TITLE:[data (Max. 20 half-size characters)]

AWB Mode

OAW:[data]

Camera/ColorBar

OBR:[data]

OSD On/Off

OUS:[data]

Iris Moded3[data]

Latest Call Preset No.

s[data]0:ATW
1:AWB A
2:AWB B
3:ATW
4:3200K
5:5600K
6:4500K
7:6000K
8:2800K
0:
1:
0:
1:
0:
1:
1~9

Iris Follow

OSD:4F:[data]

00: Close…

CameraColorBar
OffOn
ManualAuto

FF: Openrt[data]

1 (fixed)

Zoom Positionaxz[data]

555: Wide

Focus Position

axf[data]

555: Near

Preset Entry No.001~040

pE00[data]

0000000000~FFFFFFFFFF (40bit)
bit01: Preset-No.001…

P/T Mode of Preset

bit09: Preset-No.009
0: No Entry
1: Entry
Preset Entry No.041~080

pE01[data]

0000000000(fixed)

Preset Entry No.081~100

pE02[data]

0000000000(fixed)© Panasonic Corporation 2012 All Rights Reserved.

- 42 -

Interface Specifications

HD Integrated Camera

6. Error return
The three errors ER1, ER2 and ER3 below are returned in response to control or query commandsby the camera.
① ER1 (unsupported command)
This error is generated when a command which is not supported by the camera has been
received by the camera.
Example) When the non-existent “XF” command is executed for the camera
PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_cam?cmd= XF&res=1

200 OK “ER1:XF”

Fig.6-1 Error (ER1)② ER2 (busy status)
This error is generated during the camera is cannot be operated now.
Example)ZOOM positon is “Wide state”, when “Pan Control” is performed.

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_ptz?cmd=%23P99 &res=1

200 OK “ER2:%23P”

Fig.6-2 Error (ER2)© Panasonic Corporation 2012 All Rights Reserved.

- 43 -

Interface Specifications

HD Integrated Camera③ ER3 (outside acceptable range)
This error is generated when the data value of a command is outside the acceptable range.
Example)The Preset Playback command was executed with a data value of “100” which is outside theacceptable range.

PC1(Client)

Camerahttp://192.168.0.10/cgi-bin/aw_ptz?cmd=%23M100 &res=1

200 OK “ER3:%23M”

Fig.6-3 Error (ER3)© Panasonic Corporation 2012 All Rights Reserved.

- 44 -

HD Integrated Camera

Interface Specifications<Appendix>
This manual describes the HTTP messages using the format for input to the address bar of the webbrowser as in the example given below.

(Example: http://192.168.0.10/cgi-bin/aw_ptz?cmd=%23PTS5050&res=1)
The actual HTTP messages are in compliance with the HTTP1.1 communication specifications, and havethe [Send] and [Receive] formats as given below.
[Send]
A command such as the ones listed below is sent after connection has been made to the specified port
(default: 80) which has been set for the camera.
Method: GET
GET /cgi-bin/aw_ptz?cmd=#PTS5050&res=1 HTTP/1.1[CR][LF]
Accept: image/gif, ... (omitted) ... , */*[CR][LF]
Referer: http://192.168.0.10/[CR][LF]
Accept-Language: en[CR][LF]
Accept-Encoding: gzip, deflate[CR][LF]
User-Agent: AW-Cam Controller[CR][LF]
Host: 192.168.0.10[CR][LF]
Connection: Keep-Alive[CR][LF][CR][LF]

RequestHeaderBlank line

[Receive]
A message with the command name and result value contained in the message body of the HTTP
response message is received.
In this manual, this message is given as 200 OK “pTS5050”, but in actual fact commands such as thefollowing ones are received.
HTTP/1.1 200 OK[CR][LF]
Connection: Close[CR][LF]
Content-Type: Text/plain[CR][LF]
Set-Cookie: Session=0[CR][LF]
Accept-Ranges: bytes[CR][LF]
Cache-control: no-cache[CR][LF]
Content-length: 7[CR][LF]
Date: Mon, 05 Dec 2012 00:00:00 GMT[CR][LF][CR][LF]
pTS5050© Panasonic Corporation 2012 All Rights Reserved.

Response
HeaderBlank line
Message body- 45 -