ATS42 Modem
Disconnect Reason
S Register 42 contains a value indicating the reason the modem last disconnected.
This allows you to check for possible faults if your modem suddenly hangs up or returns to local command state without you entering an escape sequence.
The modem will return one of the following values in S Register 42:
Value Meaning
0Modem reset
1An escape sequence was entered or DTR was lowered after the &D1 command was issued
2DTR lowered by the computer after an &D2 or &D3 command was issued
3Carrier lost from remote modem
4Disconnect using the TALK/ DATA switch
5Connection failed or timed out
6No answer tone detected
7Connected at wrong speed
8S Register 7 time limit exceeded
9Receive data buffer (line buffer)
overflowed
10Receive data buffer (terminal buffer) overflowed
11Failure to negotiate MNP class 3 or 4 connection
12Inactivity timer expired
13Unable to establish MNP connection with reliable mode selected
14Retrain failed
15A break sequence received from the remote modem after the Y1 command was issued
16Character received while modem was attempting to establish a connection
17,18 Internal error — MNP
19NORMAL MNP or V.42 disconnect. Disconnect request from remote modem
20MNP disconnected after 12 attempts to send a packet
MNP
27Analog loopback switch asserted while on line
28Security system rejected user
29DES encryption could not achieve an error corrected connection
30MNP10 rate fallback failed
31CTS stuck (continuous retrains or data pump failure)
32Incoming call: Access denied
33LAPM protocol error
34DES Multikey: Key and/or IV did not match remote modem
35Too many retrains, unable to get a good connection
42V.42bis received an invalid token
60Fax completed successfully
61, 62 Fax error caused disconnect
63Remote fax busy
99Abnormal exit from on line state
Page 228