Preliminar y, Programming and control, cont’d, System 5 ip • sis – Extron Electronics System 5 IP Series User Guide User Manual

Page 70: Programming and control 5-14

Advertising
background image

SIS

Programming and Control, cont’d

System 5 IP • SIS

Programming and Control

5-14

PRELIMINAR

Y

Command/r

esponse table for SIS commands (continued)

Command

ASCII

(T

elnet)

URL Encoded (W

eb)

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 bidir

ectional RS-232 communication.

Send data string

Esc

X1

*

X1

7

*

X2

0

*

X2

1

RS

X2

W

X1

%2A

X1

7

%2A

X2

0

%2A

X2

1

RS

|

X2

response fr

om command

X1

= port number (01 = r

ear host port, 03 = slave switcher port, 04 = fr

ont panel host port, 05 = pr

ojector contr

ol port, 06 = IR

/Serial port A,... 09 = port D).

X1

7

= time in tens of ms to wait until r

eceipt of the first r

esponse character befor

e terminating the command (default = 10 = 100

ms, max. = 32767).

X2

0

= time in tens of ms to wait

between characters

being r

eceived via a serial port befor

e terminating the curr

ent command or r

eceive operation

(default = 2 = 20 ms, max. = 32767).

X2

1

= #L

or

#D. The letter parameter is case sensitive (r

equir

es capital D or capital L).

L =

L

ength of the message to be r

eceived.

D =

D

elimiter value.

# = byte count (for L) or a single ASCII character expr

essed in decimal form (for D).

Byte count # can be fr

om 0 to 32767, default = 0. The ASCII decimal # can be fr

om 0 to 00255, default = the byte count. A

3-b

yte length = 3L. A

delimiter of ASCII 0A

= 10D.

The r

esponse includes leading zer

os

X2

= command data section = {data} = data that will be dir

ected to a specified port. When using either T

elnet or a W

eb br

owser

, be sur

e 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 fr

om command

*

X1

7

*

X2

0

*

X2

1

is optional. If

X1

7

and

X2

0

ar

e not specified, the default values ar

e used.

Configur

e serial port parameters

24

Esc

X1

*

X2

5

,

X2

6

,

X2

7

,

X2

8

CP

W

X1

%2A

X2

5

%2C

X2

6

%2C

X2

7

%2C

X2

8

CP

|

Cpn

X1

•Ccp

X2

5

,

X2

6

,

X2

7

,

X2

8

Set baud rate (

X2

5

), parity (

X2

6

), data bits

(

X2

7

), and stop bits (

X2

8

) for port

X1

.

Example:

Esc

5*9600,N,8,1CP

W5%2A9600%2CN%2C8%2C1CP

|

Cpn5•Ccp9600,N,8,1

Set the pr

ojector contr

ol port for 9600 baud,

no parity

, 8 data bits, and 1 stop bit.

V

iew serial port parameters

Esc

X1

CP

W

X1

CP

|

X2

5

,

X2

6

,

X2

7

,

X2

8

Advertising