Industrial Automation
Industrial Automation | Europe

myKnowledge

Main > Product Type > Automation Systems > Networks
Minimize Text   Default    Enlarge Text
 

Print
E-mail

Setting Up The Westermo GD-01 GSM Modem


Introduction
This tutorial is intended as a supplement to the User manuals. Therefore, use it to familiarise yourself with the product and not a a complete guide to installation.

 
Product Information

The setup and cabling used with Westermo GSM GD-01 modems is provided by Last Mile Communications to Omron PLC system.

The cable between the PC and Westermo GD01 GSM modem

In addition to the 1 x 9pin d-sub male connector (high density type) (modem side) and 1 x 9 pin d-sub female connector (PC side) is the RS-232C modem model has a second communication port with screw terminals. For the 9-pin plug, you can use a standard 1-1 modem cable. But if you do not have one available, it is best to use the screw terminals. The following cable configuration is for screw terminals.
 
PC Modem
2 4
3 5
7 3
8 2
5 1


Setting up the Westermo GD01 GSM modem from the hyper terminal:

Connect the modem to the PC using the cable. Then go to the hyper terminal and select the direct link to the attached communications port.
The Westermo GSM modem is set for 8 databit, 1 stopbit, no parity as the default.
To set up the GSM modem to communicate to Omron PLCs use the following commands: (Use capital letters (Caps Lock))
ATS0 = 2 Answers after 2 rings
AT & C0 Platform Wave on
AT + CBST = 7,0,0 Transparent mode
ATQ1 not result code
AT & W Stores layout

The cable between the GSM modem and the PLC:

Consists of 1 x 9pin d-sub male plug (PLC side) and 1 x 9pin d-sub male plug (high density type) (modem side) alternatively it has 5-screws screw terminals. The cable configuration is as follows:
cable configuration for westermo and plc
PLC host link port set up

Adding the GSM modem to the CJ1 without making any changes in the PLC

Peripheral PORT: Need a transition CS1W-CN118 for the 9pin serial port. Also set  DIPSW4 = ON on the CPU to enable SYSMAC WAY.
HOST LINK PORT: Make sure DIPSW5 = OFF on the CPU to enable SYSMAC WAY.

The modem

Using the SYSMAC WAY, the modem is set up as follows:
The modem must be set up as in 9600, 7 databit, Even, 1 stop bit. 1 stop can be used even if the PLC is set for 2. These codes must be entered in the modem by the Hyper Terminal or a similar program:
AT + IPR = 9600 Serial baud rate
AT + ICF = 6.1 code for Stop 7-1, Even
ATS0 = 2 Reply by 2 ring
AT & C0 Platform Wave on
AT + CBST = 7,0,0 Transparent mode
ATQ1 not result code
AT & W Save Setup

The PLC

Select SYSMAC WAY and then click on Settings.

PLC settings

Select the Modem tab, click Configure ...

Network settings

Make sure that Data Connection Preferences are as shown, then proceed.

Data preferences

Set the Hardware Settings as shown.

Hardware settings

Sending SMS from the PLC via the GSM Modem

Connect to the GSM modem with the hyper terminal.
Type AT + CSCA = +4790002100 Enters Telenor SMS center number
Enter AT & W0
Enter AT & W1
Save this number into the modem.
To send the SMS message, send the following command to the GSM modem:
AT + CMGS = 90118569 (Phone number to the receiver and then) CR
Text string (end with) ctrl + z (Ascii code 26 (1A Hex))

The message will now be sent.
It is possible to build this up so that the receipt (OK) can be read from the modem.
 

 




Comments (View All Comments / Add Comment)

Related Articles
No related articles found.
Created 2008-11-24
Modified 2009-08-26
Views 6938

 

You are not logged in.