Event Trapping and Logging -- How?--

Heterodoxy

Member
Join Date
Mar 2003
Location
Northwestern Tenn.
Posts
30
Don’t know if it’s possible or how to go about doing it? I’m looking to create some kind of event trapping and logging. The run down first, I’m using an slc5/04 interfacing with a Panelview 1000 through dh485 communication protocol. And what I would like to do is monitor certain data table elements and log any changes that have occurred. Which will be displayed on a particular screen, much like an alarm screen. With each occurrence being date & time stamp, and the current value and previous values displayed. Any help and advice would be appreciated.

Thanks
Heterodoxy
 
Here's a few links to some code snippets that you may find useful:

A FIFO system for tracking data + timestamps + whatever (You'll want to FIFO your log - the PLC just doesn't have enough memory to keep stuff forever
http://www.plctalk.net/qanda/showthread.php?s=&threadid=1751

And then there's my treatis on alarms (i.e, event capturing for operators)
http://www.plctalk.net/qanda/showthread.php?s=&threadid=1964

This should get you started. It sounds like you plan to monitor analog data points. Some questions to ask yourself:

- Should the change be logged for ANY change, or must it change by a set maount (deadband) for it to be logged?

- Once logged, should there be a time delay before the next capture is made, or should another data point get captured if the data changes on the next scan as well?
 

Similar Topics

From the Red Lion website, after some customer enquiries in the last week or so... Rev. March 25, 2024 [18:30] Just thought it might help a...
Replies
9
Views
278
This may be something obvious that I could learn if I sat down to understand the topic in detail with tutorials and manuals. But sometimes it's...
Replies
0
Views
128
Hello, we have two PC with the FT SE local application and the same project. The one PC is wrong about alarm and event log. When I open the...
Replies
2
Views
460
Kindly, we are having a problem on a machine during night shifts, while no engineering tool is online. So, we were thinking of programming some...
Replies
9
Views
760
I have a issue with my alarm summary/banner where it losses connection to the Alarm Server. It's kind of weird because when I click on the server...
Replies
2
Views
1,337
Back
Top Bottom