Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Davek0974 on June 25, 2020, 01:51:31 AM

Title: Locking a Mach3 setup
Post by: Davek0974 on June 25, 2020, 01:51:31 AM
Is there a way to lock the general config of a Mach3 setup?

I run Plasma with it and find that the "Use Watchdogs" tick box keeps turning itself on in general config.

I turn it off, press "save settings" on menu and at a random time it turns back on :(

The machine is not so happy when its on and will fault out for seemingly no reason at random times, its far better with it off.
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 26, 2020, 03:10:08 PM
Anyone??

 :)
Title: Re: Locking a Mach3 setup
Post by: TPS on June 26, 2020, 03:21:36 PM
hello Dave,
witch Version?
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 26, 2020, 03:24:54 PM
062
Title: Re: Locking a Mach3 setup
Post by: TPS on June 27, 2020, 03:06:11 AM
sorry no real idea,

i run 022 on all my machines, and never had any issue
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 27, 2020, 03:09:30 AM
Ok, it is an odd one, i cant see why it keeps turning on, have to keep checking its off.

Could be related to the C&CNC THC theme i guess, not much i can do about that.

I don't suppose there is a file that could be made read-only on the disk or would that cause more issues?
Title: Re: Locking a Mach3 setup
Post by: Graham Waterworth on June 27, 2020, 09:20:48 PM
The watchdog setting is stored in your profiles xml file so locking it would be a problem.

I have no memory of a VB call to turn the watchdog on or off so it must be a low level command in a plug in that is doing it.

Or it could be memory corruption.

All very strange though if its random.
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 28, 2020, 01:44:54 AM
OK, thanks all,

I guess i'll have to live with it :)

I might contact C&CNC if they are still going to see if there is a known issue with this older version of their THC.


Dave
Title: Re: Locking a Mach3 setup
Post by: Graham Waterworth on June 28, 2020, 01:52:28 PM
I have done a bit of digging on this one, there is a feature/bug/action where if you cancel/stop/interrupt a g-code file loading it turns the watchdog on.

Could this be the cause?

 
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 28, 2020, 02:02:00 PM
Interesting, i was not even aware that once the load file button was acted on it could be stopped?

In my case i don't see how it could be that unless some of the load code - this is custom C&CNC THC stuff which reads voltage and height settings [S_Codes] from the file is doing it??

I will have to have a play when i get a gap and see if a sequence or event actually triggers it
Title: Re: Locking a Mach3 setup
Post by: TPS on June 28, 2020, 02:04:59 PM
if you Google for sysinternals filemon, it might be a help to find who is changing the file.
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 28, 2020, 02:10:50 PM
Thanks
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on June 30, 2020, 07:27:04 AM
I have done a bit of digging on this one, there is a feature/bug/action where if you cancel/stop/interrupt a g-code file loading it turns the watchdog on.

Could this be the cause?

 

You are correct

I tested this morning, and if the file-load is called and then cancelled it flips the watchdog thingy to on!

I have no idea why or how that could have crept into the source code but of course its there forever ;)

At least i know that i need to check after each file load now.
Title: Re: Locking a Mach3 setup
Post by: Graham Waterworth on July 02, 2020, 07:37:22 AM
Another undocumented feature discovered  :D
Title: Re: Locking a Mach3 setup
Post by: Davek0974 on July 02, 2020, 07:40:19 AM
Yep, its the file-load "Cancel"button triggers it.

If you invoke file-load and press "Cancel" it flips the watchdogs on.

If you invoke file-load and press "Ok" without selecting a file it cancels the load request and does NOT flip the watchdog on.

:)