Skip to main content

iRidi for Panasonic PTZ

A toolkit for controlling Panasonic cameras.

Documentation updated 01.01.2024

iRidi for Panasonic PTZ is a toolkit for creating an interface to control Panasonic cameras.

Tested equipment:

  • AW-UE40WEJ.

Connection​

Connect to the equipment (IP cameras supporting the Panasonic protocol) over the local network. Communication with the equipment uses HTTP requests.

Working in iRidi​

Create a new project and, on the Devices tab, add the driver Panasonic PTZ .

Panasonic1.png

Configuring the driver​

Specify the driver connection settings:

Panasonic4.jpeg

  • Log Level - logging level;
  • Host - camera IP address;
  • Port is the port (80 by default);
  • Login / Password - username and password for accessing the camera;
  • Wait for Connect (ms) - the connection timeout;
  • Wait for Data (ms) - the equipment response time;
  • SSL - the encryption type;
  • Update Time - equipment polling interval (ms).

Configuring commands and feedbacks​

SendRecieve.png

To control equipment, configure Commands and Feedbacks. To send a command, drag it onto a graphical item and specify the Value to send. To display feedback, drag the Feedback onto a graphical item and specify how to display its Value.

For more information about graphical items, see Graphical item types.

Commands​

Link a command to a graphical item and specify the value to send to the bus when the item is pressed. All commands are created automatically when you add the driver and require no additional configuration.

Note

The coordinates and directions are specified for a ceiling-mounted camera.

ParameterValueDescription
Power0/1Power: Standby/Power On
Absolute Position SetAny valueSend the coordinates to turn the camera to (0/0 is the top right corner)
Absolute Position Pan0
32 768
65 535
Minimum pan coordinate
Center
Maximum pan coordinate
Absolute Position Tilt0
32 768
65 535
Minimum tilt coordinate
Center
Maximum tilt coordinate
Relative Position SetAny valueSend the step coordinates from Relative Position Pan/Tilt to the equipment
Relative Position Pan0
32 768
65 535
Minimum pan step to the right
Center
Maximum pan step to the left
Relative Position Tilt0
32 768
65 535
Minimum tilt step (up)
Center
Maximum tilt step (down)
Continious Movement SetAny valueSend the movement value from Continious Movement Pan/Tilt to the equipment
Continious Movement Pan01–49
50
51–99
Camera movement speed to the left, where 01 is the maximum speed
Stop movement
Camera movement speed to the right, where 99 is the maximum speed
Continious Movement Tilt01–49
50
51–99
Camera movement speed upward, where 01 is the maximum speed
Stop zooming
Camera movement speed downward, where 99 is the maximum speed
StopAny valueSend a command to stop the camera
Go HomeAny valueCenter the camera (coordinates 32 768/32 768)
Zoom Position1 365–4 095Zoom position
Zoom01–49
50
51–99
Zoom-out speed, where 01 is the maximum speed
Stop zooming
Zoom-in speed, where 99 is the maximum speed
Zoom StopAny valueStop zooming in
Preset Register0–99Save the current position with the specified preset number
Preset Playback0–99Recall the position saved in the preset

Feedbacks​

Link a feedback channel to a graphical item to display the status of equipment on the bus. All feedback channels are created automatically when you add the driver and require no additional configuration.

ParameterValueDescription
Power0/1Power status: Standby/Power On
Absolute Position Pan0
32 768
65 535
Minimum pan coordinate
Center
Maximum pan coordinate
Absolute Position Tilt0
32 768
65 535
Minimum tilt coordinate
Center
Maximum tilt coordinate
Relative Position Pan0
32 768
65 535
Minimum pan step
Center
Maximum pan step
Relative Position Tilt0
32 768
65 535
Minimum tilt step
Center
Maximum tilt step
Continious Movement Pan0
32 768
65 535
Minimum pan movement value
Center
Maximum pan movement value
Continious Movement Tilt0
32 768
65 535
Minimum tilt movement value
Center
Maximum tilt movement value
Zoom Position1 365–4 095Zoom position

