Help Needed: Cracking the Code on LinuxCNC Servo Homing Setup!

More
2 years 4 months ago #303076 by eduard
Here is how I did it.

forum.linuxcnc.org/ethercat/51830-marco-...rcat?start=20#302562

But still having issues to turn off internal homing, after homed.

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

More
2 years 4 months ago #303077 by eduard
This is how I solved for now: moved all axes 1mm out from home 0 point. 

This is not a good solution, just temporary, but working. Still not understand how soft limits work (in lcnc), and how to stop the machine in a distance from the switches. 


 

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

More
More
2 years 4 months ago #303081 by eduard
Nothing happens if

home_offset = -1

or

home_offset = 0

the machine still can go to the switch.

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

More
2 years 4 months ago #303092 by Aciera

Nothing happens if

home_offset = -1

or

home_offset = 0

the machine still can go to the switch.

Since 'home_offset' is the standard procedure for this and definitely works on my machines I would guess your custom homing comp does not support 'home_offset'.
Does the drive use the limit switch for homing?

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

More
2 years 4 months ago #303093 by eduard
Yes, the drives using limit switch to homing. The homing process is:

1. Fast limit sw search
2. direction change at low speed
3. stop at first z signal
4. lcnc homed

It is possible, the offset is not implemented. I'm using Marco Reps modifications with a custom comp file, which is based on standard homing.c

What is the desired motion if home offset is on? Let say 1mm.

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

Time to create page: 0.077 seconds
Powered by Kunena Forum