beautypg.com

Extron Electronics IPCP 505 User Guide User Manual

Page 64

background image

IPCP 505 • SIS Pr

ogramming and Contr

ol

58

Command/Response Table for SIS Commands (continued)

Command

ASCII (Telnet)

(host to IPCP)

URL Encoded (web)

(host to IPCP)

Response

(IPCP to host)

Additional description

Configure serial port parameters

24

E X!

*

X2%

,

X2^

,

X2&

,

X2*

CP

}

X!

= serial port number:

Serial ports:

IR/serial ports:

01 = COM1 port

09 = IR/serial port 1

02 = COM2 port

10 = IR/serial port 2

03 = COM3 port

11 = IR/serial port 3

04 = COM4 port

12 = IR/serial port 4

05 = COM5 port

13 = IR/serial port 5

06 = COM6 port

14 = IR/serial port 6

07 = COM7 port

15 = IR/serial port 7

08 = COM8 port

16 = IR/serial port 8

X2%

= baud rate (300-115200 baud, default

= 9600 baud).

X2^

= parity (O = odd, E = even,

N = none [default], M = mark, S = space).

X2&

= data bits: 7, 8 (default = 8).

X2*

= stop bits: 1, 2 (default = 1).

W

X!

%2A

X2%

%2C

X2^

%2C

X2&

%2C

X2*

CP

|

Cpn

X!

•Ccp

X2%

,

X2^

,

X2&

,

X2*

]

Example:

E

2*9600,N,8,1CP

}

W2%2A9600%2CN%2C8%2C1CP

|

Cpn02•Ccp9600,N,8,1

]

Set port 2 for 9600 baud, no parity,
8 data bits, and 1 stop bit.

View serial port parameters

E X!

CP

}

W

X!

CP

|

X2%

,

X2^

,

X2&

,

X2*

]

Example

E

2CP

}

9600,N,8,1

]

Configure mode

24

E X!

*

X2(

CY

}

W

X!

%2A

X2(

CY

|

Cpn

X!

•Cty

X2(

]

X2(

= serial port type:

0 = RS-232 (the only serial protocol
supported by COM1-COM6 ports, and the
default for COM7-COM8)
1 = RS-422
2 = RS-485.

View mode

E X!

CY

}

W

X!

CY

|

X2(

]

Configure flow control

E X!

*

X3)

,

X3!

CF

}

X3)

= flow control

(H = hardware, S = software, N = none).

X3!

= data pacing in milliseconds (0000 - 1000).

W

X!

%2A

X3)

%2C

X3!

CF

|

Cpn

X!

•Cfl

X3)

,

X3!

]

View flow control

24

E X!

CF

}

W

X!

CF

|

X3)

,

X3!

]

Configure receive timeout

24

E X!

*

X1&

*

X2)

*

X2#

*

X2!

CE

}

Set the time to wait (

X1&

= waiting time in

tens of ms until receipt of the first response
character before terminating the receive
operation,

X2)

= waiting time in tens of ms

between characters before terminating) and
priority status.
(

X2#

: 0 = default, use

send data string

command parameters; 1 = use

configure

receive timeout command parameters)
for port

X!

.

X2!

= #L

or #D (see previous

page). The response includes leading zeros.

W

X!

%2A

X1&

%2A

X2)

%2A

X2#

%2A

X2!

CE

|

Cpn

X!

•Cce

X1&

,

X2)

,

X2#

,

X2!

]

View receive timeout

E X!

CE

}

W

X!

CE

|

X1&

,

X2)

,

X2#

,

X2!

]