Rocosoft PTZ Controller Macro Function Commands List
You can create scripts of commands, called Macros, and use the Macro shortcut buttons in PTZJoy to execute complex sequences of actions with a single click of a button or a keypress on a joystick or computer keyboard.
PTZJoy has a robust library of macro function commands for nearly all PTZ Camera functions. Use our simple syntax to write a script: PJ/function
Camera Movement Commands:
PJ/Left
PJ/Right
PJ/Up
PJ/Down
PJ/UpLeft
PJ/UpRight
PJ/DownLeft
PJ/DownRight
PJ/Stop
PJ/ZoomIn
PJ/ZoomOut
PJ/ZoomStop
PJ/FocusAuto
PJ/FocusNear
PJ/FocusFar
PJ/Home
Port Management Commands:
PJ/PortDown
PJ/PortUp
PJ/Port1
PJ/Port2
PJ/Port3
PJ/Port4
PJ/Port5
Camera Number Management Commands:
PJ/CamNumUp
PJ/CamNumDown
PJ/Camera1
PJ/Camera2
PJ/Camera3
PJ/Camera4
PJ/Camera5
PJ/Camera6
PJ/Camera7
PJ/Camera8
Preset Management Commands:
PJ/Preset1 - 32 - Preset Call
PJ/IntPresets - Switch to Internal Presets
PJ/ExtPresets - Switch to External Presets
PJ/SetPreset - Save current Preset
Utility Commands:
PJ/XJoyOn
PJ/XJoyOff
PJ/SlowJoy1
PJ/SlowJoy2
PJ/SlowJoy3
PJ/SlowJoyOff
PJ/SoftJoyOn
PJ/SoftJoyOff
PJ/TallyOn
PJ/TallyOff
PJ/CamOn
PJ/CamOff
Macro Management Commands:
PJ/RunMacro1 - 16 (Load Macros)
Advanced Studio Commands:
Macro Management Commands:
PJ/UnLoadMacro1 - 16 (Stop Macros)
PJ/LoopMacro1 - 16 (Loop Macros)
PJ/DirectMacroCmd=Macro=1_Cmd=1 - 16 (Call a specific Command from a Specific Macro)
Direct Preset Management Commands:
PJ/DirectPresetCall=Port=1_Cam=1_IntPreset=1 - 32 (Call Internal Camera Preset)
PJ/DirectPresetCall=Port=1_Cam=1_ExtPreset=1 - 32 (Call External InPTZJoy Preset)
Direct Camera Movement Commands:
PJ/DirectPTMove=Port=1_Cam=1_P=1_T=1 (P -24 to 24, T -18 to 18)
PJ/DirectZMove=Port=1_Cam=1_Z=1 (Z -8 to 8)
PJ/DirectPTZMove=Port=1_Cam=1_P=1_T=1_Z=1 (P -24 to 24, T -18 to 18, Z -8 to 8)
PJ/DirectPTMove=Port=1_Cam=1_P=0_T=0 (Pan/Tilt Stop)
PJ/DirectZMove=Port=1_Cam=1_Z=0 (Zoom Stop)
PJ/DirectPTZMove=Port=1_Cam=1_P=0_T=0_Z=0 (Pan/Tilt/Zoom Stop)
Trace Management Commands:
PJ/Trace1 - 4 (From 1 to 4)
PJ/DirectTrace=Cam=1_Trace=1 (From Cam=1_Trace=1 To Cam=4_Trace=4)
PTZ Camera and Live Production System Monitoring:
PJ/ActivePTZJoyCamNum? (Returns the number of active camera in PTZJoy)
PJ/ActiveProgramVmixCamNum? (Returns the number of active input in vMix Program window)
PJ/ActivePreviewVmixCamNum? (Returns the number of active input in vMix Preview window)
PJ/ActiveProgramTricCamNum? (Returns the number of active input in TriCaster Program window)
PJ/ActivePreviewTricCamNum? (Returns the number of active input in TriCaster Preview window)
Direct Utility Commands:
PJ/DirectTally=Port=1_Cam=1_TallyOn
PJ/DirectTally=Port=1_Cam=1_TallyOff
PJ/DirectPower=Port=1_Cam=1_CamOn
PJ/DirectPower=Port=1_Cam=1_CamOff
PJ/SysCmd/DirectOut=1