beautypg.com

Communication and control, cont’d – Extron Electronics IPL T S Series User Guide User Manual

Page 46

background image

Communication and Control, cont’d

IPL T S Series • Communication and Control

4-6

Command

ASCII (T

elnet)

(host to unit)

URL Encoded (W

eb)

(host to unit)

Response

(unit to host)

Additional description

Bidir

ectional serial data port

Send data string

E

X!

*

X1&

*

X2)

*

X2!

RS

}X@

W

X!

%2A

X1&

%2A

X2)

%2A

X2!

RS

|X@

response

fr

om

command

]

X!

= specific port number (01 – 99)

1 = r

ear host (Host Contr

ol RS-232 port)

2 = fr

ont panel Config port

3 = slaved switcher (MLS port)

4 = display port (Pr

ojector RS-232/IR)

5 = IR/Serial port

A

6 = IR/Serial port B

7 = IR/Serial port C

X@

= command data section (< 200 bytes).

X1&

= time in tens of ms for the IPL

T S unit

to wait until r

eceipt of the first r

esponse

character befor

e terminating the curr

ent

receive operation (default = 10 = 100 ms,

max. = 32767). The r

esponse includes

leading zer

os.

X2)

= time in tens of ms for the IPL

T S to

wait between characters being r

eceived via

a serial port befor

e terminating the curr

ent

receive operation (default = 2 = 20

ms,

max. = 32767). The r

esponse includes

leading zer

os.

X2!

= #L

or #D. The letter parameter is case

sensitive (r

equir

es a capital “D” or capital

“L”). The r

esponse includes leading zer

os.

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 delimiter #

value can be fr

om 0 to 00255, default = the

byte count.

Examples:

A

3-byte

length

=

3L.

A

delimiter

of

ASCII

0A

=

10D.

N

*

X1&

*

X2)

*

X2!

is

optional.

X1&

is

optional

only

if

X2)

is

also

missing.

If

these

thr

ee

variables

ar

e

not

specified,

the

default

values

ar

e

used.

For

this

command,

X1&

and

X2)

must

both

a)

equal

zer

o

or

b)

be

nonzer

o.

N

For W

eb encoding

for

X@

, convert

nonalphanumeric

characters

to

hex

numbers.

A

space

(hex

=

20)

is

encoded

as

%20.

A

plus

sign

(hex

=

2B)

is

encoded

as

%2B.

Example:

E

05*4*7*3L

RS

}

W05%2A4%2A7%2A3L

RS

|

response

fr

om

command

]

N

The

data

string

(

X@

) in

this

RS

command

is

limited

to

200

bytes.

0

1

2

3

4

5

6

7

8

9

10

LF

CR

20

Esc

30

space

!

#

$

%

&

40

(

)

*

+

,

-

.

/

0

1

50

2

3

4

5

6

7

8

9

:

;

60

<

=

>

?

@

A

B

C

D

E

70

F

G

H

I

J

K

L

M

N

O

80

P

Q

R

S

T

U

V

W

X

Y

90

Z

[

\

]

^

_

a

b

c

100

d

e

f

g

h

i

j

k

l

m

110

n

o

p

q

r

s

t

u

v

w

120

x

y

z

{

|

}

~

Del

ASCII to Decimal Conversion T

able

To

find the decimal equiv

alent of the ASCII character

, add

the ro

w heading and column heading numbers together

.

LF = line f

eed

CR = carr

iage retur

n

(

}

)

Esc = escape

Del = delete