Gmoccapy - A new screen for linuxcnc
I cant believe that I spent a whole day on this nonsense. Well now I know how to put subs on the v buttons as well.
I copied and pasted the path details from the sim. In that the macro path was " SUBROUTINE_PATH = /macros" - Note the slash.
Ok so now, is it possible to rename the macro buttons to reflect a function rather than the file name?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
glad that I could help. The name of the macro buttons are taken from the INI File in the section [MACROS] Each MACRO line is a button and the text you enter there is the label, so this line must be named like you wish. But do not forget to change also the sub and File names!
Norbert
Please Log in or Create an account to join the conversation.
Is it possable to move the program close key somewhere else.
more than one I have shut my system down when I did not want to.
Or can you make it a selectable hardware pin.
Jim
Please Log in or Create an account to join the conversation.
Hallo Jim,
gmoccapy does support NGC GUI Macros. There is a sample config in /configs/sim/gmoccpy/ngcgui.
It looks like in your implementation there is no output from Gscreen for:
gscreen.jog-enable-x.out
gscreen.jog-enable-y.out
gscreen.jog-enable-z.out
gscreen.jog-enable-?.out
If you press a +Y or -Y the focus should change to (gscreen.jog-enable-y.out) until diferent axis jog buton has been pressed. The focus shoud then change to that axis.
I can not see a reason for that pin. If you jog with the keyboard pressing the corresponding keys a axis will jog.
Do you want to use that pin to combine your hardware MPG Wheel with the keyboard and gmoccapy?
If you use a Jogwheel, you should have on that handle also a button to select the axis and only if holding down that button the JogWheel should work (Dead man security). What happen, if you enter a MDI command, you will sure press the keys you mentioned, so this option should not work in MDI or AUTO Mode. Now you push X. and move the machine using your JogWheel. A Telefon call and your cat throw down the jogwheel pendant, if it moves the Wheel the machine will move, correct.
I am a little bit crazy related to security, that why this is not included.
Norbert
These are (for example) used to use one jog wheel to jog multiple axis and or overrides.
adding another safety switch is easily done using a HAL AND component.
While personally I would prefer a physical switch for MPG selection, supplying the pins allow the user to do as they please.
and it acts as all other screens.
Chris M
Please Log in or Create an account to join the conversation.
I have been working some more with your interface.
When you are running a program and you pause it and then stop the spindle.
if you resume the program without starting the spindle. I get motion from the axis. All bad...
Also if you start the spindle by hand and then restart the program it does not turn at the scorrect speed until
the program calls for the next spindle speed. IE it defaults to minimum speed.
Jim
Please Log in or Create an account to join the conversation.
When using an external program start button. I can start a program from manual mode.
It grays out the manual mode screen and I do not have a program stop button.
The way out is estop or power off the controller. If using an external button on program start you should
take the interface to auto or run screen.
Jim
Please Log in or Create an account to join the conversation.
When using an external program start button. when the program finishes.
I have to go into auto mode in gmoccapy and hit the stop key to get control back. for joging etc.
Jim
Please Log in or Create an account to join the conversation.
On the exit program button how about making it inactive unless you have powerd down the system.
Jim
Please Log in or Create an account to join the conversation.
Norbert,
I have been working some more with your interface.
When you are running a program and you pause it and then stop the spindle.
if you resume the program without starting the spindle. I get motion from the axis. All bad...
Also if you start the spindle by hand and then restart the program it does not turn at the scorrect speed until
the program calls for the next spindle speed. IE it defaults to minimum speed.
Jim
Jim this is a difficult point , as speed is determined from within gcode , it would mean in reality that the gcode is read in the background and all modal settings stored
before you would start resuming , as pointed out in your other post , this is one of those awkward areas of machine controllers
although manualy setting the correct speed you wish to start from should be possible from the spindle menu .
are you saying that setting the spindle speed first from the gui and then resuming results in a drop to the default value ?
Please Log in or Create an account to join the conversation.
These are (for example) used to use one jog wheel to jog multiple axis and or overrides.
adding another safety switch is easily done using a HAL AND component.
While personally I would prefer a physical switch for MPG selection, supplying the pins allow the user to do as they please.
and it acts as all other screens.
Chris M
Hallo Chris,
that can be done very easy with a hal file.
please find attached my jogwheel.hal, what does not do anythink special, but only with that file you will not be able to jog.
Take a look at handrad.hal, only line 119, 120 and 121 are relevant for jogging, the rest sets many other options of my pendant.
You have to press and hold down the X-KEY to jog x.
Norbert
Please Log in or Create an account to join the conversation.