If you would like to control Middle Control Software using an external device, you can do so by sending TCP commands to the computer that is running Middle Control.
Here are the specifications of the TCP protocol :
- Host : IP Adress of computer running Middle Control (can be 127.0.0.1 if your software is running on the same computer)
- Port : 11581
- End character : \n (CRLF or LF)
Complete list of TCP commands
General actions
CAM1 : Select camera/gimbal number 1
CAM2 : Select camera/gimbal number 2
CAM3 : Select camera/gimbal number 3
…. all the way up to CAM99
PRESET1 : Trigger preset 1 of the currently selected camera ID
PRESET2 : Trigger preset 2 of the currently selected camera ID
PRESET3 : Trigger preset 3 of the currently selected camera ID
… All the way up to PRESET12
PRESET1C5 : Trigger preset 1 of Camera ID 5 (preset 5.1 in Middle Control)
PRESET2C5 : Trigger preset 2 of Camera ID 5 (preset 5.2 in Middle Control)
… All the way up to PRESET12C5
SPRESET1C5 : Record preset 1 of Camera ID 5 (preset 5.1 in Middle Control)
SPRESET2C5 : Record preset 2 of Camera ID 5 (preset 5.2 in Middle Control)
… All the way up to SPRESET12C5
Gimbal actions (for variable axis)
These actions will be applied to the currently selected camera ID
Pxx : Pan speed command, xx between -2048 and +2048 (INT16)
Txx : Tilt speed command, xx between -2048 and +2048 (INT16)
Rxx : Roll speed command, xx between -2048 and +2048 (INT16)
Zxx : Zoom command, xx between -2048 and +2048 (INT16)
ZSxx : Zoom speed command, xx between 1 and 100 (INT8)
PTSxx : Pan/Tilt speed command, xx between 1 and 100 (INT8)
aFxx : Focus command, xx between 0.0 and 1.0 (FLOAT)
aIxx : Iris command, xx between 1.5 and 9 (FLOAT)
aWBxx : White Balance command, xx between 2500 and +10 000 (INT16)
aTINTxx : Tint command, xx between -50 and +50 (INT8)
aISOxx : ISO command, xx between -12 and +36 (INT8)
Gimbal actions (for buttons)
These actions will be applied to the currently selected camera ID
PAN_L : Pan the gimbal left
PAN_R : Pan the gimbal right
TILT_U : Tilt the gimbal up
TILT_D : Tilt the gimbal down
ROLL_L : Roll the gimbal left
ROLL_R : Roll the gimbal right
Note : after each of the gimbal actions above, you MUST also add a stop action which will stop the movement, after a delay of at least 70ms . These are PAN_IDLE, TILT_IDLE and ROLL_IDLE. Depending on which movement you mapped. For instance, a PAN_L action should be followed by a PAN_IDLE action after at least 70ms.
ZOOM+ : Zoom in by a step
ZOOM- : Zoom out by a step
SPEED+ : Increase the pan/tilt speed
SPEED- : Decrease the pan/tilt speed
ZSPEED+ : Increase the zoom speed
ZSPEED- : Decrease the zoom speed
ACTIVETRACK : Active Track Enable / Disable
Camera actions
These actions will be applied to the currently selected camera ID. Works with Blackmagic cameras controlled by the ATEM or paired to the APC-R using bluetooth.
AUTOFOCUS : Triggers autofocus
AUTOIRIS : Triggers autoiris
COLORBARS : Show Color Bars
ZEBRA : Show Zebra Guide
FALSECOLORS: Show False Color Guide
STATUSVIEW: Show the status view on the HDMI out of the camera
FOCUS+: Focus in by a step
FOCUS-: Focus out by a step
IRIS+: Iris increase
IRIS-: Iris decrease
WB+: White balance increase
WB-: White balance decrease
ISO+: ISO Increase
ISO-: ISO Decrease
TINT+: Tint increase
TINT-: Tint decrease
SHUTTER+: Shutter Increase
SHUTTER-: Shutter Decrease
ND+: ND Filter Increase
ND-: ND Filter Decrease
REC_START: Start Rec
REC_STOP: Stop Rec
REC_START_ALL: Start Rec on all cameras
REC_STOP_ALL: Stop Rec on all cameras
Custom Icon Pack Download
You can download our custom icon pack if you like.
1 Comment
Shane
Could use some examples using Netcat/NCAT.