Lubrication system
- aabtech
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 116
- Thank you received: 16
17 Nov 2026 07:38 #350771
by aabtech
Lubrication system was created by aabtech
Hi, I am trying to setup lubrication oil system that will lubricant my liner guide when I click a button on my QtplasmaC I have a lubrication oil pump and a 24v pneumatic control and a 24v relay can someone help me with the code in QtplasmaC and get a button on the screen.
Please Log in or Create an account to join the conversation.
- rubes
- Offline
- Senior Member
-
Less
More
- Posts: 46
- Thank you received: 2
17 Nov 2026 12:00 #350778
by rubes
Replied by rubes on topic Lubrication system
I have used google AI for this kind of stuff several times lately. it spits out the HAL code you just paste into your file (backup first, of course). or upload your current file and ask it to add it. its taken several rounds sometimes but much quicker than waiting for a forum reply. ad as much info as you can on the first prompt to get a better answer. I typed this into a browser search bar and got a good start on your answer. you can continue answering its questions to nail it down even better. or add the voltage of your pump, what control or breakout board you have in that original prompt. give it a try.
"i am using linuxcnc with qtplasmac. i want to create an onscreen button that will inject lubrication on my linear rails. i have a pump, 24 volt solenoid valve and 24 volt relay"
at the bottom of its answer there is a text box to ask folow ups or answer his questions.
"i am using linuxcnc with qtplasmac. i want to create an onscreen button that will inject lubrication on my linear rails. i have a pump, 24 volt solenoid valve and 24 volt relay"
at the bottom of its answer there is a text box to ask folow ups or answer his questions.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 22043
- Thank you received: 7506
17 Nov 2026 12:18 #350780
by tommylight
Replied by tommylight on topic Lubrication system
QtPlasmaC has several free buttons on the main screen, to use those you have to edit the ini file amd type the name of that bitton and what it should do or link to in hal, then in hal add or net the function to the output.
You can also use "oneshot" in hal to set the time the output remains open, so you do not have to think about switching it off.
You can also use "oneshot" in hal to set the time the output remains open, so you do not have to think about switching it off.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
- aabtech
-
Topic Author
- Offline
- Premium Member
-
Less
More
- Posts: 116
- Thank you received: 16
18 Nov 2026 03:43 #350797
by aabtech
Replied by aabtech on topic Lubrication system
Can you show me how it don I hal
Please Log in or Create an account to join the conversation.
- rodw
-
- Offline
- Platinum Member
-
Less
More
- Posts: 12178
- Thank you received: 4155
18 Nov 2026 04:43 #350801
by rodw
Replied by rodw on topic Lubrication system
Read the QTplasmac docs Its covered in there.Its just an in setting to define the button and what it does.
Please Log in or Create an account to join the conversation.
Moderators: snowgoer540
Time to create page: 0.284 seconds