PLC-side Modems

The PLC can use a landline or GSM modem to send and receive calls. A programmer can also use a PC's modem to communicate with a remote PLC that is connected up to a modem.

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

Enabling a Controller to Communicate via Modem

  1. Connect the modem to a PC, using the cable supplied by the modem manufacturer.

  2. Prepare the PLC modem.

  3. Ensure that the PLC port is initialized via either SB 72, Modem Initialization, or SB 180 Initialize GSM Modem for SMS.

PSTN Modems

    1. Open the PLC Modem Configuration box by selecting Controller> PLC Modem Configuration.

    2. Check the 'Use PTSN Modem' box shown below. This causes the PLC to automatically turn on SB 72, Initialize Modem, at power-up. Note that:

    1. If your application requires, you can edit the initialization commands.

    2. The U90 Ladder default modem settings are: 9600, 8 data bits, no parity, 1 stop bit. If required, you can change the setting to match the Prepare PLC Modem strings by clicking Controller> PLC> Advanced button to open PLC Communication Settings, and then changing the parameters and selecting Force PLC Settings.

    3. Select whether to use pulse or tone dialing, as is required by your system, by clicking on the appropriate box. You can also leave both blank (default).

    4. You can also edit the modem's time-out settings.

    5. To enable the PLC to dial via modem, enter numbers in the
      Phone Book

GSM Modems

    1. Under Controller>SMS Configuration, select Use GSM Modem. This turns on SB 180 Initialize GSM Modem for SMS. Note that there is no option Select Modem Type. This is because the controller automatically recognises the type of modem that is connected.

    2. Build a Ladder program containing the correct conditions and elements.

    3. Download the application to the PLC.

    4. Connect the modem to the PLC.

      After the modem is enabled and successfully initialized by the PLC (SBs 72 & 73 turn ON), the controller can either be accessed via modem or can dial a remote modem to establish a data link.

    5. To terminate the call, turn SB 76 Disconnect Modem ON.

Downloading, uploading, and comparing settings

 

Related Topics

Configuring my PC's modem

About modems

Direct Communications- PC to M90

PLC to Modem Connection and Cable Pin-out

Modem Troubleshooting

M90 modem communication problems

How the M90 works with a modem