Professional Documents
Culture Documents
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.
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
Chapter 1. Introduction
1.1 Overview
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.
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
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.5 Benefits
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.
Chapter 2. Configuration
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
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.
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.
4.
5. Click on Directories=> Program Recipients Directory to configure the cell phone numbers to which the Zelio
remote station can send messages
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.
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.
11.
12.
13. Like for block TS1, TS2 has 3 tabs. In Type tab -select variable modification this time.
14.
15.
16.
17.
1.
2.
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:
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.
1.
2.
3.
1.
2.
3.
4.
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:
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
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.