To simulate zeroing after many missed steps, I manually placed my x axis at approx. X=0, and ran this code:-
g00 x700
g92 x800
g28.1 x0
it crashed the switch, crunched while missing steps, and set the X axis to +100.
I then ran:-
g92 x0
g00 x700
g92 x600
g28.1 x0
This time it went past software zero, slowed down, tripped the switch, gave X as -100.
What I wanted it to do in both cases was to move towards the home switch, trip it, give it a value of zero, then move back from the switch.
My homing is configured as below:-
Axis X
Reversed no
Soft Max 100
Soft Min -100
Slow zone 1.0
Home off 0.0
Home neg yes
Auto Zero yes
Speed 20%
No other switches are enabled.
I have obviously misunderstood how to set this up properly, I can't see (from how I understand it) why it does this. What am I misunderstanding, and what do I have to change?
Thanks