Relative Position​

Move the camera by the Relative Position value from its current position. The viewing area can be represented as a function graph. The reference point for PAN and TILT is 32768. Relative Position specifies a camera step with an unchanged starting point.

Important

Important: Set both coordinates first, then send them to the equipment. Set Relative Position Pan and Relative Position Tilt, then send Relative Position Set with any value to apply the specified coordinates.

In this example, each step moves the camera 6144 to the left (PAN) and 9836 upward (TILT):

  • Position 1 - 32768 / 32768 (PAN/ TILT),
  • Position 2 - 32768 + 6144 = 38912 (PAN) / 32768 - 8736 = 22932 (TILT),
  • Position 3 - 38912 + 6144 = 45056 (PAN) / 22932 - 8736 = 13104 (TILT).
Note

The same step adds the value to the current coordinate, moving by the same amount each time.

Panasonic5.png

Position 1 - Camera starting point

  • Pan - 0 (pan) Tilt - 32768 (tilt)

Position 2 - Camera position after applying the step (Relative Position Set)

  • Relative Position Pan - 38912 (pan)
  • Relative Position Tilt - 22932 (tilt)
  • Relative Position Set - any

Position 3 - Camera position after applying the step x2 (Relative Position Set)

  • Relative Position Pan - 45056 (pan)
  • Relative Position Tilt - 13104 (tilt)
  • Relative Position Set - any

Absolute Position​

Set the camera position. The viewing area can be represented as a function graph where two coordinates, PAN and TILT, specify the camera position.

Important

Important: Set both coordinates first, then send them to the equipment. Set Absolute Position Pan and Absolute Position Tilt, then send Absolute Position Set with any value to apply the specified coordinates.

Note

Using the Release event is recommended.

Panasonic6.png

Position 1 - Set the camera to the top right corner of the available range Set the pan coordinate to (0) and the tilt coordinate to (0), then send the request to the camera

  • Absolute Position Pan - 0 (pan)
  • Absolute Position Tilt - 0 (tilt)
  • Absolute Position Set - any

Position 2 - Move the camera down (by 75%) and left (by 25%) Set the pan coordinate to (16384) and the tilt coordinate to (16384), then send the request to the camera

  • Absolute Position Pan - 16384 (pan)
  • Absolute Position Tilt - 49152 (tilt)
  • Absolute Position Set - any

Position 3 - Move the camera down (by 25%) and left (by 75%) Set the pan coordinate to (16384) and the tilt coordinate to (16384), then send the request to the camera

  • Absolute Position Pan - 49152 (pan)
  • Absolute Position Tilt - 16384 (tilt)
  • Absolute Position Set - any

Continious Movement​

The viewing area can be represented as a function graph in which the movement speed in a particular direction is set for PAN and TILT. 50 is the camera's stopping point and the minimum movement speed value in the PAN and TILT directions.

Important

Important: Set the movement speed in the required direction for PAN and TILT first, then send it to the equipment. Set Continious Movement Pan and/or Continious Movement Tilt, then send Continious Movement Set with any value to apply the specified values. To stop movement, send 50 for PAN and/or TILT and the command Continuous Movement Set with any value.

Panasonic7.png

PAN = 1 - The camera starts moving left at maximum speed
PAN = 49 - The camera starts moving left at minimum speed
PAN = 51 - The camera starts moving right at minimum speed
PAN = 99 - The camera starts moving right at maximum speed

TILT = 1 - The camera starts moving down at maximum speed
TILT = 49 - The camera starts moving down at minimum speed
TILT = 51 - The camera starts moving up at minimum speed
TILT = 99 - The camera starts moving up at maximum speed

Example for the right arrow on the interface joystick:

Panasonic8.png

  1. On Press, set a medium movement speed to the right (PAN = 75), using the following commands:

Panasonic11.png

  1. On Release, stop the camera (PAN = 50), using the following commands:

Panasonic12.png