THE HUB

The Hub/PTZOPTICS/Cameras/PT20X-SE-GY-G3

PTZOPTICS, Cameras

PT20X-SE-GY-G3

Control
IP, RS-232 (default TCP)
Encoding
HEX
IP
TCP port 5678
RS-232
9600 baud, 8N1
More from this makerMove 4K

Commands

34 commands
POWER2
POWER ON \x81\x01\x04\x00\x02\xFF
Reply: \x90\x41\xFFVariables: VISCA camera power onEnding: none
POWER OFF \x81\x01\x04\x00\x03\xFF
Reply: \x90\x41\xFFVariables: VISCA camera standbyEnding: none
OTHER2
GET POWER \x81\x09\x04\x00\xFF
Reply: \x90\x50\x02\xFFVariables: 0x02=On, 0x03=StandbyEnding: none
GET ZOOM \x81\x09\x04\x47\xFF
Reply: \x90\x50\x00\x00\x00\x00\xFFVariables: 4-nibble zoom positionEnding: none
PTZ29
PAN LEFT \x81\x01\x06\x01\x08\x08\x01\x03\xFF
Reply: \x90\x41\xFFVariables: Pan speed 0x08, tilt speed 0x08Ending: none
PAN RIGHT \x81\x01\x06\x01\x08\x08\x02\x03\xFF
Reply: \x90\x41\xFFVariables: Pan speed 0x08, tilt speed 0x08Ending: none
TILT UP \x81\x01\x06\x01\x08\x08\x03\x01\xFF
Reply: \x90\x41\xFFVariables: Pan speed 0x08, tilt speed 0x08Ending: none
TILT DOWN \x81\x01\x06\x01\x08\x08\x03\x02\xFF
Reply: \x90\x41\xFFVariables: Pan speed 0x08, tilt speed 0x08Ending: none
PAN TILT UP LEFT \x81\x01\x06\x01\x08\x08\x01\x01\xFF
Reply: \x90\x41\xFFVariables: Diagonal pan left + tilt upEnding: none
PAN TILT UP RIGHT \x81\x01\x06\x01\x08\x08\x02\x01\xFF
Reply: \x90\x41\xFFVariables: Diagonal pan right + tilt upEnding: none
PAN TILT DOWN LEFT \x81\x01\x06\x01\x08\x08\x01\x02\xFF
Reply: \x90\x41\xFFVariables: Diagonal pan left + tilt downEnding: none
PAN TILT DOWN RIGHT \x81\x01\x06\x01\x08\x08\x02\x02\xFF
Reply: \x90\x41\xFFVariables: Diagonal pan right + tilt downEnding: none
PAN TILT STOP \x81\x01\x06\x01\x08\x08\x03\x03\xFF
Reply: \x90\x41\xFFVariables: Stop pan/tilt driveEnding: none
ZOOM IN \x81\x01\x04\x07\x02\xFF
Reply: \x90\x41\xFFVariables: Zoom tele standard speedEnding: none
ZOOM OUT \x81\x01\x04\x07\x03\xFF
Reply: \x90\x41\xFFVariables: Zoom wide standard speedEnding: none
ZOOM STOP \x81\x01\x04\x07\x00\xFF
Reply: \x90\x41\xFFVariables: Stop zoom motorEnding: none
FOCUS AUTO \x81\x01\x04\x38\x02\xFF
Reply: \x90\x41\xFFVariables: Enable auto-focusEnding: none
FOCUS MANUAL \x81\x01\x04\x38\x03\xFF
Reply: \x90\x41\xFFVariables: Enable manual focusEnding: none
FOCUS FAR \x81\x01\x04\x08\x02\xFF
Reply: \x90\x41\xFFVariables: Drive focus farEnding: none
FOCUS NEAR \x81\x01\x04\x08\x03\xFF
Reply: \x90\x41\xFFVariables: Drive focus nearEnding: none
FOCUS STOP \x81\x01\x04\x08\x00\xFF
Reply: \x90\x41\xFFVariables: Stop focus driveEnding: none
PRESET 1 \x81\x01\x04\x3F\x02\x00\xFF
Reply: \x90\x41\xFFVariables: Recall preset 1 (0x00)Ending: none
PRESET 2 \x81\x01\x04\x3F\x02\x01\xFF
Reply: \x90\x41\xFFVariables: Recall preset 2 (0x01)Ending: none
PRESET 3 \x81\x01\x04\x3F\x02\x02\xFF
Reply: \x90\x41\xFFVariables: Recall preset 3 (0x02)Ending: none
PRESET 4 \x81\x01\x04\x3F\x02\x03\xFF
Reply: \x90\x41\xFFVariables: Recall preset 4 (0x03)Ending: none
PRESET 5 \x81\x01\x04\x3F\x02\x04\xFF
Reply: \x90\x41\xFFVariables: Recall preset 5 (0x04)Ending: none
PRESET 6 \x81\x01\x04\x3F\x02\x05\xFF
Reply: \x90\x41\xFFVariables: Recall preset 6 (0x05)Ending: none
PRESET SET 1 \x81\x01\x04\x3F\x01\x00\xFF
Reply: \x90\x41\xFFVariables: Store preset 1 (0x00)Ending: none
PRESET SET 2 \x81\x01\x04\x3F\x01\x01\xFF
Reply: \x90\x41\xFFVariables: Store preset 2 (0x01)Ending: none
PRESET SET 3 \x81\x01\x04\x3F\x01\x02\xFF
Reply: \x90\x41\xFFVariables: Store preset 3 (0x02)Ending: none
PRESET SET 4 \x81\x01\x04\x3F\x01\x03\xFF
Reply: \x90\x41\xFFVariables: Store preset 4 (0x03)Ending: none
PRESET SET 5 \x81\x01\x04\x3F\x01\x04\xFF
Reply: \x90\x41\xFFVariables: Store preset 5 (0x04)Ending: none
PRESET SET 6 \x81\x01\x04\x3F\x01\x05\xFF
Reply: \x90\x41\xFFVariables: Store preset 6 (0x05)Ending: none
MENU1
HOME \x81\x01\x06\x04\xFF
Reply: \x90\x41\xFFVariables: Return PTZ head to home positionEnding: none

Cheat sheet

driver.cheatSheet()

What it is

The PTZOptics PT20X-SE-GY-G3 is a 20x optical zoom PTZ camera controlled via VISCA over IP (TCP 5678) or RS-232.

About this driver

driver.source()

Confirm each command on your device before you rely on it. Provided as is, with no warranty. To correct something or ask for it to come down, write to info@ctrlbot.io. Licensed CC BY 4.0: credit CTRLbot and link back when you share it. Product page. Manufacturer site.

Revision
1
Updated
2026-11-18
Catalog date
2026-11-18
License
CC-BY-4.0