# Mach4 show remaining run time?

**URL:** <https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483>\
**Category:** General Chat\
**Created:** [December 23, 2022, 1:46am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483 "2022-12-23T01:46:06Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![myk5486](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@myk5486](https://forum.avidcnc.com/u/myk5486)\
**Post date:** [December 23, 2022, 1:46am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/1 "2022-12-23T01:46:06Z")

</div>

I was wondering if it’s possible to have Mach4 show remaining run time on the screen or anything.

Not sure what’s possible, so any help is appreciated!

---

<div class="post-metadata">

**Author:** ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)\
**Post date:** [December 23, 2022, 3:02am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/2 "2022-12-23T03:02:30Z")

</div>

Remaining lines of Gcode in the file would be something you can add to a screenset. I usually just look at my Gcode window slider and see how far down the slider is and figure out what fraction of 100% it is, and then look at the elapsed time to that location and you can make a pretty good guess as to how much time is left. Then again, I guess you could program that method into the screenset as well.

---

<div class="post-metadata">

**Author:** ![Bstanga](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/bstanga/32/791_2.png) [@Bstanga](https://forum.avidcnc.com/u/Bstanga)\
**Post date:** [February 9, 2023, 7:53am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/3 "2023-02-09T07:53:27Z")

</div>

Your new screen set working great BTW

---

<div class="post-metadata">

**Author:** ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)\
**Post date:** [February 9, 2023, 5:15pm UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/4 "2023-02-09T17:15:30Z")

</div>

Cool. I haven’t seen any hiccups in it either. I guess it’s safe then 😃

---

<div class="post-metadata">

**Author:** ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)\
**Post date:** [February 9, 2023, 6:30pm UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/5 "2023-02-09T18:30:58Z")

</div>

> [@myk5486](#):
>
> Mach4 show remaining run time

I forgot about this post until Brian reminded me. I added this to my lastest screen to give an idea of remaining time. Most of the code for the runtime tracking came from someone else who generously shared with me.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/3/3d6e6c156538cc6e1971d856a327145fe224870f.png)

I also added some maintanence variables So you can track machine and spindle hours, and how many units your axis’s have traveled.

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/4/4ceaf8ca0e5808cacf7fec26c3f237d5ced6bb58.png)

