Movement
Pan/Tilt
Commands
| Command | Function | Command Packet | Comments |
|---|---|---|---|
| Pan_TiltDrive | Up | 81 01 06 01 VV WW 03 01 FF | Replace VV and WW with the desired speed values. Pan stops; tilt moves up. |
| * | Down | 81 01 06 01 VV WW 03 02 FF | Replace VV and WW with the desired speed values. Pan stops; tilt moves down. |
| * | Left | 81 01 06 01 VV WW 01 03 FF | Replace VV and WW with the desired speed values. Pan moves left; tilt stops. |
| * | Right | 81 01 06 01 VV WW 02 03 FF | Replace VV and WW with the desired speed values. Pan moves right; tilt stops. |
| * | UpLeft | 81 01 06 01 VV WW 01 01 FF | Replace VV and WW with the desired speed values. Pan moves left; tilt moves up. |
| * | UpRight | 81 01 06 01 VV WW 02 01 FF | Replace VV and WW with the desired speed values. Pan moves right; tilt moves up. |
| * | DownLeft | 81 01 06 01 VV WW 01 02 FF | Replace VV and WW with the desired speed values. Pan moves left; tilt moves down. |
| * | DownRight | 81 01 06 01 VV WW 02 02 FF | Replace VV and WW with the desired speed values. Pan moves right; tilt moves down. |
| * | Stop | 81 01 06 01 VV WW 03 03 FF | Include valid speed values for VV and WW. Both pan and tilt stop. |
| * | AbsolutePosition | 81 01 06 02 VV WW 0Y 0Y 0Y 0Y 0Z 0Z 0Z 0Z FF | Replace VV and WW with the desired speed values. YYYY: Pan position; ZZZZ: Tilt position. |
| * | RelativePosition | 81 01 06 03 VV WW 0Y 0Y 0Y 0Y 0Z 0Z 0Z 0Z FF | Replace VV and WW with the desired speed values. YYYY: Pan offset; ZZZZ: Tilt offset. |
| * | Home | 81 01 06 04 FF | Move to the home position. |
| * | Reset | 81 01 06 05 FF | Reset the pan/tilt mechanism. |
| Pan_TiltLimitSet | LimitSet | 81 01 06 07 00 0W 0Y 0Y 0Y 0Y 0Z 0Z 0Z 0Z FF | W: 1 (UpRight), 0 (DownLeft). YYYY: Pan position; ZZZZ: Tilt position. |
| * | LimitClear | 81 01 06 07 01 0W 07 0F 0F 0F 07 0F 0F 0F FF | W: 1 (UpRight), 0 (DownLeft). Clear the selected limit. |
Setting pan and tilt speeds
| Placeholder | Setting | Valid hexadecimal values | Decimal equivalent |
|---|---|---|---|
VV | Pan speed (left/right) | 01 (lowest) through 18 (highest) | 1–24 |
WW | Tilt speed (up/down) | 01 (lowest) through 14 (highest) | 1–20 |
These values select speed levels, not degrees per second. Higher values request faster movement.
Do not send the literal letters VV or WW. These are placeholders for the actual speed values you want to use. For example, to request pan speed 10 and tilt speed 5, replace VV with 0A and WW with 05.
Both speed bytes must be included, even when only one axis moves or when sending Stop. The direction bytes following the speed values determine which axes move.
Example: Down command template:
81 01 06 01 VV WW 03 02 FF
With pan speed 0A and tilt speed 05, send:
81 01 06 01 0A 05 03 02 FF
The camera tilts down at speed level 5. The pan speed is included but does not produce horizontal movement because the pan direction byte is 03 (stop).
Absolute and Relative Position Commands
- AbsolutePosition moves the camera to specified pan and tilt coordinates, measured from the camera’s coordinate origin.
- RelativePosition moves the camera by specified pan and tilt offsets from its current position.
In both commands, 0Y 0Y 0Y 0Y encodes the four-digit pan value (YYYY), and 0Z 0Z 0Z 0Z encodes the four-digit tilt value (ZZZZ).
Each Y or Z is a placeholder for one hexadecimal digit: 0–9 or A–F. Replace the placeholders with the successive digits of your desired value, from left to right. The leading 0 in each byte stays fixed.
Example Values:
| Value | Four-digit hexadecimal value | Bytes to send |
|---|---|---|
| Absolute Pan position or Relative (offset) | 1234 | 01 02 03 04 |
| Absolute Tilt position or Relative (offset) | 0056 | 00 00 05 06 |
Full Absolute and Relative Position Command Example:
| Command | Full packet |
|---|---|
| AbsolutePosition | 81 01 06 02 05 05 01 02 03 04 00 00 05 06 FF |
| RelativePosition | 81 01 06 03 05 05 01 02 03 04 00 00 05 06 FF |
Zoom
| Command | Function | Command Packet | Comments |
|---|---|---|---|
| CAM_Zoom | Stop | 81 01 04 07 00 FF | |
| * | Tele (Standard) | 81 01 04 07 02 FF | |
| * | Wide (Standard) | 81 01 04 07 03 FF | |
| * | Tele (Variable) | 81 01 04 07 2p FF | p = 0 (low) – 7 (high) |
| * | Wide (Variable) | 81 01 04 07 3p FF | p = 0 (low) – 7 (high) |
| * | Direct | 81 01 04 47 p q r s FF | |
| CAM_ZoomFocus | Direct | 81 01 04 47 0p 0q | pqrs: Zoom Position |
Hex Reference
| Decimal | Hexadecimal byte | Valid pan speed (VV) | Valid tilt speed (WW) |
|---|---|---|---|
| 0 | 00 | — | — |
| 1 | 01 | ✓ | ✓ |
| 2 | 02 | ✓ | ✓ |
| 3 | 03 | ✓ | ✓ |
| 4 | 04 | ✓ | ✓ |
| 5 | 05 | ✓ | ✓ |
| 6 | 06 | ✓ | ✓ |
| 7 | 07 | ✓ | ✓ |
| 8 | 08 | ✓ | ✓ |
| 9 | 09 | ✓ | ✓ |
| 10 | 0A | ✓ | ✓ |
| 11 | 0B | ✓ | ✓ |
| 12 | 0C | ✓ | ✓ |
| 13 | 0D | ✓ | ✓ |
| 14 | 0E | ✓ | ✓ |
| 15 | 0F | ✓ | ✓ |
| 16 | 10 | ✓ | ✓ |
| 17 | 11 | ✓ | ✓ |
| 18 | 12 | ✓ | ✓ |
| 19 | 13 | ✓ | ✓ |
| 20 | 14 | ✓ | ✓ |
| 21 | 15 | ✓ | — |
| 22 | 16 | ✓ | — |
| 23 | 17 | ✓ | — |
| 24 | 18 | ✓ | — |