Please read the Programmable Motorized Rotary Stage User Guide before beginning your development work.
ComXim Electric Turntable CT Command List
Firmware Version: V2R05C01-EN
Complete command reference for turntable control and configuration
Last Updated: 2025-06-12
1000px
| Command | Params | Description | Version | Notes |
|---|---|---|---|---|
| System Commands | ||||
| CT(); | 0 | CT startup test, testing whether the instruction system and communication connection are normal. | V2R02C01 | |
| CT+ACK(onOff); | 1 |
ACK Feedback Switch (Default: ON)
onOff:
|
V2R02C01 | |
| CT+EVENT(onOff); | 1 |
Event Switch (Default: ON)
onOff:
|
V2R02C01 | |
| CT+HEARTBEAT(onOff); | 1 |
Heartbeat switch (default: ON)
onOff:
|
V2R02C01 | |
| CT+SETIP(ipAddr); | 1 |
Set device IP address (Wi-Fi version, takes effect after reboot)
Example: CT+SETIP(192.168.4.1);
|
V2R03C01 | only Wi-Fi |
| Query Commands | ||||
| CT+GETTBCONFIG(); | 0 | Get saved device configuration (return values match CT+SAVE command listing). | V2R02C01 | |
| CT+GETPN(); | 0 |
Get product model name
Returns example: PN=MT200RUWPSL20Pr;CR+OK;
|
V2R02C01 | |
| CT+GETEBC(); | 0 |
Get product unique electronic ID
Returns example: EBC=B0E3-8ADB-4343-A1A3;CR+OK;
|
V2R02C01 | |
| CT+GETFWV(); | 0 |
Get firmware version
Returns example: FWV=FW V2R04C02;CR+OK;
|
V2R02C01 | |
| CT+GETOFFSETANGLE(); | 0 |
Get turntable’s current offset angle from zero point (supported after FW V2R03C01)
Example returns:
OffsetAngle= +16.12° (16.12° clockwise from origin) OffsetAngle= -47.29° (47.29° counterclockwise from origin) |
V2R03C02 | |
| Turntable Control Commands | ||||
| CT+IRDISABLE(onOff); | 1 |
IR remote disable switch
onOff:
|
V2R02C01 | |
| CT+SPKMUTE(onOff); | 1 |
Turntable mute switch
onOff:
|
V2R02C01 | |
| CT+SAVECONF(); | 0 |
Save device configuration with the following content:
Turntable parameters:
If product supports LED lighting:
|
V2R02C01 | |
| CT+SETSTOP(); | 0 | Set turntable stop | V2R02C01 | |
| CT+SETSPEED(speedGrade); | 1 |
Set turntable speed level
speedGrade: Positive integer (0~127, error if out of range)
Note: If within 0~127 but exceeds turntable’s max supported level, uses maximum speed
Example: Current level=5 → After CT+SETSPEED(3);, level=3
|
V2R02C01 | |
| CT+CHANGESPEED(speedUpOrDown); | 1 |
Adjust turntable speed level
speedUpOrDown:
|
V2R02C01 | Example: CT+CHANGESPEED(1); |
| CT+SETZERO(); | 0 | Set current position as zero point | V2R02C01 | |
| CT+TOZERO(); | 0 | Return turntable to previously set zero position | V2R02C01 | |
| CT+SETDIR(direction); | 1 |
Set turntable rotation direction (direction setting only)
direction:
|
V2R02C01 | |
| CT+SETMODE(turnMode); | 1 |
Set turntable rotation mode
turnMode:
Note:
1. Mode setting alone won’t start rotation – must use with CT+RUN(); 2. Step-repeat and swing modes require additional parameters (see START command) |
V2R02C01 | |
| CT+SETANGLE(angle); | 1 |
Set rotation angle (for non-continuous modes)
angle: Positive float or fraction (degrees)
Examples:
CT+SETANGLE(22.5); → 22.5° (360/16) CT+SETANGLE(360/16); → 22.5° (equivalent) Note: Both formats valid (fraction format useful for setting stops per rotation)
|
V2R02C01 | |
| CT+SETPAUSETIME(seconds); | 1 |
Set step rotation pause time (for non-continuous modes)
seconds: Positive integer (unit: seconds)
|
V2R02C01 | |
| CT+SETREPEATTIMES(times); | 1 |
Set turntable step repeat count (for non-continuous modes)
times: Positive integer (unit: times)
|
V2R02C01 | |
| CT+START(direction,turnMode,shutter,angle,seconds,times); | 6 |
Turntable Multi-Parameter Setup Command
CT+START(direction,turnMode,shutter,angle,seconds,times);
Parameters:
|
V2R02C01 | |
| CT+TRUNSINGLE(direction,angle); | 2 |
Set single rotation
direction: 0=Left (clockwise), 1=Right (counterclockwise)
angle: Positive float (degrees)
|
V2R02C01 | Deprecated Commands |
| CT+TBRESET(); | 0 | Restore device factory configuration. | V2R02C01 | |
| CT+TOZEROBYDIR(direction); | 1 |
Return to origin by specified direction (supported after FW V2R03极狐C01)
direction:
|
V2R03C02 | Use CT+TOZERO() instead |
| CT+AUTOCALIBRATE(mode); | 1 |
Enable/disable turntable auto calibration and calibration method (supported after FW V2R03C01)
mode:
|
V2R03C02 | |
| CT+AUTOSLEEP(time); | 1 |
Set turntable auto sleep time (0~30 minutes, 0=disable)
Example: CT+AUTOSLEEP(5); // Set auto sleep after 5 minutes of inactivity
|
V2R03C02 | |
| CT+GOTOMARK(); | 0 | Return to hardware zero point and set as new zero (supported after V2R03C02) | V2R03C02 | Hardware-dependent |
| CT+TURNSINGLE(direction,angle); | 2 |
Set single rotation (supported from FW V2R04C01)
Note: Functionally identical to TRUNSINGLE command (corrected spelling error).
Recommended to use TURNSINGLE directly.
Parameters:
|
V2R04C02 | Replace with: CT+TRUNSINGLE(1,60.0); |
| CT+RUN(); | 0 | Start turntable rotation (use after individual parameter settings) | V2R04C02 | |
| DSLR or Smartphone Camera Control Commands | ||||
| CT+SETAUTOSHUTTER(onOff); | 1 |
Set turntable auto shutter
onOff:
|
V2R02C01 | |
| CT+SETSHUTTER(timing, duration); | 2 |
Set shutter timing and duration (for compatible devices)
timing:
|
V2R03C02 | Requires compatible camera module |
| CT+CAMERACTRL(focusOnOff,captureOnOff); | 2 |
DSLR camera control
focusOnOff:
|
V2R02C01 | CT+START command automatically triggers shutter in full-auto mode |
| CT+PHONECAMCTRL(ShutterTime); | 1 |
Smartphone camera control
ShutterTime: Shutter signal duration (ms), recommended range 250-500 (may vary by device)
|
V2R04C02 | CT+START command automatically triggers shutter in full-auto mode |
| Lighting Commands (Hardware-dependent) | ||||
| CT+SETRGBC(r,g,b,effect); | 4 |
Set RGB color and effect for color LEDs
r, g, b: Color values (0-255)
effect:
|
V2R02C01 | Product-specific support |
| CT+SETRGBCOLOR(Red,Green,Blue); | 3 |
Set RGB LED values
Red (Red channel): Set red channel value of RGB, range 0~255, pure red setting: CT+SETRGBCOLOR(255,0,0);
Green (Green channel): Set green channel value of RGB, range 0~255, pure green setting: CT+SETRGBCOLOR(0,255,0);
Blue (Blue channel): Set blue channel value of RGB, range 0~255, pure blue setting: CT+SETRGBCOLOR(0,0,255);
For other colors, refer to RGB color model settings, example standard purple RGB: CT+SETRGBCOLOR(128,0,128);
|
V2R02C04 | |
| CT+SETLEDB(lightId, brightness); | 2 |
Set brightness for individual light
lightId: ID of the light (1-6)
brightness: Brightness level (0-100)
|
V2R02C01 | Product-specific support |
| CT+POWERLED(ledNum,lightGrade); | 2 |
Set power LED brightness level
ledNum: LED number (positive integer, refer to specific device definition, invalid if out of range; 0 means all power LEDs supported by the device)
lightGrade: Brightness level (0 or positive integer, refer to specific device definition, invalid if out of range)
For MT450, ledNum is always 1.
|
V2R02C01 | |
| CT+KNOBDISABLE(onOff); | 1 |
Dimming knob disable switch
onOff:
Under normal circumstances, both the knob and CT commands can control the lighting simultaneously. If complete knob shielding is required, this command can be used.
|
V2R02C01 | |
| CT+COLORLED(led1onOff,led2onOff,led3onOff); | 3 |
Set color LED switch
ledxonOff(x=1~3): (0 or 1, 0=OFF 1=ON, other values invalid)
|
V2R02C01 | |
| Weight Measurement Settings & Queries (Hardware-dependent) | ||||
| CT+SETWEIGHTSCALE(Num,Weight); | 2 |
Set current weight calibration value (for weight calibration)
Num: 0~5, specifies which calibration value to set.
Examples:
CT+SETWEIGHTSCALE(0,0);// Sets current product as no-load. If loaded, recalibrates to 0kg (equivalent to tare). CT+SETWEIGHTSCALE(1,0.5); // Calibrates 1st value as 0.5kg. CT+SETWEIGHTSCALE(2,5.0); // Calibrates 2nd value as 5.0kg. CT+SETWEIGHTSCALE(3,10); // Calibrates 3rd value as 10.0kg. CT+SETWEIGHTSCALE(4,50); // Calibrates 4th value as 50.0kg. CT+SETWEIGHTSCALE(5,150); // Calibrates 5th value as 150.0kg. The product is factory-calibrated. Regular users can use directly without recalibration.
|
V2R05C01 | |
| CT+GETWEIGHTSCALE(); | 0 |
Get current weight calibration values (for manual verification after calibration)
Example returns:
In_ROM_Set_Offset=-4243 In_ROM_Weight_Scale[0] = 6.32 In_ROM_Weight_Scale[1] = 6.36 In_ROM_Weight_Scale[2] = 6.37 In_ROM_Weight_Scale[3] = 6.37 In_ROM_Weight_Scale[4] = 6.37 In_ROM_Weight_Scale_Average = 6.36 |
V2R05C01 | |
| CT+GETWEIGHTBYkg(); | 0 |
Get current load: unit kg
Example returns:
CurLoad(kg)=15.5kg indicates current load is 15.5kg CurLoad(kg)=130.7kg indicates current load is 130.7kg |
V2R05C01 | |
| EVENT FEEDBACK (Turntable -> Controller) | ||||
| CR+EVENT=param; |
Turntable returns key events to the upper-level controller
This function can be enabled/disabled via “CT+EVENT(onOff);” command.
EVENT event feedback: param is the event parameter:
|
V2R02C02 | ||
| CT+EVENT:ROTATION_START; | 0 | Sent when turntable starts rotating | V2R02C01 | Event type |
| CT+EVENT:ROTATION_COMPLETE; | 0 | Sent when turntable completes a full rotation cycle | V2R02C01 | Event type |
| CT+EVENT:SHUTTER_TRIGGER; | 0 | Sent when shutter is triggered | V2R03C02 | Event type |
| Heartbeat Mechanism (Turntable -> Controller) | ||||
| Heartbeat “#” or “###” |
For communication link detection between device and terminal. The device and terminal exchange heartbeat bytes “#” to notify each other’s connection status.
This function can be enabled/disabled via “CT+HEARTBEAT(onOff);” command.
Behavior:
|
V2R02C01 | ||
| Turntable feedback messages to upper-level controller | ||||
| CR+OK; |
Turntable returns feedback information to the upper-level controller
CR+OK; indicates the turntable correctly received the command.
|
V2R02C01 | ||
| CR+ERR=param; |
param is the error code: refer to error code definitions for details.
CR+ERR=param; param is the error code, see error code definitions (Turntable->Controller).
|
V2R02C01 | ||
| Error code definitions (Turntable -> Controller) | ||||
| CR+ERR=31; CR+ERR=40; CR+ERR=41; CR+ERR=42; CR+ERR=43; CR+ERR=45; CR+ERR=46; CR+ERR=48; CR+ERR=51; CR+ERR=52; CR+ERR=61; CR+ERR=62; CR+ERR=63; CR+ERR=64; CR+ERR=70; CR+ERR=80; |
Error Code Definitions:
|
V2R02C01 | ||
