Homing of A axis from a button
- kenwoodhf
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
01 Apr 2023 02:15 #268004
by kenwoodhf
Homing of A axis from a button was created by kenwoodhf
I have built a gantry router machine and I am using a tangential knife on the A axis. After turning the power off and on a few times the A axis starts loosing it's reference. Is there command I can put in the g code file that will rehome the A axis before the program starts? Or can I make a custom button that will rehome? Just need some guidance if it can be done.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1942
- Thank you received: 780
01 Apr 2023 19:03 - 01 Apr 2023 19:05 #268028
by spumco
Replied by spumco on topic Homing of A axis from a button
In the INI file under [JOINT_n] for your A-axis, there is a setting for forced homing:
Try setting this to "1" and see if that helps. It should force you to re-home the A-xis if you power off the machine or e-stop (either physically or through software in LCNC)
VOLATILE_HOME = 0
Try setting this to "1" and see if that helps. It should force you to re-home the A-xis if you power off the machine or e-stop (either physically or through software in LCNC)
Last edit: 01 Apr 2023 19:05 by spumco.
Please Log in or Create an account to join the conversation.
- kenwoodhf
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
04 Apr 2023 00:49 #268215
by kenwoodhf
Replied by kenwoodhf on topic Homing of A axis from a button
Thanks for the information
I works as you described and I am happy with it.
To home the A axis I have to go to Machine/Homing/Home joint 4. I was hoping to make it a bit easier.
I down loaded Glade and after a few youtube videos I tried to make a A Homing button but I can not see or find a link to my button. Maybe it is there in some other form.
Thanks for your help
I works as you described and I am happy with it.
To home the A axis I have to go to Machine/Homing/Home joint 4. I was hoping to make it a bit easier.
I down loaded Glade and after a few youtube videos I tried to make a A Homing button but I can not see or find a link to my button. Maybe it is there in some other form.
Thanks for your help
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
Less
More
- Posts: 1942
- Thank you received: 780
04 Apr 2023 01:23 #268218
by spumco
Replied by spumco on topic Homing of A axis from a button
I don't know glade, maybe you can repost (or moderators can move this) specifically asking how to create a button in Glade with that function.
Please Log in or Create an account to join the conversation.
- kenwoodhf
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
04 Apr 2023 02:06 #268227
by kenwoodhf
Replied by kenwoodhf on topic Homing of A axis from a button
I just downloaded Glade into my LinuxCNC Debian 10 machine. I watched a bunch of you tube videos and now trying to produce a button that is linked to Home A axis. I can not find a link for this button. It may be there but I can't see it or maybe there is some other way. I know I can home the axis by going to the drop down menu Machine/Homing/Home joint 4 (A axis) but I would like to make it a bit easier.
Hope someone can help.
Thanks
Hope someone can help.
Thanks
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
Less
More
- Posts: 687
- Thank you received: 207
04 Apr 2023 05:35 #268233
by HansU
Replied by HansU on topic Homing of A axis from a button
Attachments:
Please Log in or Create an account to join the conversation.
- HansU
-
- Offline
- Moderator
-
Less
More
- Posts: 687
- Thank you received: 207
04 Apr 2023 05:39 #268234
by HansU
Replied by HansU on topic Homing of A axis from a button
But if you still would like to do that with a Glade button, you have to use the function in your button callback function. See linuxcnc.org/docs/2.9/html/config/python...mand_code_attributes for reference and also for an example.
home(int)
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 20152
- Thank you received: 6856
04 Apr 2023 13:22 #268262
by tommylight
Replied by tommylight on topic Homing of A axis from a button
1 topic deleted, other 2 merged.
Please Log in or Create an account to join the conversation.
- kenwoodhf
- Offline
- Junior Member
-
Less
More
- Posts: 27
- Thank you received: 0
06 Apr 2023 00:59 #268370
by kenwoodhf
Replied by kenwoodhf on topic Homing of A axis from a button
Thanks for the advice. On my axis main page pushing the Home All does home all my axiss (XYYZA) . I installed VOLATILE_HOME = ) in the A axis in the ini file to force me to rehome the A axis after I cycle power. It is nice to know that making a Glade button is possible but this is something I really need some help on.Any guidance would be welcome.
Thanks again
Jan
Thanks again
Jan
Please Log in or Create an account to join the conversation.
Moderators: HansU
Time to create page: 0.168 seconds