Homing with gantry and absolute encoders

More
6 years 9 months ago #155324 by mlhilligsoe
I have a gantry setup (XYYZ) with absolute encoders, and need to figure out how to (hopefully avoid to) home the system.

I can manually square the system and store the encoder offset in the encoders themselves, in order to avoid any squaring through linuxcnc.

Right now LinuxCNC (master/devel + Axis) boots into joint mode, and I then have to manually home each joint. Is there a way to avoid this when using absolute encoders?
Also I tried using the HOME_ABSOLUTE_ENCODER configuration setting, but doesn't seem to do anything and I don't know why?

I will upload .hal and .ini files if requested.

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

More
6 years 9 months ago #155430 by andypugh
HOME_ABSOLUTE_ENCODER works for me, on my lathe.

So, I think we do need to see your INI file.

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

More
6 years 6 months ago #164060 by jirkam
Good day.
I could join in asking to check my .ini. I don't want to start a new thread.
I have ASDA-A2 with absolute encoders. If I manually move the X axis after switching off, I will load the original position instead of the original position + manual relocation when I turn it on. So I don't know where my mistake is.
Can you advise me?
Thank you very much.
jirka

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

More
6 years 6 months ago #164062 by dgarrett

... will load the original position instead ...


possibly due to:
Code:
[TRAJ] POSITION_FILE = position.txt

POSITION_FILE = position.txt - If set to a non-empty value,
the joint positions are stored between runs in this file.
This allows the machine to start with the same coordinates
it had on shutdown. This assumes there was no movement of
the machine while powered off. If unset, joint positions are
not stored and will begin at 0 each time LinuxCNC is
started. This can help on smaller machines without home
switches. ...


Ref: linuxcnc.org/docs/2.8/html/config/ini-config.html

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

More
6 years 6 months ago #164063 by jirkam
Thank you for your response.
If there is no "POSITION_FILE = position.txt", it is always loaded with "X0 Y0 Z0". As if there were no absolute encoders.

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

More
6 years 6 months ago #164310 by jirkam
Hi
works: net x-pos-fb <= lcec.0.x.enc-pos-enc
i had: net x-pos-fb <= lcec.0.x.enc-pos

Thanks
The following user(s) said Thank You: tommylight

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

Time to create page: 0.470 seconds
Powered by Kunena Forum