Noob looking for help - after homing Z axis is still running into limit switches

More
1 year 4 months ago #330421 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.  

Attachment not found

 

Attachment not found

Below is relevant part of the INI file.  Full INI and HAL files are attached.  What is my problem ?  
Code:
[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

Please Log in to join the conversation.

More
1 year 4 months ago #330423 by tommylight
- 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.

Please Log in to join the conversation.

More
1 year 4 months ago #330424 by Geshka
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? 

Please Log in to join the conversation.

More
1 year 4 months ago #330428 by tommylight
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.

Please Log in to join the conversation.

Time to create page: 0.326 seconds
Powered by Kunena Forum