Hi,
Since release 5000, the timer value that is returned by mc.mcCntlGetRunTime no longer stops with Feedhold. I'm using it to track Gcode progress and predict time remaining, so I would like it to stop on feedhold.
So I figured it would be easy to make my own timer with either the scr.timer or wxTimer. I have watched Dazthegas's videos and read all the example I can find, but it seems everyone is using them to count down and generate an event. I just want to start a timer and pause it, and be able to read its current value out. This seems so simple yet I haven't been able to get it working. I'm trying to avoid putting some kind of clock tracking time accumulator in the PLC script.
Can anyone point me in the right direction?
Thanks