User Guide Manual

SIS
Programming and Control, cont’d
System 5 IP • SIS
Programming and Control5-14
PRELIMINARY
Command/response table for SIS commands (continued)
Command ASCII (Telnet) URL Encoded (Web) Response Additional description
(host to switcher) (host to switcher) (switcher to host)
Serial data port configuration and use
These commands apply to any port that uses RS-232 communication: both 1-way (output) and bidirectional RS-232 communication.
Send data string
Esc
X1
*
X17
*
X20
*
X21
RS
X2
W
X1
%2A
X17
%2A
X20
%2A
X21
RS
|
X2
response from command
X1
= port number (01 = rear host port, 03 = slave switcher port, 04 = front panel host port, 05 = projector control port, 06 = IR/Serial port A,... 09 = port D).
X17
= time in tens of ms to wait until receipt of the first response character before terminating the command (default = 10 = 100 ms, max. = 32767).
X20
= time in tens of ms to wait between characters being received via a serial port before terminating the current command or receive operation
(default = 2 = 20 ms, max. = 32767).
X21
= #L or #D. The letter parameter is case sensitive (requires capital D or capital L).
L =
Length of the message to be received.
D =
Delimiter value.
# = byte count (for L) or a single ASCII character expressed in decimal form (for D).
Byte count # can be from 0 to 32767, default = 0. The ASCII decimal # can be from 0 to 00255, default = the byte count. A 3-byte length = 3L. A delimiter of ASCII 0A = 10D.
The response includes leading zeros
X2
= command data section = {data} = data that will be directed to a specified port. When using either Telnet or a Web browser, be sure to convert nonalphanumeric characters
in
X2
to hex numbers. Data must be hex encoded if non-alphanumeric.
Examples:
Esc
05*4*7*3L RS {data}•
W05%2A4%2A7%2A3L RS
|
{data}
response from command
*
X17
*
X20
*
X21
is optional. If
X17
and
X20
are not specified, the default values are used.
Configure serial port parameters
24
Esc
X1
*
X25
,
X26
,
X27
,
X28
CP
W
X1
%2A
X25
%2C
X26
%2C
X27
%2C
X28
CP
|
Cpn
X1
•Ccp
X25
,
X26
,
X27
,
X28
Set baud rate (
X25
), parity (
X26
), data bits
(
X27
), and stop bits (
X28
) for port
X1
.
Example:
Esc
5*9600,N,8,1CP W5%2A9600%2CN%2C8%2C1CP
|
Cpn5•Ccp9600,N,8,1 Set the projector control port for 9600 baud,
no parity, 8 data bits, and 1 stop bit.
View serial port parameters
Esc
X1
CP W
X1
CP
|
X25
,
X26
,
X27
,
X28