The screen can be found here.  
[https://drive.google.com/drive/folders/1PgdKhPpO7yG4azVI-r0rvJkq\_A81\_dOO?usp=share\_link](https://drive.google.com/drive/folders/1PgdKhPpO7yG4azVI-r0rvJkq_A81_dOO?usp=share_link)

Feel free to use the screen, or export any parts you want.

---

<div class="post-metadata">

**Author:** ![MBergeron](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MBergeron](https://forum.avidcnc.com/u/MBergeron)\
**Post date:** [February 10, 2023, 2:44am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/6 "2023-02-10T02:44:22Z")

</div>

Brian I will have to get with you on how to update the screen in mach4. I am not familiar with how to update Mach yet.

---

<div class="post-metadata">

**Author:** ![Bstanga](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/bstanga/32/791_2.png) [@Bstanga](https://forum.avidcnc.com/u/Bstanga)\
**Post date:** [February 10, 2023, 3:48am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/7 "2023-02-10T03:48:47Z")

</div>

Its very easy mike, just dload jim’s screen set, go to mach4 hobby dir, go to screen dir paste the screen file into the screen dir then go run mach4, top right next to file is VIEW click on it the select load screen, it will then list files in the screen dir select jims set and you are good to go.

---

<div class="post-metadata">

**Author:** ![MBergeron](https://avatars.discourse-cdn.com/v4/letter/m/dc4da7/32.png) [@MBergeron](https://forum.avidcnc.com/u/MBergeron)\
**Post date:** [February 11, 2023, 4:39am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/8 "2023-02-11T04:39:41Z")

</div>

Thanks Brian I loaded the new screen tonight. I like it!

---

<div class="post-metadata">

**Author:** ![Bstanga](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/bstanga/32/791_2.png) [@Bstanga](https://forum.avidcnc.com/u/Bstanga)\
**Post date:** [February 11, 2023, 9:08am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/9 "2023-02-11T09:08:14Z")

</div>

I’m glad to have the Maint tab for run time stats. Cheers to Jim Neeb!

---

<div class="post-metadata">

**Author:** ![myk5486](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@myk5486](https://forum.avidcnc.com/u/myk5486)\
**Post date:** [February 11, 2023, 10:34pm UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/10 "2023-02-11T22:34:04Z")

</div>

Thank you everyone! This works! Have no idea you could modify the screen! haha

---

<div class="post-metadata">

**Author:** ![Bstanga](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/bstanga/32/791_2.png) [@Bstanga](https://forum.avidcnc.com/u/Bstanga)\
**Post date:** [February 12, 2023, 4:34am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/11 "2023-02-12T04:34:17Z")

</div>

Hey Jim, I don’t know if this is from the screen set, but when I hit HOLD to pause the job for whatever reason, then to resume I would hit the CYCLE to continue. Now when I hit Hold and then cycle start the program ends, just as if I had pressed the Stop button. One of these days I’m gonna have to learn how to CODE so i can have a better understanding of these things…

---

<div class="post-metadata">

**Author:** ![corbin](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/corbin/32/2800_2.png) [@corbin](https://forum.avidcnc.com/u/corbin)\
**Post date:** [February 24, 2023, 2:28am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/13 "2023-02-24T02:28:31Z")

</div>

I’m a bit late to this party, and Jim’s got a good idea on the percentage remaining based on GCode lines. I was thinking of adding some code to store the total run time on a previous cycle of the same GCode, and then I’d know exactly how long it takes to compute an accurate time remaining. Tormach’s PathPilot does this, and it is pretty handy!

---

<div class="post-metadata">

**Author:** ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)\
**Post date:** [February 24, 2023, 4:51am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/14 "2023-02-24T04:51:58Z")

</div>

> [@Bstanga](#):
>
> I don’t know if this is from the screen set, but when I hit HOLD to pause the job for wha

Good catch Brian. I stopped using feed hold because I changed my stop button to do a feedhold then stop so it doesn’t require re-homing. So I didn’t check the hold feature (because I didn’t think I changed anything for it). However, it did break the feed hold, and badly because it hangs up Mach 4 on my machine.

In the meantime, go back to version 4, or use the stop instead. I’ll see if I can fix it soon.  
Jim

---

<div class="post-metadata">

**Author:** ![JeffsDesign](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jeffsdesign/32/5574_2.png) [@JeffsDesign](https://forum.avidcnc.com/u/JeffsDesign)\
**Post date:** [February 24, 2023, 5:24pm UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/15 "2023-02-24T17:24:31Z")

</div>

It’s amazing how much tweaking you can do!!

---

<div class="post-metadata">

**Author:** ![jjneeb](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.avidcnc.com/jjneeb/32/244_2.png) [@jjneeb](https://forum.avidcnc.com/u/jjneeb)\
**Post date:** [February 25, 2023, 4:46am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/16 "2023-02-25T04:46:18Z")

</div>

> [@Bstanga](#):
>
> Hey Jim, I don’t know if this is from the screen set, but when I hit HOLD to pause the job for whatever

Hey Brian,

I found the bug (easy), and fixed it (not as easy). Also added two hotkeys to change the Inc Jog setting Ctrl-1 for 0.001", and Ctrl-2 for 0.010" (thank you Corbin for the inspiration on that!).

The new screen and updated documentation are here as always: [Public CNC Docs - Google Drive](https://drive.google.com/drive/folders/1xB6J0RZIU1j8g951NkP-8HXC1swC2C-B?usp=share_link)

jim

---

<div class="post-metadata">

**Author:** ![myk5486](https://avatars.discourse-cdn.com/v4/letter/m/45deac/32.png) [@myk5486](https://forum.avidcnc.com/u/myk5486)\
**Post date:** [March 20, 2023, 11:45am UTC](https://forum.avidcnc.com/t/mach4-show-remaining-run-time/1483/17 "2023-03-20T11:45:42Z")

</div>

Hello all,

Really appreciate this, I am still really knew on this. Is there somewhere that helps teach how to change the screen? I am hoping to change the relay 1 from Air assist to dust collector. Maybe other things also once get a clue how to do it.

![image](https://canada1.discourse-cdn.com/flex027/uploads/avidcnc/original/2X/f/fbdde85bc9d7b6e40cc61f6f8c3f0e2713a49b19.png)

Thanks,  
Mike
