Modem Troubleshooting

Before integrating modems into your applications, check the section Modems-Tips & Cautions.

Modem commands

PLC to modem connection and cable pin-out

PC-side modem, error messages

PLC-side modems

These errors may result from problems in the PLC-side modem

PLC modem communication problems

If your PLC is transferring data via modem, you can begin troubleshooting by entering Information Mode. You can then check the status of relevant System Bits and Integers to help diagnose the problem.

To begin diagnosing the problem, check the error code contained in SI 70. Refer to the error code table in How the PLC works with a modem.

The tables below show the more common causes of modem communication problems.

Problem

SI 70 value

Possible Cause & Recommended Action

Modem fails to initialize

2: Modem Did Not Reply

PLC-to-modem cable:

Make sure that the cable is securely connected. Check the PLC modem connection and pin-out of the PLC-to-modem adapter cables. Note that if you use cables comprising this pin-out, you must set the RS232 parameter Flow Control to N (none).

 

 

Incompatible communication settings.

Most modems automatically match the parameters of incoming data: baud rate, data bits, parity & stop bits. The PLC's embedded modem settings are: 9600, 8 data bits, no parity, 1 stop bit. You may need to manually change your modem's communication settings to match these via Hyperterminal.

 

0: No Error

SB 72 OFF:

In order to work with a modem, you must select 'Use modem' in the PLC Modem Configuration box . This causes SB 72 Initialize Modem to turn ON when the PLC powers up.

Note that if the PLC has also been configured to use SMS messaging, that the PLC will not be able to connect to a modem because the SMS feature overrides the modem.

Check too, that SB 72 is not disabled in your program.

 

6: Modem Report Error

Check the modem initialization commands. Refer to Configuring the PLC to use a modem.

Other problems:

Problem

Possible cause

Recommended action

Modem is busy

Modem is engaged,
or is being initialized

Check that the modem is free.
Use the
SBs: Modem Initialization Status listed above to check the COM port status; communications cannot flow through the port during initialization. For more information check the topic How the PLC works with a modem.

Handshake between modems complete ('CONNECT'),

PLC does not reply

Modem adapter cable

Check the   PLC-to-modem connection and pin-out, particularly that the DSR is connected to the RTS on the modem side, as shown in Modem Connections above.

PLC does not dial

Incorrect phone number

Check the PLC's phone book. Refer to Configuring the PLC to use a modem.

 

GSM modems

Problem

Possible Cause & Recommended Action

Cell phone does not receive message

Check the cell phone's SIM card; it may be full.

Check SMS System Bits and Integers for error messages

Related Topics

Using Hyperterminal for Modem Troubleshooting

Modem Communications-- System Bits and Integers

PLC-to-Modem connections

How the PLC works with a modem