A SERVICE OF

logo

4-9
IPL 250 • SIS Programming and Control
Command/response table for SIS commands (continued)
Command ASCII (Telnet)
(host to IPL)
URL Encoded (Web)
(host to IPL)
Response
(IPL to host)
Additional description
Configure serial port parameters
24
E X!
*
X2%
,
X2^
,
X2&
,
X2*
CP
}
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 or 8)
X2*
= stop bits (1 or 2)
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
|
Cpn2•Ccp9600,N,8,1
]
Set port 2 for 9600 baud, no parity,
8 data bits, and 1 stop bit.
Configure mode
24
E X!
*
X2(
CY
}
W
X !
%2A
X2(
CY
|
Cpn
X!
•Cty
X2(
]
X2(
= serial port type = 0 = RS-232.
N
There is no other mode option (no
RS-422, for example) for the IPL 250
View mode
E X!
CY
}
W
X !
CY
|
X2(
]
The response is always 0
]
for the IPL 250.
Configure flow control
E X!
*
X3)
,
X3!
CF
}
X3)
= flow control
(H = hardware, S = software, N = none)
X3!
= data pacing in miliseconds (0000 - 1000)
W
X !
%2A
X3)
%2C
X3!
CF
|
Cpn
X!
•C
X3)
,
X3!
]
View flow control
24
E X!
CF
}
W
X !
CF
|
X3)
,
X3!
]
View serial port parameters
E X!
CP
}
W
X!
CP
| X2%
,
X2^
,
X2&
,
X2(
] X2(
= serial port type = 0 = RS-232 (the only
type the IPL supports)
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!
]