Welcome! Log In Create A New Profile

Advanced

Inconsistent homing behavior

Posted by zeb00 
Inconsistent homing behavior
August 20, 2014 05:44AM
I have just finished changing over to micro-switch end stops on the X and Z axis and noticed some strange behavior.
I am running 0.78h-dc42

I made the following changes to config.g
changed to M558 P0
commented out all other G31 and M557 commands

changed the last two lines from
M208 X214 Y210
M208 X-8 S1

to

M208 X214 Y210 Z200
M208 X-8 Z-0.2 S1

then using the following code
G1 X-200 S1
the x axis runs back until it hits the switch then stops and sets X to -4 which is what i was expecting from this firmware

when i run the Z equivalent
G1 Z-200 S1
the Z homes but sets the Z value to 0 instead of -0.2

Edited 1 time(s). Last edit at 08/20/2014 05:52AM by zeb00.
Re: Inconsistent homing behavior
August 20, 2014 07:52AM
You shouldn't specify a minimum axis limit for the Z-axis. Use
G31 Z-0.2
instead.
Re: Inconsistent homing behavior
August 20, 2014 08:24AM
Ok it has to be
G31 Z-0.2
G30

I thought with m558 p0 I may be able to treat it as a normal axis and home instead or probe but that will work.

Thanks

Edited 1 time(s). Last edit at 08/20/2014 07:23PM by zeb00.
Sorry, only registered users may post in this forum.

Click here to login