Serial communication, Serial communication, cont’d, Rs-232 programmer’s guide – Extron Electronics YCS SW6 MX User Guide User Manual
Page 10
YCS SW6 MX • Serial Communication
YCS SW6 MX • Serial Communication
Serial Communication, cont’d
The YCS SW6 MX switcher can be controlled by a host computer
or other control device via an RS-232 connection with a protocol
of 9600 baud, 1 stop bit, no parity, and no flow control. The
control device can use either Extron’s Simple Instruction Set
(SIS) or the graphical control program for Windows.
The rear panel RS-232 9-pin D connector has the
following pin assignments:
Pin
Description
1
Input #1
2
Transmit data
3
Receive data
4
Input #2
5
Ground
6
Input #3
7
Input #4
8
Input #5
9
Input #6
RS-232 Programmer’s Guide
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. All responses from the switcher to the host 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 an input selection occurs, the
switcher responds by sending a message to the host. No
response is required from the host. The switcher-initiated
messages are listed below (underlined).
(C)COPYRIGHT 1997, EXTRON ELECTRONICS YCS SW6 MX,
Vx.xx
The switcher displays the copyright message when it first
powers on. Vx.xx is the firmware version number.
Serial Communication
DB9 Pin Locations
Female
5
1
9
6
Switcher error responses
When the switcher receives a valid SIS command, it executes the
command and sends a response to the host device. If the
switcher is unable to execute the command because the
command is invalid or it contains invalid parameters, the
switcher returns an error response to the host. The error
response codes and their descriptions are as follows:
E01 — Invalid input channel number (out of range)
E10 — Invalid command
E13 — Invalid value (out of range)
Using the command/response table
The table on page 3-4 lists the commands that the switcher
recognizes as valid, the responses that are returned to the host, a
description of the command’s function or the results of
executing the command, and an example of each command.
Lower case characters are acceptable in the command field only
where indicated.
Symbol definitions are shown at the beginning of the table. An
ASCII to HEX conversion table is provided in figure 8.
Figure 8 — ASCII-to-HEX conversion table
3-2
3-3
ASCII to HEX Conversion Table
•