901
Mach4 General Discussion / Re: Homing scripts
« on: January 15, 2022, 04:13:40 PM »
Hi,
I am assuming you are using one of the supplied screensets, say wx4?
wx4 is a common choice for a mill, but as the name suggests it is for a four axis machine.....but what happens if you only have three axes? Then when a homing move or similar is called
the machine will attempt to move your fourth axis....but its not installed and therefore you get an error.
The solution is to, in the ScreenLoad script, remove or edit any instructions that reference the fourth axis, and then save it. What you have done is modified your original screenset wx4....and now
it's slightly different.
At some time in the future when you get the newest, latest and greatest build of Mach4 it will install a new copy of wx4...and your modified copy of a few months, also called wx4, will get overwritten.
and all your edits and tweaks will be lost. Bugger! The correct solution for this problem is to make a copy of wx4, as a good starting point, and call it something unique, like MyVesrion_wx4, and then
use that screenset. Any modifications you do on that screenset, like the homing modifications will happen on the copy. Thus when you get a fresh wx4 when you update Mach then your screenset will
not get overwritten.
The procedure is go to C:\Mach4Hobby\Screens and make a unique copy of the screenset you like the most, in this example wx4. Now fire up Mach and in the View\Loadscreen menu you will be able
to choose your unique copy of your preferred screenset. Once you do so your profile will be updated so that every time you fire up Mach it will select this screenset. At the very lowermost right hand
side of Machs screen you will see the name of the screenset in use, and incidentally the name of the profile in use also.
Craig
I am assuming you are using one of the supplied screensets, say wx4?
wx4 is a common choice for a mill, but as the name suggests it is for a four axis machine.....but what happens if you only have three axes? Then when a homing move or similar is called
the machine will attempt to move your fourth axis....but its not installed and therefore you get an error.
The solution is to, in the ScreenLoad script, remove or edit any instructions that reference the fourth axis, and then save it. What you have done is modified your original screenset wx4....and now
it's slightly different.
At some time in the future when you get the newest, latest and greatest build of Mach4 it will install a new copy of wx4...and your modified copy of a few months, also called wx4, will get overwritten.
and all your edits and tweaks will be lost. Bugger! The correct solution for this problem is to make a copy of wx4, as a good starting point, and call it something unique, like MyVesrion_wx4, and then
use that screenset. Any modifications you do on that screenset, like the homing modifications will happen on the copy. Thus when you get a fresh wx4 when you update Mach then your screenset will
not get overwritten.
The procedure is go to C:\Mach4Hobby\Screens and make a unique copy of the screenset you like the most, in this example wx4. Now fire up Mach and in the View\Loadscreen menu you will be able
to choose your unique copy of your preferred screenset. Once you do so your profile will be updated so that every time you fire up Mach it will select this screenset. At the very lowermost right hand
side of Machs screen you will see the name of the screenset in use, and incidentally the name of the profile in use also.
Craig