Home in place (no switch) and machine cordinate offset.

More
29 May 2022 12:02 #244116 by Derek240
Hi
Working on a knee mill conversion from UCCNC to LinuxCNC. The knee is the Z axis. When I home, the knee is all the way down at a visual mark and the machine coordinate is set to 14.00. I’m trying to get the same thing to happen with Linuxcnc but can’t seem to make it happen. These are the settings I’m using:


MIN_LIMIT = 0.00
MAX_LIMIT = 14.00
HOME = 14.00
HOME_OFFSET = 14.00
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = -0
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

I have tried a lot of combinations of home and home offset. Swapping 0 and 14. -14 etc etc and no matter what the Z machine coordinate is always 0.00 when I click the home button.

Any advice?
Thanks.
Derek

 

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

More
29 May 2022 12:34 #244118 by Clive S

Hi
Working on a knee mill conversion from UCCNC to LinuxCNC. The knee is the Z axis. When I home, the knee is all the way down at a visual mark and the machine coordinate is set to 14.00. I’m trying to get the same thing to happen with Linuxcnc but can’t seem to make it happen. These are the settings I’m using:


MIN_LIMIT = 0.00
MAX_LIMIT = 14.00
HOME = 14.00
HOME_OFFSET = 14.00
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = -0
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0

I have tried a lot of combinations of home and home offset. Swapping 0 and 14. -14 etc etc and no matter what the Z machine coordinate is always 0.00 when I click the home button.

Any advice?
Thanks.
Derek

Are you saying that the you don't get any movement ?

if so:-
HOME_SEARCH_VEL = 0 this has to be a value
HOME_LATCH_VEL = -0 this has to be a value the -ve sign means it reverses

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

More
29 May 2022 13:28 #244125 by Derek240
Hi Clive

No it's a home in place setup with no switches or movement.

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

More
31 May 2022 22:50 #244316 by andypugh
MAX_LIMIT = 0
MIN_LIMIT= -14
HOME = 0
HOME_SEARCH_VELOCITY = 0

Should do what you want.

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

More
31 May 2022 23:46 #244324 by Derek240
Hi Andy

I'm pretty sure that is what I'm doing now and yes it has the correct envelope but the machine coordinate with the knee down is 0.00 and I need it to be 14.00. I have a lot of code already with G53 G00 Z14.0 in it and I'd rather not have to edit all of it.

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

More
31 May 2022 23:55 - 31 May 2022 23:56 #244326 by andypugh
If you ever use Fusion360 that will put a G53 G0 Z0 at the start and end of each operation, that assumes that 0 is top.

If you want 14 at the top:

MAX_LIMIT = 14
MIN_LIMIT= 0
HOME = 14
HOME_SEARCH_VELOCITY = 0

<edit> Which is what you have. I don't think HOME_OFFSET matters with immediate homing but you could try setting that to zero. 
 
Last edit: 31 May 2022 23:56 by andypugh.

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

More
01 Jun 2022 00:52 #244331 by Derek240
Hi Andy

I'm thinking you are correct about the offset not working with immediate homing. No matter what combo I tried I could not get the machine coordinate to be anything other than 0.00.

If I add a home switch and set the home offset to 14 I wonder if it would set the machine coordinate to 14.00. I don't need a switch but that is a ton easier than fixing a lot of code.

Thanks

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

More
02 Jun 2022 09:40 #244431 by andypugh
I am pretty sure that immediate homing _should_ set straight to HOME_POSITION.
I am away from any linuxcnc machine or a ew days, though, so can't test.

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

Time to create page: 0.094 seconds
Powered by Kunena Forum