Homing isn't always required

More
4 years 4 months ago #245639 by cprhodin
My machine is using linear encoders for position feedback.  These encoders know whether or not they have been homed.  The home position of each access is only lost if the machine is unplugged.  How can I configure to skip homing when the axis is already homed?  Is this doable in the INI or HAL files?  Can it be done in the encoder device driver?

Chris

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

More
4 years 4 months ago #245737 by andypugh
See "HOME_ABSOLUTE_ENCODER" in the INI config docs:

linuxcnc.org/docs/stable/html/config/ini...t__lt_num_gt_section

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

More
4 years 4 months ago #245836 by cprhodin
My encoders aren't actually absolute.  I still need to home them when first powered.  What I want to avoid is homing every time I start linuxcnc.
 

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

More
4 years 4 months ago #245837 by andypugh
My lathe is very similar. (it isn't actually absolute but the resolvers are single-turn absolute, so with a normal shutdown position.txt is enough to make them absolute, most of the time).

You can have multiple INI files in a single config folder sharing HAL files. So I have two configs. One (default) assumes the abs encoders are right. The other homes conventionally to swiches when I notice that it's gone wrong.

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

More
4 years 4 months ago #245886 by cprhodin
Multiple INI files sounds like what I need to do. From the source code it looks like I need to set the joint homed flag. There isn't currently a way to do that.

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

More
4 years 4 months ago #245890 by andypugh
You mean that you want to set things as homed without pressing the home button?

On my lathe I just put up with pressing the button. Nothing moves, it just immediately marks all joints homed.

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

Time to create page: 0.061 seconds
Powered by Kunena Forum