← Products
2x1 Dual-Screen USB-C / HDMI Collaboration Switcher - 40G
Active

PT-SW-UH21DS-40G

2x1 Dual-Screen USB-C / HDMI Collaboration Switcher - 40G

The PT-SW-UH21DS-40G is a dual-screen HDMI 2.1 collaboration switcher featuring HDMI and USB-C DP Alt-Mode inputs, designed for multi-source management in professional AV environments. It supports a 40Gbps data rate …

ManualControl (TCP/IP)FAQSpecificationsCE declaration ↗

Available control interfaces. Expand an active type to see the full command table.

ASCII Command22 commandsActive
ConnectionRS-232 Baud rate: 115200; Data bit: 8; Stop bit: 1; Parity bit: none; TCP/IP Port: 8000↓ CSV

Source: manual, chapter API Commands, page 17

CommandDescriptionExampleResponse
?Get the list of all commands?
helpGet the list of all commandshelp
get modelGet device modelget modelPT-SW-UH21DS-40G
statusGet device current statusstatusPlease refer to the note at the end of the list.
get versionGet firmware versionget versionFW v1.1.0 KVM v1.1.0
power on/offPower on/off the devicepower onPower on… System Initializing... Initialization Finished! FW v1.1.0 KVM v1.1.0
get powerGet current power stateget powerPower on
rebootReboot the devicerebootReboot… System Initializing... Initialization Finished! FW v1.1.0 KVM v1.1.0
resetReset system settings to default (Should type "Yes" to confirm, "No" to discard)resetSure to Reset System Settings To Default? Type "Yes" after next prompt to confirm…
reset allReset system and network settings to default (Should type "Yes" to confirm, "No" to discard)reset allSure to Reset System and Network Settings To Default? Type "Yes" after next prompt to confirm…
set key on/offSet front panel key on/offset key onSet key on on
get keyGet front panel key on/off statusget keyOn
set ir on/offSet IR on/offset ir offSet IR on on
get irGet IR on/off statusget irOn
set beep on/offSet buzzer on/offset beep offSet beep off off
get beepGet buzzer on/off statusget beepOff
set hotkey on/offSet hotkey function on/offset hotkey onSet hotkey on on
get hotkeyGet hotkey function on/off statusget hotkeyOn
set hotkeys xSet hotkeys (x=1~5) x=1: PC1 input hotkeys x=2: PC2 input hotkeys x=3: Next input hotkeys x=4: Previous input hotkeys x=5: Enable/disable buzzerset hotkeys 1Type hotkeys…
get hotkeys xGet hotkeys (x=1~5) settings x=1: PC1 input hotkeys x=2: PC2 input hotkeys x=3: Next input hotkeys x=4: Previous input hotkeys x=5: Enable/disable buzzerget hotkeys 1"Ctrl" + "Ctrl" + "1"
set baud xSet RS-232 baud rate to x bps x=1: 4800 x=2: 9600 x=3: 19200 x=4: 38400 x=5: 57600 x=6: 115200set baud 6Set baud rate 115200 9600
get baudGet RS-232 baud rateget baud115200
API Commands57 commandsActive
ConnectionRS-232 Baud rate: 115200; Data bit: 8; Stop bit: 1; Parity bit: none; TCP/IP Port: 8000↓ CSV

Source: manual, chapter API Commands, page 27

