Host-to-switcher communications, Switcher-initiated messages, Error responses – Extron electronic RSB 126 User Manual
Page 22: Using the command/response table, Symbol definitions, Host-to-switcher communications, Switcher-initiated messages -2 error responses -2, Symbol definitions -3, Sis configuration and control
SW USB Series • SIS Configuration and Control
SIS Configuration and Control
SW USB Series • SIS Configuration and Control
4-3
4-2
The SW USB can be remotely set up and controlled via a host
computer or other device (such as a control system) that is
attached to the rear panel RS-232 port. (See “Wiring for RS-232
Communication” in chapter 2, “Installation,” for information
on connecting to this port.) You can issue Simple Instruction
Set (SIS) commands to the switcher from your computer using
using the RS-232 interface with a communication software
program such as DataViewer or HyperTerminal.
Host-to-Switcher Communications
SIS commands consist of one or more characters per field. No
special characters are required to begin or end a command
sequence. When the switcher determines that a command is
valid, it executes the command and sends a response to the host
device.
Most responses from the SW USB to the host computer end with
a carriage return and a line feed (CR/LF = ]), which signals
the end of the response character string. A string is one or more
characters.
Switcher-initiated messages
When a local event such as a front panel selection takes place,
the switcher responds by sending a message to the host,
indicating what selection was entered. No response is required
from the host.
The following SW USB-initiated message is displayed:
(C) Copyright 2008, Extron Electronics SWn USB Switcher
Series, Vx.xx
The switcher sends the copyright message when it first powers
on. Vx.xx is the firmware version number.
N
This message is displayed only at power-up.
Error responses
If the switcher is unable to execute a command it receives
because the command is invalid or contains invalid parameters,
the SW USB returns an error response to the host. Error
response codes and their descriptions are:
E01
– Invalid input channel number (out of range)
E10
– Invalid command
E13
– Invalid value (out of range)
Using the Command/Response Table
The command/response table on the following pages lists
valid ASCII and hexadecimal command codes, the switcher’s
responses to the host, and a description of the command’s
function or the results of executing the command.
The ASCII to HEX conversion table below is for use with the
command/response table.
ASCII to HEX Conversion Table
•
Symbol definitions
]
= CR/LF (carriage return/line feed) (hex 0D 0A)
}
= Soft carriage return (no line feed)
•
= Space
E
= Escape key
X!
= Input number: 0 through the maximum number of
inputs (2 or 4)
0 = all inputs disconnected
X#
= On/off and signal status
0 = Off/signal not present
1 = On/signal present
X$
=
X# X# X# X#
Each
X#
corresponds to inputs 1, 2, 3, and 4 in
sequence.
X%
= Position of the mouse emulation DIP switch
(SW4 USB Plus only)
0 = Mouse emulation off (switch is down)
1 = Mouse emulation on (switch is up)
X^
= Position of the keyboard emulation DIP switch
(SW4 USB Plus only)
0 = Keyboard emulation off (DIP switch is down.)
1 = Keyboard emulation on (DIP switch is up.)
N
Unless otherwise indicated, commands are not case
sensitive.