Is there a way to keep track of overall machine hours/distance travelled?

More
4 years 6 months ago #239139 by Twizzlermill
Hello,

I wonder whether there's a way to keep track of time and/or distance, not per job, but overall, like mileage on a car.

I'd like to keep track of it, mostly to implement a regular greasing schedule.

TIA

Please Log in to join the conversation.

More
4 years 6 months ago #239379 by andypugh
It's certainly been done, but I don't know of a built-in way.

This is part of a possible solution:
linuxcnc.org/docs/stable/html/man/man9/time.9.html

Though I think I would use a simple Python HAL component connected to halui.program.is-running and spindle.0.on to count program hours and spindle hours.

This would need to save data to file on shutdown, then load the data back in on startup.

It probably should be a built-in feature.

Please Log in to join the conversation.

More
4 years 6 months ago #239470 by biqut2
Yes there is. I have a handy timer on my setting page in gmoccapy just for this. I'm away from my machine and computer at the moment but I can look it up once I'm back in the shop if needed.

Please Log in to join the conversation.

More
4 years 6 months ago #239473 by HansU
We have done something like this here: forum.linuxcnc.org/gmoccapy/40709-gmocappy-clock?start=50

(scroll down to the last post)

Please Log in to join the conversation.

More
4 years 6 months ago #239505 by itsme

Please Log in to join the conversation.

More
4 years 6 months ago #239544 by HansU
Sure, you can embed the VCP wherever you want.

Please Log in to join the conversation.

Time to create page: 1.839 seconds
Powered by Kunena Forum