Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: rhtuttle on February 01, 2021, 10:58:14 AM
-
Is there a way to clear the history? My lathe throws a "Home switch C Home Tripped" on every revolution of the spindle. Rather than having to click on the History button and then the clear button and then the close button it would be nice to just put another button to clear the history directly.
TIA
RT
-
That is in the Core of mach4 sending the message ... We don't have any tools to cancel the messages. I may be able to add a back door way to cancel the message ;) I can see where this would be used on a C axis.
-
This got added to the next release on the FTP server. I added a new mcSetValue() that allows you to turn off the home messages in Mach4. I will post more but wanted you to know that was all done.
-
Here is how you can make this magic happen :) I used the mc.mcCntlSetValue(inst, mc.VAL_IGNORE_LIMIT_MSG,0, 0) . You can use 0 to turn off the messages or 1 to turn them on mc.mcCntlSetValue(inst, mc.VAL_IGNORE_LIMIT_MSG,0, 1). Also I added it to the mc.mcCntlGetValue(inst, mc.VAL_IGNORE_LIMIT_MSG,0) so you can get the state of it.
This is in version 4690 ..
-
In the words of the late great Lawerance Welk, tank you, tank you, tank you. (You might be too young to get this)
RT
-
Hey I am old... well not that old :) Please tell me if that works for you.
-
I know about Lawrence Welk. :) "There are good days and there are bad days, and this is one of them."
You could also disable the home signal for the spindle after the spindle has been homed.
Steve
-
I tried that early on but wasn't able to get that to work. I should probably review what I did and see what I did wrong. Or, just use this new feature ;^)