Generate Emails / Run Batch Files Based on WW Tag Values

five

Member
Join Date
Sep 2013
Location
SC
Posts
12
As info, this is cross posted on MrPLC as well.

We are using WonderWare Historian / Archestra. We were formerly using inSQL and upgraded last year. Recent questions have come up.


  • Is it possible to have an email alert sent when a certain tag changes from 0 to 1 (binary tag)?
    On my own I thought about using this tutorial to generate the emails via the sql table. Was planning to use the view dbo.Live from the Runtime table. I don't know much about either SQL or Historian. I asked our WW vendor about it and he recommended software called Win911 for the email alerts. He also mentioned that it should be possible via inTouch as well, I asked for more info - but haven't heard back thus far.
  • Similar to the the last setup, but instead of an email, I want to run a batch file when a binary tag is triggered. Any ideas on how to achieve this?
Anyone have any ideas about either of these setups?
 
You can create an event tag in historian that monitors your discrete value for a change (leading or trailing edge detection). The event tag has actions properties of which emailing someone (including summary data) is one option, and also another action you can use is running your batch file.
 
Interesting, thanks for getting back to me.

For the batch file, instead of using an adam module or something like that into datahist, I ended up just sending a 5V signal to a serial cable and signaling the batch file to run. I used this page to come up with my solution.

For the email generating one, I ended up storing the values for the tags in question, in a CSV file and monitoring it for changes and on change, an email is sent out.

Both of these methods are working, but I am interested in more info on how to do it natively. I'll look into the event tags and see if I can make any headway.
 

Similar Topics

Hello Friends, I am looking for a way to take my PID Output( it is the result of my PI Algorithm in Real format) and generate a PWM Signal in...
Replies
16
Views
2,477
Does anyone know a way to dynamically generate a 2D barcode on a PanelView screen? An Activex Control maybe? If such a method is out there, it...
Replies
14
Views
2,968
Hi, I am trying to generate source file of OB1 including all dependent blocks. But i am getting a message which says-->>one or more blocks...
Replies
3
Views
1,249
Hello Everyone, I would like to know where to start when designing a HMI+PLC Allen Bradley based, that complies with CFR 21 PART 11, ALCOA...
Replies
4
Views
2,902
Hello, in iFix I want to do a boolean calculation with two values, and generate an alarm if the result is true. The calculation in my BL block...
Replies
3
Views
2,164
Back
Top Bottom