Problem homing z axis

More
5 years 5 months ago #209055 by anli
Replied by anli on topic Problem homing z axis

newbynobi wrote: Set home offset to zero and home to - 5 and report what happens

Hm, according to forum.linuxcnc.org/49-basic-configuratio...rencing-fenja#207733 (I have the same machine) that can't be the solution because I have a combined home and limit switch? However I'll try it :-)

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #209060 by newbynobi
Replied by newbynobi on topic Problem homing z axis
This is my actual home entrys in INI File for my Z axis.

HOME = -10.0
HOME_OFFSET = 0.5
HOME_SEARCH_VEL = 15.0
HOME_LATCH_VEL = -0.5
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

Should fit your needs

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #209063 by anli
Replied by anli on topic Problem homing z axis
Hi Norbert,

with the config
Code:
MIN_LIMIT = -190 MAX_LIMIT = 0.001 HOME = -10.000 HOME_OFFSET = 0.5 HOME_SEARCH_VEL = 8.000000 HOME_LATCH_VEL = 0.50000 HOME_FINAL_VEL = 0.50000 HOME_USE_INDEX = NO HOME_SEQUENCE = 0 HOME_IGNORE_LIMITS = YES

I get the following errors:

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #209067 by Clive S
Replied by Clive S on topic Problem homing z axis

anli wrote: Hi Norbert,

with the config

Code:
MIN_LIMIT = -190 MAX_LIMIT = 0.001 HOME = -10.000 HOME_OFFSET = 0.5 HOME_SEARCH_VEL = 8.000000 HOME_LATCH_VEL = 0.50000 HOME_FINAL_VEL = 0.50000 HOME_USE_INDEX = NO HOME_SEQUENCE = 0 HOME_IGNORE_LIMITS = YES

I get the following errors:


you have not put the - sign in

HOME_LATCH_VEL = -0.5

HOME = -10.000
HOME_OFFSET = 0.5
HOME_SEARCH_VEL = 8.000000 put a - sign in front will reverse the direction
HOME_LATCH_VEL = 0.50000 changing the sign will reverse direction
HOME_FINAL_VEL = 0.50000 Same here

I would make the homing slow so you can see what is happening

It should go to the switch and then reverse (back off the switch)
Last edit: 5 years 5 months ago by Clive S.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #209071 by newbynobi
Replied by newbynobi on topic Problem homing z axis
Please read careful and enter exactly what we told you!

HOME = -10.000
HOME_OFFSET = 0.5
HOME_SEARCH_VEL = - 8.0
HOME_LATCH_VEL = 0.5

This are the setting in your case, SEARCH and Latch need different directions
You do not need a HOME_FINAL_VEL entry, if not used, max vel will be used.

Norbert
Last edit: 5 years 5 months ago by newbynobi.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago - 5 years 5 months ago #209077 by anli
Replied by anli on topic Problem homing z axis

Clive S wrote: you have not put the - sign in

You're right - I missed the - in front of HOME_LATCH_VEL :unsure: . With the config
Code:
MIN_LIMIT = -190 MAX_LIMIT = 0.001 HOME = -10.000 HOME_OFFSET = 0.5 HOME_SEARCH_VEL = 4.000000 HOME_LATCH_VEL = -0.50000 HOME_FINAL_VEL = 0.50000 HOME_USE_INDEX = NO HOME_SEQUENCE = 0 HOME_IGNORE_LIMITS = YES

I get the following error (10 changed to 14):



What happens is that it moves towards the switch (right direction) and then stops once it hits the switch. It does not move further. I also tried with HOME_FINAL_VEL being negative - although it states in the documentation linuxcnc.org/docs/devel/html/config/ini-...html#_home_final_vel that it has to be a positive number. But the error is the same.

With
Code:
MIN_LIMIT = -190 MAX_LIMIT = 0.001 HOME = -10.000 HOME_OFFSET = 0.5 HOME_SEARCH_VEL = -4.000000 HOME_LATCH_VEL = 0.50000 HOME_USE_INDEX = NO HOME_SEQUENCE = 0 HOME_IGNORE_LIMITS = YES
the axis moves towards the wrong direction.
Last edit: 5 years 5 months ago by anli.

Please Log in or Create an account to join the conversation.

Time to create page: 0.423 seconds
Powered by Kunena Forum