Axis homed before gmoccapy loaded.
12 Jan 2022 13:49 #231564
by badacorn
Axis homed before gmoccapy loaded. was created by badacorn
Hi everyone,
I have Mitsubishi servo based machine running on nyx driver; LinuxCNC 2.8. Position has battery backup so it doesn't need to be homed on every startup. In axis gui it just works but now i have touch screen and moved to gmoccapy. Gmoccapy shows all axis unhomed at startup.
In HAL pins "joint.0,1,2.homed = TRUE " on startup
As i look at code its seems to not receive "on_hal_status_all_homed" signal because axis are homed before gui starts.
I think i need to use forced_update function on startup to generate this signals somehow.
Any suggestion how to do it?
I have Mitsubishi servo based machine running on nyx driver; LinuxCNC 2.8. Position has battery backup so it doesn't need to be homed on every startup. In axis gui it just works but now i have touch screen and moved to gmoccapy. Gmoccapy shows all axis unhomed at startup.
In HAL pins "joint.0,1,2.homed = TRUE " on startup
As i look at code its seems to not receive "on_hal_status_all_homed" signal because axis are homed before gui starts.
I think i need to use forced_update function on startup to generate this signals somehow.
Any suggestion how to do it?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1440
12 Jan 2022 18:46 #231581
by Todd Zuercher
Replied by Todd Zuercher on topic Axis homed before gmoccapy loaded.
I believe that you need to set up your configuration as using absolute encoders. In the ini configuration chapter of the docs look near the end of the Homing section for HOME_ABSOLUTE_ENCODER
linuxcnc.org/docs/html/config/ini-config...t__lt_num_gt_section
linuxcnc.org/docs/html/config/ini-config...t__lt_num_gt_section
Please Log in or Create an account to join the conversation.
14 Jan 2022 10:57 #231741
by newbynobi
Replied by newbynobi on topic Axis homed before gmoccapy loaded.
Or you just set the NO_FORCE_HOMING=1 in your INI File.
Norbert
Norbert
Please Log in or Create an account to join the conversation.
Time to create page: 0.067 seconds