CommandDescriptionExampleResponse
set input xSet input from (x=1~2) x=1: PC1 input x=2: PC2 inputset input 1Set PC1 input 1
get inputGet PC inputget inputPC1
set usb xSet USB from (x=0~2) x=0: Follow video input x=1: PC1 USB host x=2: PC2 USB hostset usb 0Set USB follow video input 0
get usbGet USB inputget usbFollow video input
get usb5vGet USB host input 5Vget usb5vPC1 USB: 5V PC2 USB: None
set autoswitch on/offSet auto-switching on/offset autoswitch onSet autoswitch on on
get autoswitchGet auto-switching on/off statusget autoswitchOn
set autoswitch mode xSet auto-switching detection mode x=0: 5V detection x=1: Signal detectionset autoswitch mode 1Set autoswitch mode to signal detection signal detection
get autoswitch modeGet auto-switching detection modeget autoswitch modeSignal detection
get edid xGet input ports (x=0~4) EDID x=0: All inputs x=1: USB-C A input x=2: USB-C B input x=3: HDMI A input x=4: HDMI B inputget edid 0USB-C A EDID 00: Copy EDID from HDMI output (default) USB-C B EDID 00: Copy EDID from HDMI output (default) HDMI A EDID 00: Copy EDID from HDMI output (default) HDMI B EDID 00: Copy EDID from HDMI output (default)
get edid data xGet input ports (x=0~4) EDID data x=0: All inputs x=1: USB-C A input x=2: USB-C B input x=3: HDMI A input x=4: HDMI B inputget edid data 0USB-C A EDID USB-C B EDID HDMI A EDID HDMI B EDID
set user edid xSet user defined EDID (x=0~2) to y x=0: User Defined 1 and User Defined 2 x=1: User Defined 1 x=2: User Defined 2 y=00 FF FF FF ….. (y is 256 bytes EDID data)set user edid 1User Defined 1 EDID is loaded
get user edid xGet user defined EDID (x=0~2) data x=0: User Defined 1 and User Defined 2 x=1: User Defined 1 x=2: User Defined 2get user edid 1
set output mode xSet output mode to (x=1~2) x=1: Output mode 1 x=2: Output mode 2set output mode 1Set output to mode 1 1
get output modeGet output modeget output modeMode 1
set output x stream on/offSet output (x=0~2) stream on/off x=0: All outputs x=1: Output A x=2: Output Bset output 0 stream offSet All outputs off on
get output x streamGet output (x=0~2) stream on/off status x=0: All outputs x=1: Output A x=2: Output Bget output 0 streamOutput A on Output B on
set output hdcp ySet output HDCP mode to (y=0~3) y=0: Reserved y=1: Auto y=2: HDCP 1.4 y=3: HDCP 2.2set output hdcp 1Set output HDCP to auto 1
get output hdcpGet output HDCP modeget output hdcpAuto
set audio mute on/offSet de-embedding audio mute on/off Default: offset audio mute on set audio mute offSet de-embedding audio mute on Set de-embedding audio mute off
get audio muteGet de-embedding audio mute on/off statusget audio muteMute on
set output x usb5v ySet USB device port output (x=0~4) 5V to y x=0: All USB device ports x=1: USB-A device 1 x=2: USB-A device 2 x=3: USB-A device 3 x=4: USB-A device 4 y=0: Disable 5V output y=1: Follow host y=2: Force 5V always outputset output 0 usb5v 1Set all USB device output 5V follow host. 1
get output x usb5vGet USB device port output (x=0~4) 5V statusget output 0 usb5vUSBA_1 5V: follow host USBA_2 5V: follow host USBA_3 5V: follow host USBA_4 5V: follow host
set cec power on/offSet CEC power on/off commandset cec power on set cec power offCEC power on CEC power off
set auto power feature on/offSet display auto power feature on/offset auto power feature onSet auto power on off
get auto power featureGet display auto power feature on/off statusget auto power featureAuto power on
set auto power off timer xSet auto power off command will be sent out after x (x=1~6) x=1: 5 sec x=2: 10 sec x=3: 30 sec x=4: 1 min x=5: 5 min x=6: 10 minset auto power off timer 1Set auto power off timer: 5 sec 5 sec
get auto power off timerGet auto power off timerget auto power off timer5 sec
set auto power control xSet auto power feature control via (x=1~3) x=1: CEC x=2: RS-232 x=3: CEC and RS-232set auto power control 1Set auto power control: CEC CEC
get auto power controlGet auto power feature control typeget auto power controlCEC
set RS-232 setting xSet RS-232 setting to x x=115200-8n1 Baud rate: 115200/57600/38400/19200/9600/4800/2400 Data bits: 7/8 Parity: n(None)/ o(Odd) / e(Even) Stop bits: 1/2set RS-232 setting 115200-8n1Set RS-232: 115200-8n1 9600-8n1
get RS-232 settingGet RS-232 settingget RS-232 setting115200-8n1
set RS-232 command on/offSet RS-232 command on/off Default: offset RS-232 command on set RS-232 command offSet RS-232 command on Set RS-232 command off
get RS-232 commandGet RS-232 command on/off statusget RS-232 commandOn
set RS-232 HEX/ASCII power on delay1 input delay2Set RS-232 HEX/ASCII power on delay1 input delay2 Command format is HEX or ASCII y1= RS-232 power on command y2= 0~1200sec y3= RS-232 input port selection y4= 0~1200sec NOTE: delay1 input delay2 can be NULLset RS-232 ASCII power on delay1 input delay2 set RS-232 ASCII power on set RS-232 HEX power on delay1 inputSet RS-232 ASCII power on delay1 input delay2 Set RS-232 ASCII power on Set RS-232 HEX power on delay1 input
set preset clear xClear a specified preset into unit (x=1~5) All settings except network setting. x=1~5: Preset 1 ~ Preset 5set preset clear 1Set preset 1 clear
set preset x name ySet preset (x=1~5) name to y (16 characters max) x=1~5: Preset 1 ~ Preset 5set preset 1 name BlueriverSet preset 1 name Blueriver
get preset x nameGet preset (x=1~5) name x=1~5: Preset 1 ~ Preset 5get preset 1 nameBlueriver
get ipconfigGet the Current IP Configauration Default: default static IP is 192.168.0.178/255.255.0.0/192.168.0.1get ipconfigIP Mode: DHCP IP: 192.168.62.106 Subnet Mask: 255.255.255.0 Gateway: 192.168.62.1 TCP/IP port: 8000 Telnet port: 23 MAC: 6C:DF:FB:0C:B3:8E (Static: 169.254.100.200 255.255.0.0 169.254.100.1)
get mac addrGet network MAC addressget mac addrMAC: 6C:DF:FB:0C:B3:8E
set ip mode xSet network IP mode to static IP or DHCP (x=0~1) x=0: Static x=1: DHCP Default: 1set ip mode 0Set IP mode static (Please use "set net reboot" command or repower device to apply new config!)
get ip modeGet network IP modeget ip modeDHCP
set ip addr xxx.xxx.xxx.xxxSet network IP addressset ip addr 192.168.1.100Set IP address 192.168.1.100 (Please use "set net reboot" command or repower device to apply new config!) DHCP on, Device can't config static address, set DHCP off first.
get ip addrGet network IP addressget ip addr192.168.62.106
set subnet xxx.xxx.xxx.xxxSet network subnet maskset subnet 255.255.255.0Set subnet mask 255.255.255.0 (Please use "set net reboot" command or repower device to apply new config!) DHCP on, Device can't config subnet mask, set DHCP off first.
get subnetGet network subnet maskget subnet255.255.255.0
set gateway xxx.xxx.xxx.xxxSet network gatewayset gateway 192.168.1.1Set gateway 192.168.1.1 (Please use "sst net reboot!" command or repower device to apply new config!) DHCP on, Device can't config gateway, set DHCP off first.
get gatewayGet network gatewayget gateway192.168.1.1
set tcp/ip port xSet network TCP/IP port (x=1~65535) Default: 4001set tcp/ip port 8000Set TCP/IP port 8000
get tcp/ip portGet network TCP/IP portget tcp/ip port8000
set telnet port xSet network telnet port(x=1~65535) Default: 23set telnet port 23Set telnet port 23
get telnet portGet network telnet portget telnet port23
set net rebootReboot network modulesset net rebootSearch for IP,Please wait ...! IP Mode: DHCP IP: 192.168.62.106 Subnet Mask: 255.255.255.0 Gateway: 192.168.62.1 TCP/IP port: 8000 Telnet port: 23 MAC: 6C:DF:FB:0C:B3:8E (Static: 169.254.100.200 255.255.0.0 169.254.100.1)
set admin password xSet admin login password (x=[16 characters max]) Default: adminset admin password adminSet admin password admin
get admin passwordGet admin login passwordget admin passwordadmin
set user password xSet user login password (x=[16 characters max]) Default: userset user password userSet user password user
get user passwordGet user login passwordget user passworduser
Staff sign-in