Hello Guest it is March 28, 2024, 12:55:51 PM

Author Topic: ARC-ON TIMER AND PIERCE COUNTER IN MACH3  (Read 15553 times)

0 Members and 1 Guest are viewing this topic.

Re: ARC-ON TIMER AND PIERCE COUNTER IN MACH3
« Reply #30 on: October 30, 2019, 03:07:50 PM »
Got it

Is there a way to have it show in minutes and seconds?

Thank you again for your help
« Last Edit: October 30, 2019, 03:14:52 PM by DWalls »
Re: ARC-ON TIMER AND PIERCE COUNTER IN MACH3
« Reply #31 on: November 01, 2019, 12:20:24 PM »
Is there a way to have it show in minutes and seconds?

Thank you

Offline TPS

*
  •  2,501 2,501
    • View Profile
Re: ARC-ON TIMER AND PIERCE COUNTER IN MACH3
« Reply #32 on: November 01, 2019, 12:29:28 PM »
just a bit of calculation

Code: [Select]
'check that endtime has not been calculated allready
If GetUserDro(1600) <> 99999 Then
'save the cuttime
SetUserDro(1601 , GetUserDro(1601) + ( Timer - GetUserDro(1600)))
'set calculation allready done
SetUserDro(1600,99999)
'UserDro 1602 for seconds
SetUserDro(1602 , GetUserDro(1601) Mod 60)
'UserDro 1603 for minutes
SetUserDro(1603 , (GetUserDro(1601)-GetUserDro(1602))/60)
End If
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: ARC-ON TIMER AND PIERCE COUNTER IN MACH3
« Reply #33 on: November 01, 2019, 12:53:04 PM »
I can't wait to try this in a few days. This has proven to be exciting, I have now spent more time on the screen editor and learning how to make the buttons do what I want than I have actually spend cutting on the table.
Is this all that you do or are you just really good with the script?

Thank you for your help once again.