Are there no increase/decrease spindle speed buttons in Gmoccapy?
- nigel-tufnel
- Offline
- Junior Member
Less
More
- Posts: 35
- Thank you received: 0
30 Dec 2016 19:31 #84927
by nigel-tufnel
So I am making the switch from Axis to Gmoccapy. In Axis, there are +/- buttons for changing the spindle speed. I am not seeing a way in Gmoccapy to start at a low speed and increment up. If I set my 'starting RPM' to say 300rpm and the 'spindle bar max' to 5000rpm, when I click the spindle start button, it goes to 300rpm at 100% (slider bar maxed out). Would seem weird to have to change the max spindle speed override to almost a factor of 20 to get to 5000rpm. Am I missing something?
Also the horizontal bar chart showing the spindle speed, below the spindle off/fwd/rev buttons, doesn't show any bar no matter what the speed. I'm assuming I need to do something with pins gmoccapy.spindle_feedback_bar and gmoccapy.spindle_at_speed_led. What code do I use and where do I need to put it? I'm a newb so the more explicit details, the better.
Spindle is standard VFD 0-10v. (not actually hooked up at this moment)
ini/hal files are carry over from Axis PncConfig setup.
Any help greatly appreciated! Thanks!
Also the horizontal bar chart showing the spindle speed, below the spindle off/fwd/rev buttons, doesn't show any bar no matter what the speed. I'm assuming I need to do something with pins gmoccapy.spindle_feedback_bar and gmoccapy.spindle_at_speed_led. What code do I use and where do I need to put it? I'm a newb so the more explicit details, the better.
Spindle is standard VFD 0-10v. (not actually hooked up at this moment)
ini/hal files are carry over from Axis PncConfig setup.
Any help greatly appreciated! Thanks!
Please Log in or Create an account to join the conversation.
31 Dec 2016 08:14 #84948
by newbynobi
Replied by newbynobi on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hallo,
you are right, there are no button to increase or decrease the spindle speed.
The Slider is only an override, not a spindle speed adjustment.
You should use Gcode or MDI commands to set the spindle speed, such as S3000 M3
If you need the button, you may use the corresponding halui pin and connect them to hal button in an custom panel.
The at speed led and the feedback bar needs to be connected in your hal file.
Does your VFD support feedback ?
Otherwise you could connect them to the motion commands directly.
Norbert
you are right, there are no button to increase or decrease the spindle speed.
The Slider is only an override, not a spindle speed adjustment.
You should use Gcode or MDI commands to set the spindle speed, such as S3000 M3
If you need the button, you may use the corresponding halui pin and connect them to hal button in an custom panel.
The at speed led and the feedback bar needs to be connected in your hal file.
Does your VFD support feedback ?
Otherwise you could connect them to the motion commands directly.
Norbert
Please Log in or Create an account to join the conversation.
09 Mar 2017 00:57 #89227
by turbo
Could you tell me how to do this? I think not getting a spindle at speed signal is causing my code to hang, but that is probably not a gmoccapy issue.
Replied by turbo on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hallo,
The at speed led and the feedback bar needs to be connected in your hal file.
Does your VFD support feedback ?
Otherwise you could connect them to the motion commands directly.
Norbert
Could you tell me how to do this? I think not getting a spindle at speed signal is causing my code to hang, but that is probably not a gmoccapy issue.
Please Log in or Create an account to join the conversation.
11 Mar 2017 02:40 #89395
by turbo
Replied by turbo on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
I got it working.
Please Log in or Create an account to join the conversation.
11 Mar 2017 13:50 #89416
by ikkuh
Replied by ikkuh on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
would be nice if you shared what you did to get it working!
Please Log in or Create an account to join the conversation.
11 Mar 2017 14:56 #89420
by turbo
Replied by turbo on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
I mean i just got the gmoccapy spindle meter and led working.
In the ini hal section I added
# Single file that is executed after the GUI has started.
POSTGUI_HALFILE = custom_postgui.hal
in custom_postgui.hal
net spindle-fb-rpm-abs-filtered => gmoccapy.spindle_feedback_bar
net spindle-at-speed => gmoccapy.spindle_at_speed_led
In the ini hal section I added
# Single file that is executed after the GUI has started.
POSTGUI_HALFILE = custom_postgui.hal
in custom_postgui.hal
net spindle-fb-rpm-abs-filtered => gmoccapy.spindle_feedback_bar
net spindle-at-speed => gmoccapy.spindle_at_speed_led
Please Log in or Create an account to join the conversation.
12 Mar 2017 13:15 - 12 Mar 2017 13:16 #89463
by newbynobi
Replied by newbynobi on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
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.
After starting your config you have spindle increase and decrease button.
Norbert
Just place both files in your config dir.
Than add the following lines to the [DISPLAY] section of your INI file.
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
Last edit: 12 Mar 2017 13:16 by newbynobi.
Please Log in or Create an account to join the conversation.
16 Mar 2020 17:43 - 17 Mar 2020 01:04 #160454
by alkabal
Replied by alkabal on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hi
two year later, but i like to do the same with master branch and i does not see any button (i have other working panel inside ntb-preview
Br
two year later, but i like to do the same with master branch and i does not see any button (i have other working panel inside ntb-preview
[DISPLAY]
DISPLAY = gmoccapy
EMBED_TAB_NAME = Macro
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -u ./python/lathehandler.py -x {XID} ./lathemacro-fr-numpad.ui
#EMBED_TAB_COMMAND = gladevcp -u ./python/lathehandler.py -x {XID} ./lathemacro-fr-+-.ui
EMBED_TAB_NAME = Machine-status
EMBED_TAB_LOCATION = ntb_preview
EMBED_TAB_COMMAND = gladevcp -x {XID} -H gladevcp.hal gladevcp.ui
EMBED_TAB_NAME = Spindle Button
EMBED_TAB_LOCATION = box_custom_4
EMBED_TAB_COMMAND = gladevcp -x {XID} -H spindle_button.hal spindle_button.glade
Br
Last edit: 17 Mar 2020 01:04 by alkabal.
Please Log in or Create an account to join the conversation.
16 Mar 2020 23:34 #160487
by cmorley
Replied by cmorley on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
run linuxcnc from the terminal and see if there are error messages.
Please Log in or Create an account to join the conversation.
17 Mar 2020 01:03 #160496
by alkabal
Replied by alkabal on topic Are there no increase/decrease spindle speed buttons in Gmoccapy?
Hi
You are right this is because i use 2.9 with halui.spindle.0.increase halui.spindle.0.decrease
I don't see this before because i launch Gmoccappy at full screen, sorry for basic error.
Now the problem is this signal are already linked to my pendant lool.
You are right this is because i use 2.9 with halui.spindle.0.increase halui.spindle.0.decrease
I don't see this before because i launch Gmoccappy at full screen, sorry for basic error.
Now the problem is this signal are already linked to my pendant lool.
Please Log in or Create an account to join the conversation.
Time to create page: 0.089 seconds