beautypg.com

Opticon OPL 9724 User Manual

Page 22

background image

GRAPHICAL DEMO APPLICATION - PAGE 22

When the modem does not respond to the AT commands, this line can be added to
the commands above:

AT&D0

Modem doesn’t respond to the DTR signal

The cradles of the OPL9723 (cradle type CRD-9723) do not support hardware
handshaking. Configure the modem so that it doesn’t use hardware handshaking.

The standard 8P8 connector of the serial cable of the CRD9723 cradle is wired as a
DCE (Data Communication Equipment). The RS232 connector on standard modems
is also wired as a DCE (Data Communication Equipment) device. This will result in a
DCE-DCE connection, which means you‘ll have to use a “null modem” cable or
adapter.

If the modem has a 9-pin female (9F) RS232 connector a gender changer adapter
must be used to be able to connect the cable of the cradle to the modem.
If the modem has only a 25F connector, you should use a 9F to 25M adapter instead.

3-3-2-2-3-2 Sending plain ASCII data to a remote PC with a modem

The software calls a telephone number of a remote PC with a modem.
The remote modem should be initialized with ‘ATS0=1’-modem command so that the
modem will automatically go off hook and connects when being called.
Use a serial communication program like HyperTerminal or Procomm Plus to be able
to initialize the modem and view the received plain ASCII data.

3-3-2-2-3-3 Sending the data file to a remote PC with a modem using the

Kermit protocol.

The software calls the telephone number of a remote PC with a modem.
The remote PC should be running the program Procomm Plus (Windows or MS-DOS
version) in so-called host-mode.
The telephone number of the remote PC, the user name and password and the
version of Procomm Plus need to be specified before sending.

After running the log-in script of Procomm Plus, the Kermit protocol is used to send
the data file.

Important notes:

• The user name needs to contain both a first name and a last name separated by

a space (i.e. “JOHN DOE”).

• The entered user name/password-combination must also be set in Procomm Plus

otherwise the authorization fails.

• Procomm Plus for Windows will produce a ‘filename collision’-error if the data file:

‘DATA.TXT’ is already present in the download directory of Procomm. Therefor
the filename: ‘DATA.TXT’, must be deleted from the PC after each session.

3-3-2-2-3-4 Sending the data file the remote FTP server

The software calls a telephone number of a remote ISP server, using a password and
user name of an Internet account. After establishing a connection with the ISP server
the software will try to connect to a remote FTP server, by using its IP-address, a
username and a password. The data file will be placed in the root-directory of the
FTP-server.