23: M
ODEM
M
ODE
O
PEN
N
ET
C
ONTROLLER
U
SER
’
S
M
ANUAL
23-7
When the AT general command has been completed successfully, internal relay M8064/M8094 is turned on. If the AT gen-
eral command fails, internal relay M8074/M8104 is turned on.
The AT general command is determined successful when result code
OK
returned from the modem is
received.
Answer Mode
The answer mode is used to send an initialization string to the modem and to issue the ATZ command to reset the modem.
To execute a command, turn on one of start internal relays M8055/M8056 (RS232C port 1) or M8085/M8086 (RS232C
port 2). If two or more start internal relays are turned on simultaneously, an error will result and error code 61 is stored in
modem mode status data register D8211/D8311 (see page 23-8). When a start internal relay is turned on, a corresponding
sequence of commands is executed once as described below.
M8055/M8085: Send initialization string and send the ATZ command
M8056/M8086: Send the ATZ command
Initialization String in Answer Mode
When the modem mode is enabled as described on page 23-1 and the
OpenNet Controller
is started to run, the default ini-
tialization string is stored to data registers D8245-D8269 (RS232C port 1) or D8345-D8369 (RS232C port 2) at the END
processing of the first scan. To send the initialization string from the data registers to the modem, turn M8055/M8085 on;
then the ATZ command is issued subsequently.
Default Initialization String: ATE0Q0V1&D2&C1\V0X4\Q3\J0\A0&M5\N2S0=2&W
As described in the Originate Mode, the initialization string can be modified to match your modem. For details of modify-
ing the initialization string, see page 23-4.
When the initialization string has been sent successfully, internal relay M8065/M8095 is turned on. If the initialization
string fails, internal relay M8075/M8105 is turned on. When the subsequent ATZ command is also completed successfully,
M8066/M8096 will also be turned on.
ATZ (Resetting the Modem) in Answer Mode
The default initialization string specifies to be stored in the non-volatile memory of the modem, using the &W command.
The initialization string is restored when the modem is powered up or when the ATZ command is issued. The
OpenNet
Controller
sends the ATZ command to the modem following the initialization string when M8055/M8085 is turned on. The
ATZ command can also be issued separately by turning M8056/M8086 on.
ATZ Command: ATZ
When the ATZ command has been completed successfully, internal relay M8066/M8096 is turned on. If the ATZ com-
mand fails, internal relay M8076/M8106 is turned on.
If the initialization string has been stored in the non-volatile memory of the modem, M8055/M8085 may be skipped. Start
with M8056/M8086 to send the ATZ command.
4530h
D8230
5130h
D8231
5631h
D8232
45h = “E”
30h = “0”
51h = “Q”
30h = “0”
56h = “V”
31h = “1”
0D00h
D8233
0Dh =
All characters subsequent to
CR
are ignored.
CR
CR LF
CR LF
CR LF
CR LF
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: [email protected]