Mr.Moe Posted January 8, 2018 Report Posted January 8, 2018 Hello, I have a question about the NA5 HMI. Is it possible to get the HMI to send important alarms to a phone or email? I know it is a basic function on some Beijer IX panels, but can`t find anything in the NA. Is it possible to do it in the PLC maybe?There we have a NX1P2 PLC.
Crossbow Posted January 8, 2018 Report Posted January 8, 2018 No phone or email support on the HMI. I do not recall ever seeing email capability on the PLC either.
Mr.Moe Posted January 9, 2018 Author Report Posted January 9, 2018 Thanks for reply. Do Omron have any other solution to handle the alarm distribution? What is the best way to overcome this? A simple notification on email or SMS is what we want.
Mr.Moe Posted January 10, 2018 Author Report Posted January 10, 2018 Found a function block that can send email from the PLC, but are really struggling to make it work. I am not an IT/Data expert and wonder if anybody else have a working example of this function block? https://www.support-omron.fr/details/librairie.php?id=2017-08-01 - 15-16-37 - 943603103 Mail_Send.slr
Michael Walsh Posted January 10, 2018 Report Posted January 10, 2018 (edited) I was able to get this to work with a local email server, but my ISP blocks port 25, so I cannot send it outside of my house. I can show you what I did and see if that helps. I downloaded hmailserver, which is a simple and free email server. I setup a domain that is set to default settings except for the name of the domain itself. I created two accounts, one called mike@mikewalsh.net and one called test@mikewalsh.net and made up some simple passwords for them I left all other account settings at default. Under Settings, Protocols, SMTP, then on the delivery of mail tab, I was sure to set the local host name to localhost (that just points the server to my PC). I made sure to hit save and then closed out of the administration tool. Then, In my email client, I set up both accounts like this: Lastly, my ladder looked like this (note, changed the timeout to 20 (2.0 s): And the email that was received looked like this: Edited January 11, 2018 by Michael Walsh Fixed mistake.
BobB Posted January 10, 2018 Report Posted January 10, 2018 I have used a Web600 for sending emails across a network. You can select analogue or digital inputs. https://www.sensaphone.com/products/sensaphone-web600-monitoring-system.php
Michael Walsh Posted January 11, 2018 Report Posted January 11, 2018 I was thinking about this some more today and I realized why I could not send email outside of my house yesterday. Just because my NJ cannot use SSL, does not mean that my new email server cannot do SSL. So, I configured my hmailserver email server to relay the email through gmail. Using SSL allows the server to use port 465 (not blocked by my ISP). You just need to configure the delivery of e-mail tab as shown below and then you can send email from the NJ, through hmailserver to gmail's server and then on to the final destination.
Michael Walsh Posted January 11, 2018 Report Posted January 11, 2018 @Mr.Moe I just sent an email to your gmail account from my NJ. Using the settings above. 2
innoaloe Posted November 24, 2018 Report Posted November 24, 2018 Thanks for this @Michael Walsh The only downside with the FB is that direct SSL connection is not supported, thus we have no choice but to connect the PLC to a local email server first. But I guess at the moment that's how it goes for other brand as well, though (Siemens for example).
WinWiz Posted May 15, 2019 Report Posted May 15, 2019 (edited) I need the Send Email function to work, but I'm a Sysmac newbie, so I cant figure out how to declare the variables. I'm guessing I need to use inline Structured text? But When I try that I can't figure out how to enter the values correct. I don't know how to describe my problem so please look at the attached image. Edited May 15, 2019 by WinWiz
Michael Walsh Posted May 15, 2019 Report Posted May 15, 2019 Yes, that is inline structured text in the example shown. All of the variables shown are strings. You can see the values that I write to each one (red text). 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now