Are there no increase/decrease spindle speed buttons in Gmoccapy?
- Dougal9887
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 2
13 Oct 2024 09:55 - 13 Oct 2024 10:16 #311943
by Dougal9887
Replied by Dougal9887 on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
newbynobi post=89463 userid=3278Please find attached two files.
Just place both files in your config dir.
Than add the following lines to the [DISPLAY] section of your INI file.
Hi,EMBED_TAB_NAME = Spindle Button EMBED_TAB_LOCATION = box_custom_4 EMBED_TAB_COMMAND = gladevcp -x {XID} -H spindle_button.hal spindle_button.glade After starting your config you have spindle increase and decrease button. Norbert
I have resurrected this thread as it is just what I would like to have.
The respondent above provides the solution and clearly states what should go in the .ini file, but is not specific as to which configuration files should contain the lines provided in the two attached files.
He states:
"# just place
# - spindle_button.glade
# - spindle_button.hal
# in your config dir "
Where do these line go?
I presume the lines
"net increase spindle_button.btn_spindle_increase => halui.spindle.increase
net decrease spindle_button.btn_spindle_decrease => halui.spindle.decrease"
will be placed in the .hal file?
And lastly, where does the entire contents of the second file go?
I have attached a copy of the files referred to.
Many thanks for any help with this.
Dougal.
Attachments:
Last edit: 13 Oct 2024 10:16 by Dougal9887.
Please Log in or Create an account to join the conversation.
- Dougal9887
- Offline
- Junior Member
Less
More
- Posts: 22
- Thank you received: 2
16 Oct 2024 20:05 #312295
by Dougal9887
Replied by Dougal9887 on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
SOLVED.
Now seems a daft question above, but I only had access to the internet on a Windows PC and couldn't do much with the two files except open them on a new browser page.
Linuxcnc computer is now internet connected and the two files were easily saved to config. Only change to get the buttons working was
halui.spindle.0.increase halui.spindle.0.decrease
as taken from a previous post, for which I am thankful.
Now seems a daft question above, but I only had access to the internet on a Windows PC and couldn't do much with the two files except open them on a new browser page.
Linuxcnc computer is now internet connected and the two files were easily saved to config. Only change to get the buttons working was
halui.spindle.0.increase halui.spindle.0.decrease
as taken from a previous post, for which I am thankful.
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- swanie2000
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
16 Nov 2024 22:09 #314628
by swanie2000
Replied by swanie2000 on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hi All,
I have been reading this forum for weeks now, and have managed to solve most of my problems without needing to ask a stupid question, But the time has come. Be gentle, this is my first post. I will attach my files to this to help.
Current Setup:
Dedicated computer running Linux Mint Debian Edition 6 "FAYE"
LinuxCNC 3.4.1
Gmoccapy gui
3040 Chinese CNC controller.
XYZ motion, although it also had the forth Axis, I am not including that in my setup.
7i76E motion controller card
0-10V AVI
24000 RPM
800W water cooled Chinese spindle.
My files have been created with the PNCCONFIG wizard.
I have now reached a point where every time I run the wizard, it breaks something, and I have to roll back changes.
(Even when I change NOTHING, just click through the wizard, it still breaks my setup, and will not start.)
I have been carefully trying to edit my files manually, baby steps, and backups!
PROBLEM:
I am having trouble getting the spindle to correctly work in the Gmoccapy display.
I can turn on the spindle, and turn off the spindle
I have the spindle start at 5000 RPM, and this works.
The bar graph on the bottom shows "5000 0 24000"
It starts at 5000, as that is my (min) setting, and the "0" in the middle would display a percentage if I could only increase it.
I cannot adjust the speed of the spindle in the Gmoccapy GUI as there are no speed controls.
I want to add speed controls. and I have tried to understand what is written here in this post,
but I just cannot get my head around what I am doing wrong.
May I ask a member here to please look over my files? Perhaps it is something easy?
Thanks in advance!
Swanie
I have been reading this forum for weeks now, and have managed to solve most of my problems without needing to ask a stupid question, But the time has come. Be gentle, this is my first post. I will attach my files to this to help.
Current Setup:
Dedicated computer running Linux Mint Debian Edition 6 "FAYE"
LinuxCNC 3.4.1
Gmoccapy gui
3040 Chinese CNC controller.
XYZ motion, although it also had the forth Axis, I am not including that in my setup.
7i76E motion controller card
0-10V AVI
24000 RPM
800W water cooled Chinese spindle.
My files have been created with the PNCCONFIG wizard.
I have now reached a point where every time I run the wizard, it breaks something, and I have to roll back changes.
(Even when I change NOTHING, just click through the wizard, it still breaks my setup, and will not start.)
I have been carefully trying to edit my files manually, baby steps, and backups!
PROBLEM:
I am having trouble getting the spindle to correctly work in the Gmoccapy display.
I can turn on the spindle, and turn off the spindle
I have the spindle start at 5000 RPM, and this works.
The bar graph on the bottom shows "5000 0 24000"
It starts at 5000, as that is my (min) setting, and the "0" in the middle would display a percentage if I could only increase it.
I cannot adjust the speed of the spindle in the Gmoccapy GUI as there are no speed controls.
I want to add speed controls. and I have tried to understand what is written here in this post,
but I just cannot get my head around what I am doing wrong.
May I ask a member here to please look over my files? Perhaps it is something easy?
Thanks in advance!
Swanie
Please Log in or Create an account to join the conversation.
- swanie2000
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
21 Nov 2024 01:11 #314955
by swanie2000
I did just like you suggested.
I saved the two files to my config directory.
I copy and paste the 3 lines of code above into the [DISPLAY] section (very bottom of that section).
After starting up the system, I do not see where the buttons are at?
Was there something else I needed top do?
Swanie
Replied by swanie2000 on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hi,Please find attached two files.
Just place both files in your config dir.
Than add the following lines to the [DISPLAY] section of your INI file.
hEMBED_TAB_NAME = Spindle Button EMBED_TAB_LOCATION = box_custom_4 EMBED_TAB_COMMAND = gladevcp -x {XID} -H spindle_button.hal spindle_button.glade After starting your config you have spindle increase and decrease button. Norbert
I did just like you suggested.
I saved the two files to my config directory.
I copy and paste the 3 lines of code above into the [DISPLAY] section (very bottom of that section).
After starting up the system, I do not see where the buttons are at?
Was there something else I needed top do?
Swanie
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds