You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old June 21st, 2017, 06:11 AM   #1
*bj
Member
Croatia

*bj is offline
 
Join Date: Jun 2013
Location: Cro
Posts: 15
Sending Alarm SMS

I'm currently using Micrologix1400 to send alarm SMS messages via TC35. This Micrologix is a "central node" communicating with all the other nodes and collecting statuses. Depending on the collected, it sends an SMS message. SMS messages are stored in ST file. This was ok, until the number of remote nodes grew and number of messages and related program exceeded 10K memory of Micrologix.

The first question I'd like to propose to discuss, how to get more memory for SMS and keep additional expenses as low as possible? I need to keep this Micrologix as a central node and to use the existing TC35.

My attempt of solution was to use S7-1200 with two CM1241 RS232 modules as a buffer, as it has expandable memory cards up to 24 MB. I'd reconfigure the channel 2 of Micrologix (now used for modem) to send alarm words (16 bit, 1=active alarm, 1 word per remote location) via MODBUS RTU to S7. This communication I've done before and it works.
I'd then use the other RS 232 channel to send AT commands to the TC35 to send SMS. I've also managed to do that.
The problem at hand is the working memory of S7-1200. Although I have enough room on memory card, I'm limited with 50K (or 30K, depending on the controller) of working memory. When all my FB and DB are compiled, this is enough for one remote location. I'm not familiar with how memory on S7-1200 works. (How) can I control what part of load memory is transferred to work memory so the work memory has only the code it needs to run at that moment? My code now has FBs three layers deep, because most of the code is repetitive and all strings are defined as user constants. Number of strings is the bare minimum required.
  Reply With Quote
Old June 21st, 2017, 10:04 AM   #2
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 839
Add a small HMI ($299.00) let the HMI send out all the alarms either by SMS/EMail or both.
__________________
David M. Camp

Unlocking the power of IOT in Oil & Gas!
  Reply With Quote
Old June 21st, 2017, 12:14 PM   #3
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Ontario
Posts: 3,219
https://sourceforge.net/projects/advancedhmi/

Similar idea to damica1. How about using AdvancedHMI to read the information from the PLC into the computer (HMI). This is a visual studio (VB.Net) application. Code to send SMS messages or email is common.
Here is a sample sending SMS in VB.Net.
https://stackoverflow.com/questions/...s-using-vb-net

Regards,
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Old June 23rd, 2017, 02:12 AM   #4
*bj
Member
Croatia

*bj is offline
 
Join Date: Jun 2013
Location: Cro
Posts: 15
damica, can you please elaborate what kind of HMI you had in mind?

glcshortt, I'm familiar with AdvancedHMI, but I had no luck with SMS gateways. E.g. 999999999@sms.t-mobile.hr, none of this services seem to work in Croatia. Good idea, though.
  Reply With Quote
Old June 23rd, 2017, 08:05 AM   #5
gclshortt
Member
Canada

gclshortt is offline
 
gclshortt's Avatar
 
Join Date: Dec 2014
Location: Ontario
Posts: 3,219
Interesting that it does not work in Croatia.
https://martinfitzpatrick.name/list-...-sms-gateways/
Croatia T-Mobile SMS 385domestic-number@sms.t-mobile.hr 100 address##subject#text http://www.t-mobile.hr/eng/2/20-20-20-45-00.asp

I would try 385domestic-number@sms.t-mobile.hr - Substitute the phone number for the number in the address.

There are also paid services such as the following. I have not tried any of these out.
http://smsglobal.com/email-to-sms/

Regards,
__________________
Garry
https://www.accautomation.ca
Connect with us on Facebook: facebook.com/accautomation/
  Reply With Quote
Old June 23rd, 2017, 08:15 AM   #6
damica1
Member
United States

damica1 is offline
 
Join Date: Aug 2015
Location: Illinois
Posts: 839
Yes we use the Maple System MHI5043LB, you can even download the software for FREE and they have an example of how to send out Email/SMS under their support section.

Should you need help just ask I will do what I can.
__________________
David M. Camp

Unlocking the power of IOT in Oil & Gas!
  Reply With Quote
Old June 28th, 2017, 05:35 AM   #7
*bj
Member
Croatia

*bj is offline
 
Join Date: Jun 2013
Location: Cro
Posts: 15
A short followup.

I decided to use AdvancedHMI. I read statuses from PLC and give back a string to PLC (SMS text alarm message) along with a bit which tells PLC to send the SMS using the given text in ST file. That way, I use only one string for messages in PLC and AdvancedHMI handles all the trouble of alarm buffer in case of multiple alarms and sends them one by one.

However, another problem occurs. This application should run in background on the same PC which is running FactoryTalk SE. When RSLinx uses the PC ethernet port, AdvancedHMI can't read anything. If I connect PLC into a switch, along with PC on one ethernet port used by FT and another UTP cable into the same switch but on different eth port on PC, it works. Does anyone have a better, more elegant idea?
  Reply With Quote
Old April 6th, 2022, 10:38 AM   #8
Bafarett
Member
United States

Bafarett is offline
 
Bafarett's Avatar
 
Join Date: Mar 2022
Location: San Francisco
Posts: 2
What can you guys recommend now for sending alarm SMS?
  Reply With Quote
Old April 13th, 2022, 06:29 AM   #10
Bafarett
Member
United States

Bafarett is offline
 
Bafarett's Avatar
 
Join Date: Mar 2022
Location: San Francisco
Posts: 2
What can you guys recommend now for sending alarm SMS?
  Reply With Quote
Old April 13th, 2022, 07:29 AM   #11
PeterWeir
Member
Canada

PeterWeir is offline
 
Join Date: Apr 2022
Location: canada
Posts: 1
Or you can create these emails yourself. I have to create a lot of emails at work because I provide SEO services. So our team found the solution with the services of temporary numbers, so we get temp sms uk on a secure platform. It even happens that I use these numbers for personal purposes. When I registered on tinder, I didn't want to put my number, so I wrote a temporary one. I still haven't found my love, but I hope to be lucky to have someone in my life this year.
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Alarm Paging from ControlLogix to SMS sanger LIVE PLC Questions And Answers 4 August 4th, 2022 06:14 PM
Sending and receiving SMS communication between controller and GSM modem ingalen LIVE PLC Questions And Answers 0 August 14th, 2016 09:34 AM
Sending SMS from PC with WinCC Lesa LIVE PLC Questions And Answers 6 July 2nd, 2015 02:02 AM
Alarm sending by SMS Plc_User LIVE PLC Questions And Answers 7 June 16th, 2008 07:30 AM
Maintenance alarm (again) tlvaun LIVE PLC Questions And Answers 2 May 4th, 2003 07:11 AM


All times are GMT -4. The time now is 08:12 AM.


.