Jump to content

Recommended Posts

Hello, 

I have this values which am logging into the data table together with date and time stamp.

After writing to the data table, it will then be exported to SD card to be send as an attachment via email.

Can someone help me with an example program of how to trigger the data logging process every day at 6:00 am

and after one hour(7:00 am) trigger the send email function also? 

Thanks

 

Mikel

Share this post


Link to post
Share on other sites

There are Clock functions in the Utils drop-down menu. They will do what you are looking for. There is also a lot of good information in the Help file under Clock Functions.

Share this post


Link to post
Share on other sites

Look at the Help on Clock and Email and take a swing at it.  Post your program and we can help you.

Note that the Email in Vision series PLCs only works with non-SSL email servers.  These are getting very hard to find in the public domain - for example you can't do it with gmail.  

Joe T.

Share this post


Link to post
Share on other sites

Hi;

 

Email Servers ( having unsecured email services) for use with VisiLogic --  try     SMTP2GO.com , you have to set up an account and use the password provided.

 

Dant

Share this post


Link to post
Share on other sites

Thanks  very much Flex, Joe and DanT,

The clock function in the utilities drop down menu helped but my data table which an sending as an attachment via email

goes as a dat. file and could not be opened on smartphones etc. That's not a big issue anyway.

 

I read to remotely access/operate the plc (download programs) the plc needs to be assigned a static IP address.

I have made a request to my ISP to acquire a static IP. whiles waiting for that, I would like to know how to go about the process 

to communicate with my plc over the internet once I get the static IP. 

Couldn't find any webinar on this topic.

Mikel.

Share this post


Link to post
Share on other sites
3 hours ago, Mikel said:

my data table which an sending as an attachment via email

goes as a dat. file and could not be opened on smartphones etc.

Why not log your data directly to the SD card as a .csv file?

Share this post


Link to post
Share on other sites
6 hours ago, Mikel said:

I read to remotely access/operate the plc (download programs) the plc needs to be assigned a static IP address.

I have made a request to my ISP to acquire a static IP. whiles waiting for that, I would like to know how to go about the process 

to communicate with my plc over the internet once I get the static IP. 

Couldn't find any webinar on this topic.

There is no webinar on this topic because it is outside the scope of what Unitronics should be expected to cover.  You have to have IT skills to do this.  This is why IoT drives me crazy, as you have to really know what you're doing to make it work and the implication from vendors is it's plug and play.  

The short version is you need a static IP of the site where the PLC is installed.  This IP should be that of router connected to the Internet.

Then you set up the Network Address Translation (NAT) table inside the router to point the ports Unitronics is looking for (usually 20256) at the local IP of the PLC.

Look at the specific Help on your router on how to do this.

Joe T.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...