Automation, Control, Data Acquisition, and Remote Applications

Started by Benno at 07-02-2007 8:43 PM. Topic has 1 replies.

Print Search
Sort Posts:    
   07-02-2007, 8:43 PM
Benno is not online. Last active: 6/30/2007 1:28:12 PM Benno

Top 25 Posts
Joined on 06-30-2007
Posts 14
Opto 22 Getting Data On Daily Basis via E-Mail

One of the many functions that we use opto 22  Is Monitoring our daily water usage And I would like to have that daily information on my E_mail I was wondering if taht could be possible 

THANK YOU

Robert J Rajkowski

 


   Report 
   08-13-2007, 7:38 AM
gmitchell is not online. Last active: 11/12/2005 8:06:39 PM gmitchell

Top 10 Posts
Joined on 12-01-2003
Optomation Systems, Madrid, Spain
Posts 143
Re: Opto 22 Getting Data On Daily Basis via E-Mail
Yes its a perfect application for a PAC-R.  There is a preconfigured function in the I/O area of the controller (MemoryMap) that allows logging data from up to.  With this method up to 140 lines of data can be included in the email, which can be collected from upto 63 different points and send to a configurable mail server.

Using PAC Manager you can configure ther relevant preconfigured funcionality using:
DataLog>DataLogging Configure and
Communication> Email
You can read more about this in the 1704_PAC Manager User Guide.

A useful tip when developing your application is to install a simple mail Server in your PC (Not to be confused with your Outlook/Thunderbird mail Client) and directly connect to the PAC-R with a crosscable.  Its a useful way to check the mail functionality, and all the necessary configuration before ever trying to receive the email from an external server. 

Remember even when you configure the PAC controller correctly to send the email from outside the company network, its a long journey before it gets to your PC!  Just some of the dangers along the way include your ISP security, account configuration, PPP connections, the SMTP protocol, firewalls, anti-spamming software, junk mail detection, secure servers and mail client configuration.  None of which are actually Opto22's problem, but they may cause your email to be lost in hyperspace.  You will also need to work closely with whoever is responsible for email administration in your company as there is probably a lot of things about email reception that they don't bother telling the average user.

This preconfigured approach to email is the quickest way of sending email from a PAC, but does have some drawbacks.  The memorymap area is not backed up so if you have a powerdown, the logging is lost.  Its also may not be the way you want your data to be organised or displayed.  So if you are an advanced user you may prefer to program the necesssary functionality in PACControl, prepreparing the data in persistant string tables and then emailing these off as a file made up of separate lines under PACControl.  All the necessary instructions are there, but you will have to know how an email is really created.

We have used this method to preformat data, include annexed text, csv and xml files which can be imported by automated programs directly into data applications.  Although not for beginners, it allows total flexibility and a way to bypass normal limitations.  But my advise is to start with the configurable functionality first.


   Report 
OptoForums » Application For... » Automation, Con... » Re: Opto 22 Getting Data On Daily Basis via E-Mail

Powered by Community Server, by Telligent Systems