I'm going to try to make this short and to the point, since everything else on my machine is working great, homing works fine, limit switches work fine.
Is there a way to home a machine with soft limits turned on? I want to have my soft limits set an inch or so away from my limit switches as a buffer, but when homing, the soft limits are triggered. I read this post:
http://cnczone.com/forums/showthread...tton%28&page=3
which I thought would totally work, but it didn't. I added the code to my button script, and with the soft limits off, it works great and my machine homes, then returns to x0 y0, but with soft limits on, it starts homing and stops after it hits the switch and backs off and says soft limits exceeded.
any ideas? I've tried the following scripts:
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
Code "G1 G53 X0 Y0"
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
While IsMoving()
Wend
Code "G1 G53 X0 Y0"
DoButton( 24 )
DoButton( 23 )
DoButton( 22 )
DoButton( 25 )
While IsMoving()
Wend
Code "G0 G53 X0 Y0"
Again, if soft limits are off, all of these work, and the machine homes, then returns to 0, but with soft limits on, it stops after the first soft limit is reached.
Is there a code I can add to the beginning that will turn off the soft limits, then another code that will turn them back on at the end of homing?
Thanks
Jesse