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

More
03 Apr 2022 09:28 #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 or Create an account to join the conversation.

More
05 Apr 2022 20:16 #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 or Create an account to join the conversation.

More
06 Apr 2022 20:14 #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 or Create an account to join the conversation.

More
06 Apr 2022 20:44 - 06 Apr 2022 20:45 #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)
Last edit: 06 Apr 2022 20:45 by HansU.

Please Log in or Create an account to join the conversation.

More
07 Apr 2022 05:47 #239505 by itsme
Here is also a solution for tracking machine hours with axis:
forum.linuxcnc.org/38-general-linuxcnc-q...el-distance-for-axes
The following user(s) said Thank You: tommylight, strahlensauger

Please Log in or Create an account to join the conversation.

More
07 Apr 2022 13:48 #239544 by HansU
Sure, you can embed the VCP wherever you want.

Please Log in or Create an account to join the conversation.

Time to create page: 0.070 seconds
Powered by Kunena Forum