23: MODEM MODE
23-4 OPENNET CONTROLLER USER’S MANUAL
Originate Mode
The originate mode is used to send an initialization string to the modem, issue the ATZ command to reset the modem, and
dial the telephone number. To execute a command, turn on one of start internal relays M8050-M8052 (RS232C port 1) or
M8080-M8082 (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. When the start command fails, the
same command is repeated as many as the retry cycles specified by D8209/D8309.
M8050/M8080: Send an initialization string, send the ATZ command, and dial the telephone number
M8051/M8081: Send the ATZ command and dial the telephone number
M8052/M8082: Dial the telephone number
Initialization String in Originate Mode
When the modem mode is enabled as described on page 23-1 and the OpenNet Controller is started to run, an initialization
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, depending on the value stored in data register D8201/D8301 (modem initialization string selection). To
send the initialization string from the OpenNet Controller to the modem, turn M8050/M8080 on; then the ATZ command
is issued and the telephone number is dialed successively.
When the D8200/D8300 value is changed to 1 to enable modem mode or when the D8201/D8301 value is changed, an ini-
tialization string is stored to D8245-D8269 or D8345-D8369, depending on the value stored in D8201/D8301.
Modem Initialization String
Default Initialization String: ATE0Q0V1&D2&C1\V0X4\Q3\J0\A0&M5\N2S0=2&W
When D8201/D8301 (modem initialization string selection) stores 0, the default initialization string shown above is stored
to data registers D8245-D8269 or D8345-D8369. AT and are appended at the beginning and end of the initialization
string automatically by the system program and are not stored in data registers.
This initialization string is used for AIWA’s modems. Depending on your modem and telephone line, the initialization
string may have to be modified. To select another initialization string from the table above, set another value to data regis-
ter D8201/D8301 (modem initialization string selection).
D8201/D8301 Value Initialization String (D8245-D8269 or D8345-D8369) Applicable Modem
0 ATE0Q0V1&D2&C1\V0X4\Q3\J0\A0&M5\N2S0=2&W AIWA (33.6 Kbps or less)
1 ATE0Q0V1&D2&C1\V0X4\Q2\J0\A0&M5\N2S0=2&W OMRON
2 ATE0Q0V1&D2&C1\V0X4\Q3\A0&M5\N2S0=2&W AIWA (56 Kbps)
3 ATE0Q0V1&D2&C1&A0X4&H1&I0&B1&M5S0=2&W OMRON (56 Kbps)
4 ATE0Q0V1&D2&C1\V0X4&K3\A0\N3S0=2&W Sun Corporation, Micro Research
5 ATE0Q0V1&D2&C1\V0X4&K3\A0\N3S0=2&W0 Seiko Instruments
10 ATE0Q0V1&D2&C1\V0X3\Q3\J0\A0&M5\N2S0=2&W
11 ATE0Q0V1&D2&C1\V0X3\Q2\J0\A0&M5\N2S0=2&W
12 ATE0Q0V1&D2&C1\V0X3\Q3\A0&M5\N2S0=2&W
13 ATE0Q0V1&D2&C1&A0X3&H1&I0&B1&M5S0=2&W
14 ATE0Q0V1&D2&C1\V0X3&K3\A0\N3S0=2&W
15 ATE0Q0V1&D2&C1\V0X3&K3\A0\N3S0=2&W0
20 ATE0Q0V1&D2&C1\V0X0\Q3\J0\A0&M5\N2S0=2&W
21 ATE0Q0V1&D2&C1\V0X0\Q2\J0\A0&M5\N2S0=2&W
22 ATE0Q0V1&D2&C1\V0X0\Q3\A0&M5\N2S0=2&W
23 ATE0Q0V1&D2&C1&A0X0&H1&I0&B1&M5S0=2&W
24 ATE0Q0V1&D2&C1\V0X0&K3\A0\N3S0=2&W
25 ATE0Q0V1&D2&C1\V0X0&K3\A0\N3S0=2&W0
CR
LF
0D00&W
8363 8364
=2
8362
Q0
8346
V1
8347
&D
8348
2&
8349
C1
8350
\V
8351
0X
8352
4\
8353
Q3
8354
\J
8355
0\
8356
A0
8357
&M
8358
5\
8359
N2
8360
E0
8345
AT
DR
S0
8361
LF
8263 826482628246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 82608245DR 8261
Phone: 800.894.0412 - Fax: 888.723.4773 - Web: www.clrwtr.com - Email: info@clrwtr.com