tonymony Posted February 10, 2016 Report Share Posted February 10, 2016 Hello, Anyone has got initialized emails between PLC and a remote mail server or local? In this case, could you recommend me any remote mail server, which have no problems, because I tried with google, yahoo,... even encrypted google remote server, but the security is still there. Thank you Link to comment Share on other sites More sharing options...
s.pratt Posted February 10, 2016 Report Share Posted February 10, 2016 Hello, What type of PLC are you working with? Does the e-mail server you are connecting to have a static IP address you can connect to? Port number? Does the server use SMTP? Link to comment Share on other sites More sharing options...
tonymony Posted February 10, 2016 Author Report Share Posted February 10, 2016 Hello, PLC is V700, with visilogic. Port 25. The server is identified by CMD Windows like smtp. I read a lot of posts and is not possible through gmail. The problem is when I insert the command STARTTLS in CMD. I do not know what do you mean with the email server connecting with a static IP address. Do you refer in ladder program? or in CMD windows. Thanks Link to comment Share on other sites More sharing options...
s.pratt Posted February 10, 2016 Report Share Posted February 10, 2016 In Vision series units (such as your V700), we must perform a TCP/IP connection in the ladder when the PLC is set as a client. Therefore, we must connect to the IP address of the e-mail server. So if the e-mail server has a static IP address we can connect to, there should be no issue connecting and sending e-mails (for instance, we use gmx.com e-mail server for testing in our office). If the e-mail server does not have a static IP address to connect to, we would need to create a DNS resolver to achieve the current IP address of the server. There is a DNS Resolver example application in the examples link of VisiLogic. Help > Examples... > Version 900 > Project Examples > Communications > Ethernet > V700_DNS_Resolver.vlp Please let me know if this helps. Link to comment Share on other sites More sharing options...
serban.b Posted February 10, 2016 Report Share Posted February 10, 2016 Hey, I have tried with gmail server and it worked. Link to comment Share on other sites More sharing options...
tonymony Posted February 15, 2016 Author Report Share Posted February 15, 2016 Thanks S, pratt for your help. Serban.b, could you add or show me your project in email? I ll appreciate it. Thanks Link to comment Share on other sites More sharing options...
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