EasyManuals Logo

Digi PortServer II User Manual

Digi PortServer II
277 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Page 130 Configuring Modem Connections 90030500B
Script commands
You can use the following commands in your scripts:
Note:
s
indicates a state parameter. State parameters are described after the list of
commands.
Anp
Sets character size to
n
, and parity according to
p
. The value
n
must
be 7 or 8. The value
p
may be
0
(no parity),
1
(odd parity),
2
(even
parity), or
3
(mark parity).
Bn
Transmits a break signal
n
milliseconds in length. If
n
is not specified,
transmits a 250 millisecond break.
Cn
Sets carrier loss detection. If
n
is
0
, carrier loss is not detected. If
n
is
1
, the modem hangs up if the port loses DCD.
E
{
string
}
If running interactively, writes
string
to the user’s terminal. If running
in background, writes
string
to the trace buffer. (
set
trace
mask=wan:info
must have been previously executed).
Fn
Pauses for
n
seconds, then flushes input data.
n
is optional and
defaults to
0
if you do not enter a value
.
Gs
Immediately transfers control to state
s
.
Hs
Sets the carrier lost (hangup) recovery state to
s
. If carrier is lost (and
detection set with command
Cn
) transfers to state
s
.
D+m
Raises a modem signal. If
m
is
1
, raises DTR. If
m
is
2
,
raises RTS.
D-m
Lowers a modem signal. If
m
is
1
, drops DTR. If
m
is
2
,
drops RTS.
M
{
string
}
Writes
string
to the modem.
Nb
Changes the baud rate to speed
b
.
Pn
Pauses for
n
seconds.
n
is optional and defaults to 1 second if you do
not enter a value.
Qn
Sets flow control. If
n
is
0
, disables all regular port flow control. If
n
is 1, enables flow control.
Rs
Decrements the retry count. If count < 0, switches to state
s
.
Sn
Declares the timeout used when waiting for a modem signal or input
data is
n
seconds.
Ts
Timeout recovery state. Any timeout waiting for input data, or
waiting for a modem signal will transfer to this state.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi PortServer II and is the answer not in the manual?

Digi PortServer II Specifications

General IconGeneral
BrandDigi
ModelPortServer II
CategoryServer
LanguageEnglish

Related product manuals