BenB Posted June 21, 2011 Report Share Posted June 21, 2011 I'm looking to send an email whenever an alarm is triggered. This really isn't that hard and I understand how to do it (I think). I am having trouble with getting the v1040 to be seen by the network. I've tried pinging it and changing default IP, but i cant seem to fix the problem. Can someone please help me with this?! Thanks, BenB Link to comment Share on other sites More sharing options...
Jas Posted June 21, 2011 Report Share Posted June 21, 2011 Are you certain you have entered a valid IP, Subnet Mask, and Gateway address for the controller? All three of those parameters need to be correct for the controller to be recognized on the network. Can you verify with someone from your IT department? If you can't even ping the controller, there is no way that the email will work... Link to comment Share on other sites More sharing options...
BenB Posted June 21, 2011 Author Report Share Posted June 21, 2011 Yea i have those entered is there something with the code that i have to do? I saw a card initialization block but i dont know what to do with it or if its necessary. Link to comment Share on other sites More sharing options...
Jas Posted June 21, 2011 Report Share Posted June 21, 2011 You can use either information mode or the ladder code initialization block. Please read and try the sample application in the post listed below: http://forum.unitronics.com/index.php?/topic/696-assistance-needed-to-have-ethernet-settings-on-a-config-screen/ Link to comment Share on other sites More sharing options...
BenB Posted June 21, 2011 Author Report Share Posted June 21, 2011 Thank you, we just got it to be recognized by the network. How do I setup the email so that it will sent through our smtp servers? Link to comment Share on other sites More sharing options...
BenB Posted June 21, 2011 Author Report Share Posted June 21, 2011 I got the computer to ping the PLC and now I am trying to send an email. What must I do to set up the email through smtp. I am very confused right now and any help would be greatly appreciated! Thank you, Ben B Link to comment Share on other sites More sharing options...
Jas Posted June 21, 2011 Report Share Posted June 21, 2011 Attached is a sample program for sending email. You need to find out from your IT department your corporate mail server address + port number. Please refer to the help file of VisiLogic as well, there is a detailed explanation for the basic setup. Help (F1) --> Contents --> Communications --> Send E-mail Send Email.vlp Link to comment Share on other sites More sharing options...
BenB Posted June 21, 2011 Author Report Share Posted June 21, 2011 Hey thanks a lot. I finally got it working using the example from the help file. When i was connecting the socket I was not connecting to our server. All is well now. Thanks for your help!! 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