Home settings for mill Z axis
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
01 Nov 2018 00:29 #119740
by vmihalca
Home settings for mill Z axis was created by vmihalca
Hi guys,
I am configuring my Syil X7 mill with Mesa 7i76e.
I have configured limits for X and Y but for Z I can't managed to do what I want.
My Z travel is 400mm, I have two limit switches, but I wanna use the positive one as home & limit switch.
I have set
Positive travel distance (Machine zero Origin to the end of + travel) = 0.0
Negative travel distance (Machine zero Origin to the end of - travel) = -400.0
Home position location (offset from machine zero origin) = 200.0
Home switch location (offset from machine zero origin) = 0.0
Home search direction: Towards positive limit
Home latch direction: Same
What happens is that the Z axis goes up, it hits the switch, stops for a bit then instead of going down, it keeps going up until it faults the driver.
Any idea what should be the settings here?
I'm missing something out with these values!
Thanks,
Vasi
I am configuring my Syil X7 mill with Mesa 7i76e.
I have configured limits for X and Y but for Z I can't managed to do what I want.
My Z travel is 400mm, I have two limit switches, but I wanna use the positive one as home & limit switch.
I have set
Positive travel distance (Machine zero Origin to the end of + travel) = 0.0
Negative travel distance (Machine zero Origin to the end of - travel) = -400.0
Home position location (offset from machine zero origin) = 200.0
Home switch location (offset from machine zero origin) = 0.0
Home search direction: Towards positive limit
Home latch direction: Same
What happens is that the Z axis goes up, it hits the switch, stops for a bit then instead of going down, it keeps going up until it faults the driver.
Any idea what should be the settings here?
I'm missing something out with these values!
Thanks,
Vasi
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 478
01 Nov 2018 08:54 #119752
by Clive S
You have " Home position location (offset from machine zero origin) = 200.0 " this is going past the switch going up
MIN_LIMIT = -400.0
MAX_LIMIT = 0.001
HOME_OFFSET = -200 (or anything -Ve)
HOME_SEARCH_VEL = +ve value
HOME_LATCH_VEL = -ve value
I personally don't think you need a limit at the bottom of Z
Replied by Clive S on topic Home settings for mill Z axis
Hi guys,
My Z travel is 400mm, I have two limit switches, but I wanna use the positive one as home & limit switch.
I have set
Positive travel distance (Machine zero Origin to the end of + travel) = 0.0
Negative travel distance (Machine zero Origin to the end of - travel) = -400.0
Home position location (offset from machine zero origin) = 200.0
Home switch location (offset from machine zero origin) = 0.0
Home search direction: Towards positive limit
Home latch direction: Same
What happens is that the Z axis goes up, it hits the switch, stops for a bit then instead of going down, it keeps going up until it faults the driver.
Vasi
You have " Home position location (offset from machine zero origin) = 200.0 " this is going past the switch going up
MIN_LIMIT = -400.0
MAX_LIMIT = 0.001
HOME_OFFSET = -200 (or anything -Ve)
HOME_SEARCH_VEL = +ve value
HOME_LATCH_VEL = -ve value
I personally don't think you need a limit at the bottom of Z
Please Log in or Create an account to join the conversation.
- vmihalca
- Offline
- Platinum Member
Less
More
- Posts: 344
- Thank you received: 21
01 Nov 2018 23:06 #119794
by vmihalca
Replied by vmihalca on topic Home settings for mill Z axis
Hello,
Thanks, it worked.
Any idea how can I set some soft limits? If I jog and I endup hitting a limit switch, linuxcnc shows an error on that joing so I need to comment the input for that limit switch in the hal file and only after that I can jog back in the oposite direction.
Or is there a way to allow jogging only in the oposite direction of a switch once it was tripped?
Thanks!
Thanks, it worked.
Any idea how can I set some soft limits? If I jog and I endup hitting a limit switch, linuxcnc shows an error on that joing so I need to comment the input for that limit switch in the hal file and only after that I can jog back in the oposite direction.
Or is there a way to allow jogging only in the oposite direction of a switch once it was tripped?
Thanks!
Please Log in or Create an account to join the conversation.
- JohnnyCNC
- Offline
- Platinum Member
Less
More
- Posts: 543
- Thank you received: 100
01 Nov 2018 23:26 #119797
by JohnnyCNC
Replied by JohnnyCNC on topic Home settings for mill Z axis
This is how my X axis limits are set. IIRC these fall inside of the limit switch distance. I have about 19.8 inches of X travel.
I use inches
MIN_LIMIT = -0.001
MAX_LIMIT = 19.7
From the manual:
MIN_LIMIT = -1000 - The minimum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MIN_LIMIT is in force. For a rotary axis with unlimited rotation having no MIN_LIMIT for that axis in the [AXIS_n] section then the value -1e99 is used.
MAX_LIMIT = 1000 - The maximum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MAX_LIMIT is in force. For a rotary axis with unlimited rotation having no MAX_LIMIT for that axis in the [AXIS_n] section then the value 1e99 is used.
I use inches
MIN_LIMIT = -0.001
MAX_LIMIT = 19.7
From the manual:
MIN_LIMIT = -1000 - The minimum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MIN_LIMIT is in force. For a rotary axis with unlimited rotation having no MIN_LIMIT for that axis in the [AXIS_n] section then the value -1e99 is used.
MAX_LIMIT = 1000 - The maximum limit for axis motion, in machine units. When this limit is reached, the controller aborts axis motion. The axis must be homed before MAX_LIMIT is in force. For a rotary axis with unlimited rotation having no MAX_LIMIT for that axis in the [AXIS_n] section then the value 1e99 is used.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4865
03 Nov 2018 15:35 #119865
by andypugh
The MAX_LIMIT and MIN_LIMIT should do that.
You probably need to set the HOME_OFFSET to a small positive number to keep jogs off the switch.
A previous post has HOME_POSITION as -200. I think that is a bad idea with a Z axis.
Replied by andypugh on topic Home settings for mill Z axis
Hello,
Thanks, it worked.
Any idea how can I set some soft limits?
The MAX_LIMIT and MIN_LIMIT should do that.
You probably need to set the HOME_OFFSET to a small positive number to keep jogs off the switch.
A previous post has HOME_POSITION as -200. I think that is a bad idea with a Z axis.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2244
- Thank you received: 478
03 Nov 2018 18:13 #119873
by Clive S
I agree, but from his first post he seemed to want the home offset half way down the Z axis
Replied by Clive S on topic Home settings for mill Z axis
A previous post has HOME_POSITION as -200. I think that is a bad idea with a Z axis.
I agree, but from his first post he seemed to want the home offset half way down the Z axis
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds