Controlling LinuxCNC and the gui while switching a gear
30 Jan 2023 11:21 #263226
by HiSH
Controlling LinuxCNC and the gui while switching a gear was created by HiSH
I want to switch the gears on a Deckel FP3A CNC, when a g-code command like "S10000" or the user
by the gui wants to change the speed of the spindle.
My problem is not changing the gear self, but i didn't know how to do the following points:
- Suspending the actual g-codo command until the switching of the gear was done.
- Disabling the controls of the gui for the same time.
Is there any way to do this?
by the gui wants to change the speed of the spindle.
My problem is not changing the gear self, but i didn't know how to do the following points:
- Suspending the actual g-codo command until the switching of the gear was done.
- Disabling the controls of the gui for the same time.
Is there any way to do this?
Please Log in or Create an account to join the conversation.
30 Jan 2023 12:13 #263228
by rodw
Replied by rodw on topic Controlling LinuxCNC and the gui while switching a gear
M66 wait for input will wait for a digital input pin to go true.
Ideally you would trigger the toolchange and when its completed set a digital i/o pin that is being waited on to be true.
Ideally you would trigger the toolchange and when its completed set a digital i/o pin that is being waited on to be true.
The following user(s) said Thank You: HiSH
Please Log in or Create an account to join the conversation.
30 Jan 2023 12:44 #263230
by andypugh
Replied by andypugh on topic Controlling LinuxCNC and the gui while switching a gear
The system will automatically pause feed moves (not rapids) if spindle.0.at-speed is not set true.
This is specifically intended for this sort of thing.
Disabling the GUI is harder, and I don't understand why you want to do that?
This is specifically intended for this sort of thing.
Disabling the GUI is harder, and I don't understand why you want to do that?
Please Log in or Create an account to join the conversation.
30 Jan 2023 13:11 #263232
by HiSH
Replied by HiSH on topic Controlling LinuxCNC and the gui while switching a gear
Thank you for your answer and you are right, with using "spindle.0.at-speed" disabling the gui is not necessary.
Please Log in or Create an account to join the conversation.
Time to create page: 0.087 seconds