You are on page 1of 21

Application Note

PLC Remote Configuration via SMS


Applies to M1000, M1000 JAVA, M1000 Lite

Document Name: Application Note


Version: /01.00
Date: 2011-06-16
Status: /Confidential / Released
DocID: /RT_M1000_AN001_v01.00

www.robustel.com
PLC Remote Configuration via SMS

Revision History
Updates between document versions are cumulative. Therefore, the latest document version contains all updates
made to previous versions.
Release Date Firmware Version Details
2011-6-16 01.00 First Release

Requests for corrections or amendments to this application note are welcome and should be addressed to:
support@robustel.com
Requests for new application notes can be sent to the same address.

RT_M1000_AN001_v01.00 16.06.2011 Page 1 / 20


Confidential / Released
PLC Remote Configuration via SMS

Contents
Chapter 1. Introduction................................................................................................................................................ 3
1.1 Overview ........................................................................................................................................................ 3
1.2 Objective ........................................................................................................................................................ 4
1.3 Parts Used ...................................................................................................................................................... 4
1.4 Application Diagram ....................................................................................................................................... 4
1.5 Benefits .......................................................................................................................................................... 5
Chapter 2. Configuration.............................................................................................................................................. 6
2.1 Programming and Configuring the Zelio Logic ............................................................................................... 6
2.2 Modem Connection and Transfer of application ......................................................................................... 14
2.3 Receiving and Sending SMS ......................................................................................................................... 15
2.4 Function Block Program ............................................................................................................................... 16
2.5 Programming and Configuring the Zelio Logic ............................................................................................. 17
2.6 Receiving and Sending SMS ......................................................................................................................... 19

RT_M1000_AN001_v01.00 16.06.2011 Page 2 / 20


Confidential / Released
PLC Remote Configuration via SMS

Chapter 1. Introduction

1.1 Overview

SMS technology has proven to be extremely reliable and convenient nowadays.

Robustel GoRugged Smart Cellular Modem products provide reliable wireless communications via GSM (GPRS/EDGE)
networks for connectivity to remote locations. They are ideal for use SMS, CSD and GPRS/EDGE communications.

In this application notes, we’ll show users how to remote configure Schneider Zelio Logic Smart Relay via SMS
through GSM networks.
We can also introduce the same solution to other similar applications, such as PLCs, RTUs, Robotics, and Other
Machines.

Picture: Schneider Zelio Logic Smart Relay

RT_M1000_AN001_v01.00 16.06.2011 Page 3 / 20


Confidential / Released
PLC Remote Configuration via SMS

1.2 Objective

To configure and program the Zelio Logic smart relay in order to be able to:
 receive SMS/alarm on cell phone
 send a cell phone SMS to activate or to deactivate Zelio Logic output
 Send a cell phone SMS to get the status of a Zelio Logic variable

1.3 Parts Used

Hardware requirement:
 Robustel GoRugged M1000 or M1000 Lite Smart Cellular Modem
 Zelio Logic smart relay (except SR2A. SR2D)
 Zelio Com Module (SR2COM01 comes with cable SR2CBL07)
 Zelio Logic Programming Cable (SR2CBL01 Serial cable or SR2USB01 USB cable)
 Phaseo DC Power Supply 1.2 amps. ABL8MEM24012
 Cell phone with possibility of sending and receiving SMS Text messages
 SIM card to insert in M1000. Again the SMS text messaging option should be enabled for the SIM card

Software requirement:
 Software ZelioSoft4.3

1.4 Application Diagram

RT_M1000_AN001_v01.00 16.06.2011 Page 4 / 20


Confidential / Released
PLC Remote Configuration via SMS

1.5 Benefits

 Rugged design with highly EMC performance


 Din-Rail mounting installation
 3 level RSSI LED indicators
 Wide range power supply range from 9 to 36VDC
 Wide range temperature range from -25 to 70oC
 Auto reboot at preset time of a day, via phone call, via SMS, to keep modem 24x7 running
 Read modem status via SMS
 Control via AT Commands

IMPORTANT NOTE
GSM network providers do not guarantee the delivery of an SMS message.
For this reason we would never recommend using SMS messaging to indicate
critical alarms.

RT_M1000_AN001_v01.00 16.06.2011 Page 5 / 20


Confidential / Released
PLC Remote Configuration via SMS

Chapter 2. Configuration

2.1 Configuring the M1000 Modem

1. Switch the M1000 modem to Config Mode, and then connect M1000 to the PC’s serial port;

2. Run ModemCofigurator and go to Basic tab, enable Please enable when using AT commands to receive SMS under
Normal Mode, Write to save;

3. Switch the M1000 modem to Normal Mode and connect it to the Zelio Com Module’s serial port.
Factory setting of the modem COM port under Normal Mode is: Autobauding

RT_M1000_AN001_v01.00 16.06.2011 Page 6 / 20


Confidential / Released
PLC Remote Configuration via SMS

The autobauding mode allows the modem to automatically detect the transmission speed used by the DTE.
Only the following speeds will be detected: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400,
57600,
115200bps. Auto-baud detection cannot be guaranteed for speeds below or above these speeds.

2.2 Programming and Configuring the Zelio Logic

1. Open Zelio programming s/w, select create new program, select type of unit, click Next, select the
communication extension SR2COM01. Click Add and then Next, select type of programming -ladder or FBD click
Next.

