Rocosoft PTZJoy Controller Macro Function Commands List

Rocosoft PTZJoy 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 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/PTZJoy=Left
PJ/PTZJoy=Right
PJ/PTZJoy=Up
PJ/PTZJoy=Down
PJ/PTZJoy=UpLeft
PJ/PTZJoy=UpRight
PJ/PTZJoy=DownLeft
PJ/PTZJoy=DownRight
PJ/PTZJoy=Stop
PJ/PTZJoy=ZoomIn
PJ/PTZJoy=ZoomOut
PJ/PTZJoy=ZoomStop
PJ/PTZJoy=FocusAuto
PJ/PTZJoy=FocusNear
PJ/PTZJoy=FocusFar
PJ/PTZJoy=Home

Port Management Commands:
PJ/PTZJoy=PortDown
PJ/PTZJoy=PortUp
PJ/PTZJoy=Port1
PJ/PTZJoy=Port2
PJ/PTZJoy=Port3
PJ/PTZJoy=Port4
PJ/PTZJoy=Port5

Camera Number Management Commands:
PJ/PTZJoy=CamNumUp
PJ/PTZJoy=CamNumDown
PJ/PTZJoy=Camera1
PJ/PTZJoy=Camera2
PJ/PTZJoy=Camera3
PJ/PTZJoy=Camera4
PJ/PTZJoy=Camera5
PJ/PTZJoy=Camera6
PJ/PTZJoy=Camera7
PJ/PTZJoy=Camera8

Preset Management Commands:
PJ/PTZJoy=Preset1 - PJ/PTZJoy=Preset32 - Preset Call.
PJ/PTZJoy=IntPresets - Switch to Internal Presets.
PJ/PTZJoy=ExtPresets - Switch to External Presets.
PJ/PTZJoy=SetPreset - Save current Preset.
PJ/PTZJoy=SetIntPreset=1 - PJ/PTZJoy=SetIntPreset=32 - Specific Internal Preset Set.
PJ/PTZJoy=SetExtPreset=1 - PJ/PTZJoy=SetExtPreset=32 - Specific External Preset Set.

Utility Commands:
PJ/PTZJoy=XJoyOn
PJ/PTZJoy=XJoyOff
PJ/PTZJoy=SlowJoy1
PJ/PTZJoy=SlowJoy2
PJ/PTZJoy=SlowJoy3
PJ/PTZJoy=SlowJoyOff
PJ/PTZJoy=SoftJoyOn
PJ/PTZJoy=SoftJoyOff
PJ/PTZJoy=TallyOn
PJ/PTZJoy=TallyOff
PJ/PTZJoy=CamOn
PJ/PTZJoy=CamOff

Macro Management Commands:
PJ/PTZJoy=RunMacro1 - PJ/PTZJoy=RunMacro16 - Load Macros.

Extra advanced commands:

Direct Preset Management Commands:
PJ/PTZJoy=DirectPresetCall=Port=1_Cam=1_IntPreset=1 - PJ/PTZJoy=DirectPresetCall=Port=1_Cam=1_IntPreset=32 (Call Internal Camera Preset)
PJ/PTZJoy=DirectPresetCall=Port=1_Cam=1_ExtPreset=1 - PJ/PTZJoy=DirectPresetCall=Port=1_Cam=1_ExtPreset=32 (Call External InPTZJoy Preset)

Direct Camera Movement Commands:
PJ/PTZJoy=DirectPTMove=P=1_T=1 From PJ/PTZJoy=DirectPTMove=P=-24_T=-18 To PJ/PTZJoy=DirectPTMove=P=24_T=18
PJ/PTZJoy=DirectZMove=Z=1 From PJ/PTZJoy=DirectZMove=Z=-8 To PJ/PTZJoy=DirectZMove=Z=8
PJ/PTZJoy=DirectPTZMove=P=1_T=1_Z=1 From PJ/PTZJoy=DirectPTZMove=P=-24_T=-18_Z=1 To PJ/PTZJoy=DirectPTZMove=P=24_T=18_Z=8
PJ/PTZJoy=DirectPTMove=P=0_T=0 Pan/Tilt Stop
PJ/PTZJoy=DirectZMove=Z=0 Zoom Stop
PJ/PTZJoy=DirectPTZMove=P=0_T=0_Z=0 Pan/Tilt/Zoom Stop

PTZ Camera and Live Production System Monitoring:
PJ/PTZJoy=ActivePTZJoyCamNum? - Returns the number of active camera in PTZJoy
PJ/PTZJoy=ActiveProgramVmixCamNum? - Returns the number of active input in vMix Program window
PJ/PTZJoy=ActivePreviewVmixCamNum? - Returns the number of active input in vMix Preview window
PJ/PTZJoy=ActiveProgramTricCamNum? - Returns the number of active input in TriCaster Program window
PJ/PTZJoy=ActivePreviewTricCamNum? -Returns the number of active input in TriCaster Preview window


 

Need to Control Your IP or VISCA PTZ Cameras? 

Check out our line of professional PTZ Camera Controller Software products for IP or Serial port VISCA PTZ Cameras.

IP PTZ Camera Controller Software

 

VISCA PTZ Camera Controller Software


 

Need a USB to VISCA Control Cable? We also make PTZ Gear.

Check out our selection of Serial RS-232, Serial RS-422, and Serial RS-485 to USB Control Cable sets for both single and multi-camera configurations: