- Configuring LinuxCNC
- Basic Configuration
- Noob looking for help - after homing Z axis is still running into limit switches
Noob looking for help - after homing Z axis is still running into limit switches
- Geshka
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
17 Jun 2025 23:07 #330421
by Geshka
Noob looking for help - after homing Z axis is still running into limit switches was created by Geshka
Hello gang.
This was probably munched to death already, still I am having problems with setting Z soft limits properly. The issue is that Z axis is not stopping on sift limits and still running into limit switches after successful homing. I am using shared home/limit switch on the top of Z and also on the bottom. Below is relevant part of the INI file. Full INI and HAL files are attached. What is my problem ?
This was probably munched to death already, still I am having problems with setting Z soft limits properly. The issue is that Z axis is not stopping on sift limits and still running into limit switches after successful homing. I am using shared home/limit switch on the top of Z and also on the bottom. Below is relevant part of the INI file. Full INI and HAL files are attached. What is my problem ?
[AXIS_Z]
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 50.0
MIN_LIMIT = -60.0
MAX_LIMIT = 5.0
[JOINT_2]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -60.0
MAX_LIMIT = 5.0
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 50.0
STEPGEN_MAXACCEL = 62.5
SCALE = 320.0
FERROR = 1
MIN_FERROR = .25
HOME_OFFSET = 2.000000
HOME_SEARCH_VEL = 1.500000
HOME_LATCH_VEL = 0.312500
HOME_IGNORE_LIMITS = YES
HOME_SEQUENCE = 0
Attachments:
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20368
- Thank you received: 6922
17 Jun 2025 23:17 #330423
by tommylight
Replied by tommylight on topic Noob looking for help - after homing Z axis is still running into limit switches
- make sure the direction is correct, page down or Z- should jog down
- make sure the homing direction is correct, home_search_velocity will change direction by adding - in front of value
- make sure the scaling is correct
- make sure the actual limits switches are outside the soft limits by at least 1-3mm.
- make sure the homing direction is correct, home_search_velocity will change direction by adding - in front of value
- make sure the scaling is correct
- make sure the actual limits switches are outside the soft limits by at least 1-3mm.
Please Log in or Create an account to join the conversation.
- Geshka
- Offline
- New Member
-
Less
More
- Posts: 13
- Thank you received: 0
17 Jun 2025 23:30 #330424
by Geshka
Replied by Geshka on topic Noob looking for help - after homing Z axis is still running into limit switches
Thanks Tommy.
- make sure the direction is correct, page down or Z- should jog down
Verified - OK
- make sure the homing direction is correct, home_search_velocity will change direction by adding - in front of value
Verified - Homing is correct
- make sure the scaling is correct
Verified - OK
- make sure the actual limits switches are outside the soft limits by at least 1-3mm.
That is probably my confusion - how to do that?
- make sure the direction is correct, page down or Z- should jog down
Verified - OK
- make sure the homing direction is correct, home_search_velocity will change direction by adding - in front of value
Verified - Homing is correct
- make sure the scaling is correct
Verified - OK
- make sure the actual limits switches are outside the soft limits by at least 1-3mm.
That is probably my confusion - how to do that?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20368
- Thank you received: 6922
18 Jun 2025 00:38 #330428
by tommylight
Replied by tommylight on topic Noob looking for help - after homing Z axis is still running into limit switches
Easy, home the machine, jog the Z axis down till you hit the switch, check the position in DRO, add that value minus (well plus in this case) a mm or two in the ini file, close and run LinuxCNC again to check if it hits the switch again.
The following user(s) said Thank You: Geshka
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Basic Configuration
- Noob looking for help - after homing Z axis is still running into limit switches
Time to create page: 0.063 seconds