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.

---------->>>>>Get FREE PLC Programming Tips

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 March 3rd, 2020, 09:01 AM   #1
boneless
Lifetime Supporting Member + Moderator
United States

boneless is offline
 
Join Date: Feb 2008
Location: OKC
Posts: 1,568
Receive emails with PLC

Hi all,


Silly question..
We are working on a project where customer receives email in case of alarm. (Siemens S71200 + TP700 Comfort).

Now they want to know if they can send emails to the PLC. I am assuming ask for status or something.
As far as I can find, this is not possible with Siemens. I am actually unable to find anything atm.



You guys ever run into this?
  Reply With Quote
Old March 3rd, 2020, 09:05 AM   #2
Aabeck
Member
United States

Aabeck is offline
 
Aabeck's Avatar
 
Join Date: Feb 2013
Location: Detroit
Posts: 1,819
As for a PLC I have never heard of one that accepts email.

You might be able to work something into a good SCADA system that when emailed a certain code would email a specific set of PLC readings to a certain email address, probably wouldn't be able to do a direct email reply.
__________________
Never underestimate the quality of idiots that will be running your machines
http://aabeck.com
  Reply With Quote
Old March 3rd, 2020, 09:25 AM   #3
Jasondelane
Supporting Member
United States

Jasondelane is offline
 
Jasondelane's Avatar
 
Join Date: Mar 2015
Location: Florence sc
Posts: 195
You could trigger an Outlook rule based on the subject and sender to open a purpose built HMI that runs a macro on startup.
__________________
  Reply With Quote
Old March 3rd, 2020, 09:29 AM   #4
BryanG
Member
United Kingdom

BryanG is offline
 
Join Date: Feb 2005
Location: Manchester
Posts: 1,483
In theory you could do it if the PLC were to try to read messages from a server say every hour, because you can do it from the command line, like this:
https://mediatemple.net/community/pr...s-using-telnet


There are system that use SMS to message a PLC:
https://unitronicsplc.com/Download/S...ell_phone_.htm


Email push to a mobile is a lot more complicated and I think way beyond what a PLC or HMI is capable.


If they want to change setting on the system then obvioulsy remote access to the HMI is much better. Or remote access to web pages in the PLC. I think you need to ask them some questions about why they want to do it by email, and which Muppet thought it would be a good idea.
__________________
Knowledge is power, share the knowledge.
  Reply With Quote
Old March 3rd, 2020, 09:40 AM   #5
Friedrich
Member
Sweden

Friedrich is offline
 
Join Date: May 2014
Location: Swedistan
Posts: 45
If they want to know the status of something when they receive an alarm, just send the status along with the alarm?
  Reply With Quote
Old March 3rd, 2020, 10:08 AM   #6
drbitboy
Lifetime Supporting Member
United States

drbitboy is offline
 
drbitboy's Avatar
 
Join Date: Dec 2019
Location: Rochester, NY
Posts: 854
Turning a PLC into a mail server/recipient is a non-trivial but probably doable task; doing so in a way that validates the sender as an authorized entity would probably be a herculean, very expensive task.


If it has to be email an you don't want to add the supplementary status data to the initial alarm message itself as suggested by Friedrich, then the SCADA suggestion by Aabeck would be the best approach: have the PLC push any supplementary data to a nearby server of some kind (Rasberry PI?) and let that respond to the email.



Otherwise get more info on the basic functionality the customer is actually looking for and build a solution for that.
  Reply With Quote
Old March 3rd, 2020, 10:09 AM   #7
boneless
Lifetime Supporting Member + Moderator
United States

boneless is offline
 
Join Date: Feb 2008
Location: OKC
Posts: 1,568
Thank you all. That kinda confirms my suspicions, there is no easy way to do this. Seems like a nice-to-have option anyway.



@Friedrich, not sure what they want. Perhaps they want to know status (pressure/temperature/level) even if there is no alarm. Maybe they want to start/stop the system. Idk.


Thanks!
  Reply With Quote
Old March 4th, 2020, 07:20 AM   #8
sjohnson
Lifetime Supporting Member
United States

sjohnson is offline
 
sjohnson's Avatar
 
