1
Mach4 General Discussion / Upadte: Configuration of Mach4 for homing with reference contacts
« on: January 05, 2017, 03:21:54 AM »
Hi,
Meanwhile I have found the problem. I have made some mistakes in the configuration of the ESS.
The ‘Reference All Axes’ of Mach4 is working now like it should.
But it looks like that the version of Mach4 (or the wx4.set) I have installed is different to the one which is used by DazTheGas in his video.
1. After ‘Reference All Axes’ the machine is moved to the reference positions and the exact OffSet values from the configuration of the ‘Homing’ are shown. (Pic. 01)
2. I have debugged the code and figured out that the problem starts within the ‘Signal Script’. The variable ‘sig’ is not set and based on that the ‘if (sig == …)’ can’t work. (Pic. 03)
3. In the ‘Screen Load Script’ is now a function ‘RefAllHome’ (Pic. 04) which is called by all ‘Reference All Axes’ buttons (Pic. 05)
I guess with this version of the wx4.set just a GCode must be run right before the ‘Referencing is complete’ message box is called. The GCode must move the machine to coordinates ‘all zero’. But I’m a very inexperienced user of Mach4 and I would like to have a solution which is based on the knowledge of the experienced users here!
Meanwhile I have found the problem. I have made some mistakes in the configuration of the ESS.
The ‘Reference All Axes’ of Mach4 is working now like it should.
But it looks like that the version of Mach4 (or the wx4.set) I have installed is different to the one which is used by DazTheGas in his video.
1. After ‘Reference All Axes’ the machine is moved to the reference positions and the exact OffSet values from the configuration of the ‘Homing’ are shown. (Pic. 01)
2. I have debugged the code and figured out that the problem starts within the ‘Signal Script’. The variable ‘sig’ is not set and based on that the ‘if (sig == …)’ can’t work. (Pic. 03)
3. In the ‘Screen Load Script’ is now a function ‘RefAllHome’ (Pic. 04) which is called by all ‘Reference All Axes’ buttons (Pic. 05)
I guess with this version of the wx4.set just a GCode must be run right before the ‘Referencing is complete’ message box is called. The GCode must move the machine to coordinates ‘all zero’. But I’m a very inexperienced user of Mach4 and I would like to have a solution which is based on the knowledge of the experienced users here!