733
Hayes Modem AT Command Protocol Appendix Q
Setting Example
When send data is THIS IS SAMPLE.
A maximum of 200 bytes (including the CR) can be received. When the received data is RETURN OK, the con-
tent stored in the receive words is as follows:
Note An error will occur is the reception data is not received within 90 seconds after the data is sent.
Escape Mode (Sequence No. 554 (Hex 022A))
Shifting to the escape mode can be made using sequence No. 554. No setting is necessary for this sequence.
Note The character string to shift the online mode to the escape mode (i.e., the escape code) is ‘+’ for modem
settings.
Hang Up Command (Sequence No. 555 (Hex 022B))
The hang up command (to disconnect the line) can be executed using sequence No. 555. No setting is neces-
sary for this sequence.
Communication Errors
Three result codes are monitored after an AT command is sent to the modem. When a result code is returned,
it will be checked. If the code is not the normal result code (“OK”, “CONNECT 9600/REL4”, “CONNECT 2400/
REL4”, in words), after a fixed time of waiting to send, the following retry processing will be repeated 2 times to
send the AT command again and waiting for another result code.
The receive monitoring time and send wait time for each sequence are shown below.
Note The hexadecimal equivalents of sequences numbers are given in parentheses.
Sequence
No.
Sequence name Receive monitoring
time
Send wait time for
retries
550 (0226) Initialize modem (general-purpose) 10 s 1 s
560 (0230) Initialize modem (specialized) 10 s 1 s
570 (023A)
580 (0244)
561 (0231) Dial 90 s 90 s
571 (023B)
581 (0245)
552 (0228) Password None 3 s
553 (0229) Data send/receive (general-purpose) 90 s None
554 (022A) Escape 10 s 1.5 s (after first try)
555 (022B) Hang up 10 s 1.5 s (after first try)
562 (0232) Initialize and dial 90s Initializing: 1 s
Dialling: 90 s
572 (023C)
582 (0246)
590 (024E) Escape and hang up 10 s 1.5 s (after first try)
Character string length of send data sent to modem (bytes)
Code length of PMCR(260) when it is used (words)
000E
0009 5448
T H
4953
I S
2049
I
5320
S
5341
S A
4D50
M P
4C45
L E
Length of received character string (words)
0006 5245
R E
5455
T U
524E
R N
204F
O
4B00
K