Handcraftedsince87
Lifetime Supporting Member
So here's the deal. I'm fairly new to red lion HMI's, and this job, but have picked up the programming enough so far to build screens and make the changes I need to.. We have a number of HMI's at very remote sites that send out status updates and alarm notifications. We have a G315C that uses Crimson 3.0 in our lab that had been previously setup, and has existing "programming" (C ish?) already on it. I've been able to manipulate and change that code to do what I want it to do. It sends out an email to our server on the other side of the state, then into an exchange "mailbot" account where it is forwarded by rules accordingly, based on the subject matter. Its pointed to a fixed server IP address. Like I said, this all works fine in the lab, but when I try to setup a different HMI in the office, a G310 running on crimson 2.0, I have all the same settings as far as I can tell.. server IP, port, contact info, HMI IP, gateway, subnet. I'm pretty sure my code is "ok", ill post it at the bottom. My thinking is that the server I'm pointing it towards is our "barracuda spam filter", and I think it might be filtering out and not forwarding the email I'm sending. The previous instrument tech highlighted a section in the user manual stating "The server must be configured to accept mail from the panel, and to relay messages if required by the application". I am definitely not an IT guy, and my normal IT contact on this is out of the office for another week, so any info or advice from those who have more experience with this than I would be greatly appreciated.
My code is:
if(send_mail){
SendMail(0,"test email","test email");
}
send_mail being a "toggle" tag I created in crimson that is read only assigned to a seal in type "coil" in the plc
I tried to be as descriptive as possible, but please let me know if there is any other info I can provide.
Thank you in advance
My code is:
if(send_mail){
SendMail(0,"test email","test email");
}
send_mail being a "toggle" tag I created in crimson that is read only assigned to a seal in type "coil" in the plc
I tried to be as descriptive as possible, but please let me know if there is any other info I can provide.
Thank you in advance