Re: Looking for a macro to get a cycle time average across a full day's operation
hi helbonikster / switch to okuma-osp and ask again
I am trying to write a macro that will record the exact time that the cycle start button is pressed
if you wish to write code, then you won't be able to record the moment of the "button-press event", but the moment when the buffer reaches a time system variable or a time counter
for exact data, you may need a buffer prohibit code, but in most cases a system variable delivers buff prohibit behaviour
... so dig for a time system variable for your controller; and build the code arround it ( common variables and writing/reading from a file will help )
... or try recording data from the plc
Bonus points if you can put an IF statement in to ignore button pushes that occur within less than the cycle time (if the operator immediately reset, then started again for some reason)
i can do this, on okuma, but in a different manner; things can be pushed even further than what you described in this thread, helping someone to see the bigger picture, for more then a single machine
from some kind of perspective, deviation and stability are one and the same thing : once you have enough data, you may calculate the "statistical corelation coeficient" which is lower for a less trained person or a less organized shop ( more downtime, etc ), and if things are not handled well, it may lead to demoralization of a skilled employee; also, with patience & well spent $$$, nice things can be achieved
statistics inside a shop is a sword with 2 edges scoring high numbers means a well organized shop, while wrong data colecting and wrong interpretations may lead to time waste and demoralization : everyone is under the same roof
in the end, after you will do such kind of stuff, is easier to see that all you need is love / 99.8%? kindly
Ladyhawke - My Delirium, https://www.youtube.com/watch?v=X_bFO1SNRZg