11-28-2005 09:07 AM
I am monitoring the performance of a motor in our production line. When the motor is working ok, the PLC outputs a value of 0 (i.e. FALSE), however when the motor is offline (the PLC outputs a value of 1 (i.e. TRUE). I am trending the history of this online/offline relationship using a bar plot and I would like to show next to the graph, in a numerical indicator, the total time the motor has spent offline at the value 1. I have managed to get so far with this, however I am unsure how to effectively ‘sum’ the timestamps.
If anyone has any suggestions for this, I would be grateful for the help. I have attached my vi to show what I have so far.
Many thanks
Stuart
11-28-2005 10:49 AM