Machsupport Forum
Mach Discussion => Mach4 General Discussion => Topic started by: thespindoctor on November 27, 2016, 11:28:20 AM
-
I have the newest plugin and ESS and the limit switches are now working well as sell as Estop and motors.
However the ref all button moves the first axis and hits the switch fine but backs off and cut continues to move away never stopping. This happens with any axis
I have used DaztheGas' workaround with scripts changed as recommended as well as the updated version. ESS was supposed to correct the problem
with a new plugin but apparently the Home offset feature in Mach4 is still not working for me. Using the C62 BOB.
THanks
Keith
-
Also noticing with DaztheGas code, the y axis is offsetting whenever X or Z axis is moved but not when Y is moved.
Getting closer...
Thanks
Keith
-
I hav`nt tried this script with the latest ESS plugin, it was for the old 186 version so no guarantees it will still be working.
DazTheGas
-
Actually if you would like to export your profile from mach4 and post i can take a look, its prob just a simple setting somewhere.
DazTheGas
-
Daz, I got the Y axis problem fixed as I had it in ports and pins twice so changed it to Z as is should be. However, it still will not home properly. It moves nicely into the limit switch and lights up the switch in diagnostics then reverses and continues without stopping. Here is the profile packed up and attached. Will that work?
THanks!
Keith
-
Oops the Y axis is offsetting again each time an X or Z move is completed. Something funny in PLC I suspect.
-
Actually if you would like to export your profile from mach4 and post i can take a look, its prob just a simple setting somewhere.
DazTheGas
Thanks! uploaded in earlier post. Appreciate the help so much!
-
Noticing that the output led on the screen do not turn green so apparently I have not been able to create an output for homed on each axis. I bet that is the problem but can't figure out how to fix it.
Keith
-
The first thing you need to do at this stage is update to a newer screen, at present you are using the old wxMach screen.
Load up mach4 and click on view in the menubar, from there load a new screen and select wx4 - dont worry this will not change anything in your config but will give you a better starting point.
As a quick look in the ESS config I would remove the index pins from both Inputs tab and Homing.
As a quick look in the Mach config your homing is setup to home in the order of Y X then Z?? is this correct for you machine as Z normally wants to go safe before any other movement, personally mine is set for Z then both X and Y together.
Hope this get you on track
DazTheGas
-
As a quick look in the Mach config your homing is setup to home in the order of Y X then Z?? is this correct for you machine as Z normally wants to go safe before any other movement, personally mine is set for Z then both X and Y together.
DazTheGas
I will give it a try! Thanks.
I need to move Y first then X then last Z to get the grinding wheel and probe (horizontal) far away from the part so that is correct for my machine.
Keith
-
Keep your homing the same I thought you had mill..
DazTheGas
-
Thank you DasTheGas!
Well, that was easy! Just used the wx4 screen and eliminated the index pins and homing is perfect! No need for programming.
Everything is working well all motors, homing and ref, Estop. Next is spindle then probe. Getting close.
It sure is more fun when it works...
Keith