Network Technologies DVI-x operation manual Command Protocol, Autostatus, Command Definitions

Page 17

NTI UNIMUX SERIES USB KVM SWITCH

Command Protocol

RS232 commands supported by the unit are defined below. All command strings should be terminated with a <CR> (carriage return). When a command is sent, the entire string is echoed back along with a response from the addressed unit as shown in the command definitions. All characters in the command string should be upper case, and all numbers below 10 should have a leading 0 (ex: 1 = 01). As command strings are sent, the inner character delay cannot exceed 500 milliseconds.

CPU

 

 

SWITCH AT UNIT ADDRESS 01

(COMMAND SENT)

RS232

(COMMAND RECEIVED)

CS 01,01,03<CR>

 

CS 01,01,03<CR>

 

 

 

 

(ECHO)

 

 

CS 01,01,03<CR>

(RESPONSE RECEIVED)

RS232

(RESPOND)

CS 01,01,03<CR>

 

* <CR>

* <CR>

Figure 13- RS232 Communication Illustrated

Note: To use this command protocol, the user is required to write a program that will send an entire command string all at once, not character by character. Programs that send one character at a time (such as HyperTerminal) cannot be used to control the UNIMUX. Alternatively, the user may use the NTI Switch Control Program or SerTest to control the UNIMUX via RS232 (see page 15).

Legend:

 

(All numbers must be two digits)

SW

:

Switch (01-15) (Unit Address)

OP

:

Output (User) Port (01)

IP

:

Input (CPU) Port (01-MAXINPUTS)

<CR>

:

Carriage Return (Hex 0xD)

Note: For units with one output (user) port, use 01 for the output selection.

Command Definitions

 

Command String

Good Response

Description

CS SW,IP,OP

*<CR>

Connect Output (User) Port To specific Input (CPU) Port

RO SW,OP

*<CR>IP<CR>

Read Connection For Output (User) Port to Input (CPU) Port

RS SW

*<CR>

Internal Reset

RU SW

*<CR>IP,OP<CR>

Read Unit Size

SS SW,00

*<CR>

Disable Autostatus feature (see below)

SS SW,01

*<CR>

Enable Autostatus feature (see below)

GO SW,OP

*<CR>go SW,OP:IP<CR>

Read connection of a Output (User) Port to Input (CPU) Port

 

 

(different response format than RO command)

GM SW,00

*<CR>go OP,IP (all ports)<CR>

Read connection matrix of all Output (User) ports

If the first field is not a known command (as listed above) or SW field is different from the unit address programmed at the dip switch (page 12), the command will be ignored. If the SW field corresponds to the unit address, but if the syntax is wrong after this field, the switch will answer with a bad response ?<CR>.

Autostatus

When Autostatus is enabled, any output (user) -to-input (CPU) connection change in the UNIMUX will cause an Autostatus message to be sent via RS232 to the administrator. The format of the message would be "pc SW,OP:IP<CR>"

Example of an Autostatus message:

pc 01,01:04<CR>

which means "At the switch with unit address 01, the output (User) (01) has changed connection to input (CPU) port 04."

Note: An Autostatus message to the administrator will be delayed by any RS232 traffic being received by the switch from the administrator.

By default, Autostatus is disabled and must be manually enabled.

14

Image 17
Contents UNIMUX-DVI-x CE Statement CopyrightTable of Contents Available Options IntroductionTypes of User Input Devices Supported Types of CPUs SupportedDefinitions MaterialsRear View of UNIMUX-DVI-8 Features and FunctionsTo Mount to a Rack Rackmounting InstructionsInstallation Connect each CPU Rear View of UNIMUX-DVI-8Control Terminal RS232 ConnectionLimitations Power-Up SequenceCommand Mode Using the Unimux DVI KVM SwitchFront Panel Control Keyboard ControlBroadcast Mode Scan ModeNormal Mode No Sun Sleep ModeCountry Codes Select Country CodeMice and Trackballs with MACs RS232 Control RS232 Connections and Configuration9D Male Unit #1 Source Wiring Schematic of Matrix-Y-1 cable9D Male Autostatus Command ProtocolCommand Definitions Main Options SerTest- RS232 Interface Test ProgramEthernet Operations not applicable to this model Setup OptionsKeyboard-To-Computer Translation Keyboard FeaturesTranslation Capabilities Translation TablesKeyboard Layouts International Sun KeyboardsTroubleshooting Warranty InformationProblem No Video Index