P — set pulse dial as default, Qn — result code display, Sn — read/write s registers – Ositech comm Trumpcard Data/Fax Modem User Manual

Page 46: Result codes, Examples

Advertising
background image

4 - 14

Trumpcard 14400/28800 Modem

Section Four

Result Codes

CONNECT XXXX

If a connection is established

NO CARRIER

If retrain is not successful in the time specified by S7

P — Set Pulse Dial as Default

Parameters

none

Default

none

Causes the modem to assume that all subsequent dial commands are
pulse dialled. The user may omit the "P" from the dial strings.

Qn — Result Code Display

Parameter

0 or 1

Default

0

Determines whether or not the modem returns the result codes (see Xn
command).

Examples

ATQ0

Allows the modem to return result codes

ATQ1

Prohibits the modem from returning result codes

Sn — Read/Write S Registers

Parameters

n = 0-95 x = 0-255

Default

none

Selects a S register, reads or writes the contents of a S register, or reports
the value of a S register. All the S registers may be read. If no parameter is
entered, S0 is assumed. The “S” can be omitted to assume the last S-
register accessed.

All the registers will return the OK response if x is a legal value; however,
some registers will not actually write the value anywhere.

If the parameter number is beyond the range of the S-registers available,
the modem will return the ERROR message. The value x is “MOD”ed with
256, and if the result is outside the range permitted for a given S-register,
the values will still be stored, but functionally, the lower and higher limits
will be observed. Input and output is always in decimal format. Note that
some S-registers are read-only.

In some cases, writing to the S-register will appear to be accepted but the
value will not actually be written.

Advertising