Diagnostic Help

We have a line that keeps shutting down and the alarming is not very clear on the cause. In the Logix program there are 3 switches that can drop out the line when it's running but you also lose 1 of these switches normally when you stop the line.

I have programmed trap counters for all 3 switch but I want to log the time it happens so I want to use the wall clock time.

When the counter counts up I want to move the wall clock time to another place and log it. How can I do it so if it happens 10 times on the same switch this weekend I will have 10 different time stamps so they won't write over each other?
 
Here's what I did to log time/date stamp of a specific alarm occurrence:
1. Create a UDT (DateTime) with 7 DINT members for storing the current date & time via GSV instruction. Create a tag of type DateTime for storing clock value
2. Create an array tag of type DateTime[10] for storing your 10 alarm time stamps.
3. Use FFU & FFL instructions to store your clock value into the time stamps array when the alarm occurs.

The beauty of this method is that it will always display the time stamp for the last 10 occurrences. If you have the memory, I'd suggest making the array larger than you think you'll need just in case.
 
+1 for RonJohn's FFL solution. I've used it quite extensively for fault tracking overnight.

If you want to be really fancy, you can create a UDT with the date, time, state of all your tags, username of the operator who was on when it broke, number of times they mashed the reset button before it started again...as much information as you can think of! When you come back in the morning, you have a wealth of data at your fingertips :)
 

Similar Topics

New Forum member Lima0411 recently posted this question to an old thread that had evolved to a discussion of New Zealand rugby, so to start off on...
3
Replies
4,149
Views
I am troubleshooting this crane that keeps losing track of the hooks, and well I like to think that something might be wrong with fm350-2 counter...
2
Replies
2,261
Views
Hi everyone, I am working on a diagnostic function for a 1734-AENTR POINT I/O rack in Studio 5000, and I am looking for input on the best way to...
0
Replies
326
Views
Hi Guys, Been trying with no luck to read parameters from the "Diagnostic Items" option from the PowerFlex 755 under the Module Properties...
1
Replies
568
Views
can anyone please recommend some software for monitoring activity on a profibus network using an USB-RS485 adapter (this one to be precise...
3
Replies
852
Views
Top