2. Click on Directories=> Directory of Remote stations to configure the phone number of the modem to which the
Zelio relay will be connected.

3. Select Create.

RT_M1000_AN001_v01.00 16.06.2011 Page 7 / 20


Confidential / Released
PLC Remote Configuration via SMS

4.

5. Click on Directories=> Program Recipients Directory to configure the cell phone numbers to which the Zelio
remote station can send messages

RT_M1000_AN001_v01.00 16.06.2011 Page 8 / 20


Confidential / Released
PLC Remote Configuration via SMS

6.

7. Insert the line for transmitting message .We will use the Z1 andZ4 keys to simulate inputs. As per the logic below,
to send the message it is necessary to press the 2 keys Z1 and Z4 at the same time. Remember that the Z1 and Z4
are the keys of the Zelio Logic display that are Left arrow and right arrow respectively.

8. Double Click on the coil TS1 created. Following screen will appear.
It contains 3 tabs:
Type: It can be selected if this block is an alarm, or allows modification of variables or both. In this case select
only alarm.

RT_M1000_AN001_v01.00 16.06.2011 Page 9 / 20


Confidential / Released
PLC Remote Configuration via SMS

9. Click on tab Parameters: Here enter phone numbers of the message recipient and the message. This block
activates and sends a message each time Z1 and Z4 are pressed at the same time.

10. Following screen will appear.


Select the recipients who will receive the message and Click on icon Send to =>. It’s possible to select one or several
recipients. Once selected it is possible to remove them from the list using the Detach button and to order them by
priority by using the +and -buttons. The recipient listed first will have the message first and so on.
Click OK

RT_M1000_AN001_v01.00 16.06.2011 Page 10 / 20


Confidential / Released
PLC Remote Configuration via SMS

11.

12.

RT_M1000_AN001_v01.00 16.06.2011 Page 11 / 20


Confidential / Released
PLC Remote Configuration via SMS

13. Like for block TS1, TS2 has 3 tabs. In Type tab -select variable modification this time.

14.

15.

RT_M1000_AN001_v01.00 16.06.2011 Page 12 / 20


Confidential / Released
PLC Remote Configuration via SMS

16.

17.

RT_M1000_AN001_v01.00 16.06.2011 Page 13 / 20


Confidential / Released
PLC Remote Configuration via SMS

2.3 Modem Connection and Transfer of application

1.

2.

RT_M1000_AN001_v01.00 16.06.2011 Page 14 / 20


Confidential / Released
PLC Remote Configuration via SMS

2.4 Receiving and Sending SMS

1. In order to trigger an alarm from the Zelio Logic relay, press Z1+Z4. An SMS message is sent to the configured cell
phone.

2. In order to send command from the cell phone to the Zelio Logic in order to change the state of the output Q1,
in this case following command needs to be sent:

3. The syntax is : Recipient access key!Alias=0 or 1 ( without any space )


–00000000!Q1=1
–00000000!Q1=0

4. To read the state of the variable:


–00000000!Q1 ?

Note: that if Recipient access key is 00000000, then it can be omitted in the message.
Use:
- !Q1=1

5. The state of the contact Q1 will change, and a return message will be sent to the cell phone one notifying the
state of that output –Q1

6. If the syntax or command is incorrect (uppercase, lowercase, no spaces) the equipment will respond with an
error code.

7. It is possible to request and to change dates, to send run or stop commands, to request state of the module, to
change to of summer or winter schedule etc.

RT_M1000_AN001_v01.00 16.06.2011 Page 15 / 20


Confidential / Released
PLC Remote Configuration via SMS

2.5 Function Block Program

1.

2.

RT_M1000_AN001_v01.00 16.06.2011 Page 16 / 20


Confidential / Released
PLC Remote Configuration via SMS

3.

2.6 Programming and Configuring the Zelio Logic

1.

RT_M1000_AN001_v01.00 16.06.2011 Page 17 / 20


Confidential / Released
PLC Remote Configuration via SMS

2.

3.

RT_M1000_AN001_v01.00 16.06.2011 Page 18 / 20


Confidential / Released
PLC Remote Configuration via SMS

4.

2.7 Receiving and Sending SMS

1. In order to trigger an alarm from the Zelio Logic relay, press Z1. An SMS message is sent to the configured cell phone.

2. In order to send command from the cell phone to the Zelio Logic in order to change the state of the output Q1, in this
case following command needs to be sent:

3. The syntax is: Recipient access key!Alias=0 or 1 ( without any space )


–00000000!Q1=1
–00000000!Q1=0

4. To read the state of the variable:


–00000000!Q1 ?

Note: that if Recipient access key is 00000000, then it can be omitted in the message.
Use:
- !Q1=1

5. The state of the contact Q1 will change, and a return message will be sent to the cell phone one notifying the state of

RT_M1000_AN001_v01.00 16.06.2011 Page 19 / 20


Confidential / Released
PLC Remote Configuration via SMS

that output –Q1

6. If the syntax or command is incorrect (uppercase, lowercase, no spaces) the equipment will respond with an error
code.

7. It is possible to request and to change dates, to send run or stop commands, to request state of the module, to
change to of summer or winter schedule etc.

RT_M1000_AN001_v01.00 16.06.2011 Page 20 / 20


Confidential / Released

You might also like