Join Date: Feb 2010
Location: MI
Posts: 236
You can indeed Have the PLC send the Alarm or condition to A HMI or SCADA. I have this setup in MY GE HMI it sends Email when Alarm of a few of our processes to necessary Recipients.Watchman and Control engineer ect. You can also Have a simple HMI like a Maple HMI send Email or Text SMS. Some Phone Carriers Like Verizon have email to sms. Your HMI could send email to PHONENUMBER@VTEXT.com for a simple TEXT if you wanted to send a photo it would be PHONENUMBER@VZWPIX.com you can look at the carriers data to see if they support the SMS features..But many HMI Scada can indeed send out an EMail with an alarm or condition of your choosing.
  Reply With Quote
Old March 4th, 2020, 08:21 AM   #9
boneless
Lifetime Supporting Member + Moderator
United States

boneless is offline
 
Join Date: Feb 2008
Location: OKC
Posts: 1,568
Hi,

Yes we got the sending part to work without any issue.
It is the receiving part I was unsure about.
  Reply With Quote
Old March 4th, 2020, 08:26 AM   #10
lesmar96
Lifetime Supporting Member
United States

lesmar96 is offline
 
Join Date: May 2017
Location: PA
Posts: 408
The Schneider M241 (runs on Codesys) has receive email function blocks but I have not ever used them so I do not know what it takes to set it up.

I was told once about another application that I was not involved in, but in that case, they were using the Unitronics plc and they set it up so that they could send an email at any time to the plc and the plc would reply with status etc.

So I believe it is possible, but I have no experience setting it up.
__________________
Whatever you are, be a good one.

Last edited by lesmar96; March 4th, 2020 at 08:27 AM. Reason: typo on the plc model#
  Reply With Quote
Old March 5th, 2020, 01:25 AM   #11
AustralIan
Member
Germany

AustralIan is offline
 
Join Date: Jan 2013
Location: Germany
Posts: 1,136
For CODESYS controllers you can get the mail service library from their online store. Has send and receive.
  Reply With Quote
Old March 5th, 2020, 08:21 AM   #12
boneless
Lifetime Supporting Member + Moderator
United States

boneless is offline
 
Join Date: Feb 2008
Location: OKC
Posts: 1,568
Thanks! I will check that out!
  Reply With Quote
Old March 5th, 2020, 08:44 AM   #13
JesperMP
Lifetime Supporting Member + Moderator
Denmark

JesperMP is offline
 
JesperMP's Avatar
 
Join Date: Feb 2003
Location: Copenhagen.
Posts: 14,232
For the Siemens S7-1200 and TP700 Comfort Panel mentioned by the OP.
S7-1200 can send but definitely not receive emails.
TP700 can send but probably not receive emails.
I was thinking that possibly there is a way using VBS, but after searching on several VBS forums I cannot find anything that would run on Windows CE without Outlook.
There are a bazilion hits when you search for sending emails. Almost nothing for receiving emails.
__________________
Jesper
See my profile interests for Q&A
  Reply With Quote
Old March 5th, 2020, 01:15 PM   #14
Engineer_MG
Member
United States

Engineer_MG is offline
 
Engineer_MG's Avatar
 
Join Date: Mar 2012
Location: USA
Posts: 77
Hi,

Here is a video depicting send and receive email in SoMachine V4.3 / M241/251 Schneider Electric PLCs.

https://www.youtube.com/watch?v=GGUGVvQ63GE

Thanks.
__________________
Schneider Electric , USA
  Reply With Quote
Old March 5th, 2020, 04:59 PM   #15
janner_10
Lifetime Supporting Member
United Kingdom

janner_10 is offline
 
Join Date: Dec 2014
Location: Tewkesbury
Posts: 989
Quote:
Originally Posted by Engineer_MG View Post
Hi,

Here is a video depicting send and receive email in SoMachine V4.3 / M241/251 Schneider Electric PLCs.

https://www.youtube.com/watch?v=GGUGVvQ63GE

Thanks.
He's using a S7-1200 and a Comfort Panel
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 2 (0 members and 2 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
1756-L62S PLC Faulting when generating safety signature Kalagaraz LIVE PLC Questions And Answers 7 April 11th, 2017 08:45 AM
RSlinx won't see a PLC on the network kirk LIVE PLC Questions And Answers 2 May 8th, 2016 04:19 PM
How to receive program from SattCon OP45 PLC AmenAllah LIVE PLC Questions And Answers 0 May 3rd, 2016 07:19 AM
PC to PLC Protocol TheRixta LIVE PLC Questions And Answers 13 December 17th, 2008 01:56 PM
Can a PLC receive a signal from a GSM modem? smsman LIVE PLC Questions And Answers 2 September 3rd, 2003 11:55 PM


All times are GMT -4. The time now is 08:43 PM.


.