Trending machine status from a trafic light tower

I have several machines with a 'trafic light' indicating 3 statuses.

RED = STOP

ORANGE = IDLE

GREEN = RUNNING

I want a trend of these 3 situations over the last 24 hours (or 8 hours)

I can do this by using these variables for pens like:

The problem I have is that trending is only possible in 'Instant trend'

When using instant trend the charting begins when opening the page, NO history!
(See second pane in picture below.)

 

To overcome this I made ALARMS which can be trended and these are displayed correctly and with history.
(See pane 1, 3 and 4 in picture above)

Problem with this method is that my alarm page is displaying all these alarms


AL_201_RED, AL_302_RED etc etc.
Some have a description, some don't, this is due to my programming ;-)

Is there an other way to trend the status of the machines without using these ALARM trend with history?

If not can I filter-out, on the alarm page, these Alarms based on name or empty description field, so they are not visible anymore?

Thanks for your support.

Parents Reply Children
  • Hi Jan,

    I think the answer is "no" on this.

    You can certainly implement a custom column in the Process Analyst. The example project demonstrates one of these with the "Difference Cursor".
    Implementing a Custom Column

    But where you are are going to run into problems is being able to get the data again for the selected timespan from the alarm server which I think will not be possible from our current API's. Unfortunately there is no API to get the data that the Process Analyst has already captured - which would be the most optimum path.

  • If you trend the "Green" tag as an analog trend (span to 0-1) and display the average value , the average will equate to the % (i.e. 0.2 = 20%)

  • Thanks for that tip about displaying as an analog trend to get the average value. 

    I have a similar situation, with traffic lights that we typically display as a digital trend (just logged as a standard trend tag).  For most purposes, displaying as digital is the more useful format for the operators, but I was always slightly frustrated that the "Average" didn't work in that mode.  Nice to know it is possible using analog mode for the same tags. 

    Below is an image from the site, using the same tags in both formats to demonstrate what Tony has said.