Home in place (no switch) and machine cordinate offset.
29 May 2022 12:02 #244116
by Derek240
Home in place (no switch) and machine cordinate offset. was created 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
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.
29 May 2022 12:34 #244118
by Clive S
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
Replied by Clive S on topic Home in place (no switch) and machine cordinate offset.
Are you saying that the you don't get any movement ?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
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.
29 May 2022 13:28 #244125
by Derek240
Replied by Derek240 on topic Home in place (no switch) and machine cordinate offset.
Hi Clive
No it's a home in place setup with no switches or movement.
No it's a home in place setup with no switches or movement.
Please Log in or Create an account to join the conversation.
31 May 2022 22:50 #244316
by andypugh
Replied by andypugh on topic Home in place (no switch) and machine cordinate offset.
MAX_LIMIT = 0
MIN_LIMIT= -14
HOME = 0
HOME_SEARCH_VELOCITY = 0
Should do what you want.
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.
31 May 2022 23:46 #244324
by Derek240
Replied by Derek240 on topic Home in place (no switch) and machine cordinate offset.
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.
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.
31 May 2022 23:55 - 31 May 2022 23:56 #244326
by andypugh
Replied by andypugh on topic Home in place (no switch) and machine cordinate offset.
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.
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.
01 Jun 2022 00:52 #244331
by Derek240
Replied by Derek240 on topic Home in place (no switch) and machine cordinate offset.
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
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.
02 Jun 2022 09:40 #244431
by andypugh
Replied by andypugh on topic Home in place (no switch) and machine cordinate offset.
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.
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