AC7922 - RS-232 Control and ASCII Commands

  • Updated

The AC7922 device is equipped with an RS-232 communication port to facilitate remote control using ASCII commands.

Connection Requirements
The connection between the product and the control PC requires two components:

  1. A 3-pin Phoenix connector cable (for interfacing with the product's port).
  2. An RS-232 to USB cable (to connect to the PC's standard port).

Serial port protocol: Baud rate: 115200 (default), Data bits: 8, Stop bits: 1, Check bit: 0

Parameter notation: x = Parameter 1, z = Parameter 2, ! = Delimiter

Command Code Function Description Example Feedback Default Setting
help! List all commands help!    
status! Get the current device status status! 2-port USB Type-C / HDMI KVM switch 4K60Hz
MCU FW version: v1.10.03
Sub FW version: v1.10.01
Sub boot version: v1.00.01
KVM FW version: v1.00.10
Power on
Output 1 stream: enable
HDMI output 1 HDMI 5V: follow input
HDMI 5V delay: 180s
Auto switch: enable
Output 1 -> Input 1
Beep off
 
r type! Get the device model r type! 2x1 KVM HDMI 2.0/USB-C switcher  
r fw version! Get the firmware version r fw version! MCU FW version: vx.xx.xx
Sub FW version: vx.xx.xx
Sub boot version: vx.xx.xx
KVM FW version: vx.xx.xx
 
power z! Power the device on or off.
0 = Power off
1 = Power on
power 1! Power on  
r power! Get the current power state r power! Power on / Power off  
reboot! Reboot the device reboot! Reboot...  
reset! Reset the device to its factory-default settings reset! Reset to factory defaults  
s output 1 stream x! Enable or disable the Output 1 stream.
0 = Disable output stream
1 = Enable output stream
s output 1 stream 1! Output 1 stream: enable Enable
r output 1 stream! Get the Output 1 stream status r output 1 stream! Output 1 stream: enable  
r input x! Get the input status.
0 = All inputs
1 = Input 1
2 = Input 2
r input 0! Input 1 status: active
Input 2 status: active
 
r input 0! Get the status of all inputs r input 0! Input 1 status: active
Input 2 status: active
 
r input 1! Get the Input 1 status r input 1! Input 1 status: active  
r input 2! Get the Input 2 status r input 2! Input 2 status: active  
s output 1 hdmi5v x! Set the HDMI 5V status for Output 1.
0 = Follow input
1 = Force 5V always on
2 = Disable 5V output
s output 1 hdmi5v 0! HDMI output 1 HDMI 5V: follow input Follow input
r output 1 hdmi5v! Get the HDMI 5V status for Output 1 r output 1 hdmi5v! HDMI output 1 HDMI 5V: follow input  
s hdmi5v delay x! Set the HDMI 5V switch-off delay in Follow Input mode.
Range: 0-255 seconds
s hdmi5v delay 180! HDMI 5V delay: 180s 80s
r hdmi5v delay! Get the HDMI 5V switch-off delay r hdmi5v delay! HDMI 5V delay: 180s  
s auto switch x! Enable or disable automatic input switching.
0 = Disable auto switch
1 = Enable auto switch
s auto switch 1! Auto switch: enable Enable
r auto switch! Get the automatic input-switching status r auto switch! Auto switch: enable  
s output 1 in source x! Route an input source to Output 1.
1 = Input 1
2 = Input 2
s output 1 in source 1! Output 1 -> Input 1  
r output 1 in source! Get the input source currently selected for Output 1 r output 1 in source! Output 1 -> Input 1  
s beep z! Enable or disable the buzzer.
0 = Beep off
1 = Beep on
s beep 1! Beep on Beep off
r beep! Get the current buzzer status r beep! Beep on  
s output 1 hdcp x! Set the HDCP mode for Output 1.
0 = User Mode
1 = HDCP 1.4
2 = HDCP 2.2
3 = HDCP Auto
s output 1 hdcp 0! Output 1 HDCP: user mode HDCP Auto
r output 1 hdcp! Get the current HDCP status for Output 1 r output 1 hdcp! Output 1 HDCP: HDCP Auto  
Note: Commands must be sent exactly as shown, including spaces and the exclamation mark (!) delimiter.