Gmoccapy - A new screen for linuxcnc
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
I just loaded the 2.6.pre on my YAM lathe yesterday. as a rule this interface is most of what I was looking for.
I have a HAAS mill and the things I am sugesting make it easy and quick to use.
1. Spindle.
In manual mode for the spindle.
loose the drag bar it does not work well and is clunky with a touch screen. add a +10% and a -10% along with the 100% instead.
make the area that you dispaly the selected speed in live.
Bring up a box to enter spindle speed and then press CW or CCW to start your spindle at the speed that you want.
hit area or button. call up keypad box. enter spindle speed. select spindle direction and away you go.
2. Joging.
again loose the drag bar. give me -10% +10% and 100% button.
Add a lock button inside the X Y Z. hit lock and either X+ or X- and the axis will move until you hit the limits.
Remove the continous button. Make the remaining buttons larger. key the 4 remaining buttons to:
.0001 per click on MPG or single button click to .100 IPM feed in lock
.0010 per click on MPG or single button click to 1.00 IPM feed in lock
.0100 per click on MPG or single button click to 10.0 IPM feed in lock
.1000 per click on MPG or single button click to 100. IPM feed in lock
This allows you to face turn etc. in a semi manual mode. I use this on my mill it is quick and dirty. you can use the +10% and -10% to increase and lower the selected feed.
Give outputs for all so that MPG wheel can act acourdingly.
also any press on a button X+ or Y- will change the focus for the MPG wheel. give me an output for this.
Your + and - 10% buttons will have an effect on the feed rate in auto and lock mode only.
On my mill there are 9 buttons that are active during lock feed and auto.
feed -10% +10% 100% MPG
spindle -10% +10% 100% MPG
Rapid -10% +10% 100% Changes speed for all axis
The rapid is nice with new code.
Hope this makes sense
Jim
Please Log in or Create an account to join the conversation.
it's me who is working on the code
I have thought about that already, but had other thinks to do, so I pushed that away for a while. You are right, the sliders are not very good to handle the speeds. You can connect MPG to that sliders, just look at gmoccapy_jog_wheels.ini, as an example with virtual jog wheels.add a +10% and a -10%
NEVER! I will do that, it is very dangerous!Add a lock button inside the X Y Z. hit lock and either X+ or X- and the axis will move until you hit the limits.
Remove the continous button. Make the remaining buttons larger. key the 4 remaining buttons to:
.0001 per click on MPG or single button click to .100 IPM feed in lock
.0010 per click on MPG or single button click to 1.00 IPM feed in lock
.0100 per click on MPG or single button click to 10.0 IPM feed in lock
.1000 per click on MPG or single button click to 100. IPM feed in lock
Just edit your INI File, than you get the results you wish, except removing the continuous button, it will appear automatically.
Give outputs for all so that MPG wheel can act accordingly.
also any press on a button X+ or Y- will change the focus for the MPG wheel. give me an output for this.
The inputs for the MPG Wheels are already included, see above and the WIKI for details.
The focus change can be done with hal connections.
Let me think a little while about the +10 % and -10 % button, may be there is a way to include them.
Norbert
Please Log in or Create an account to join the conversation.
On my HAAS Mill and the Lock button is great. Like I said it allows for facing etc without having to program.
It is how they teach you to do manual facing, Keyways, etc.
You have to hit the lock and then the direction of movement. IE + -X to stop hit the lock or any key x or y or z or on my mill open the door. if you hit direction and then lock it will not lock the feed on.
I use it every day.
home mill, use the lock and x- to move table to center. All of my one off facing I use the lock.
Just thought I would plead my case one more time. I do understand your point as alot of people do not have enclosed machines.
Although the the older TM series mills and TL series have the same functionality without a full enclusure with doors and door locks. (although I did defeat on of the door locks I had to leave one in to start the machine.)
Also these machine have hard buttons that are more positive then a touch screen.
Sent a partial pictures of the control also. Shows the axis section and the Overide section.
Thanks for looking at my ideas. I know a project like this is a lot of hard work.
Jim
Please Log in or Create an account to join the conversation.
I will look at the 10% button, but i will not include a feed lock option!
You still have the option to do that in two ways:
- just use an mdi command, you can put several ones as macro button on the screen, that option is explained in detail in the wiki.
- just add a button as side panel to lock the feed. The button can switch a flipflop to lock the feed, and will be reset by any other option. All done in hal.
I personaly use the macros for your purpose. Using one macro I face down, turn to a given diameter and length an make a champfer. Macros do ask you for parameters if you like.
Norbert
Please Log in or Create an account to join the conversation.
Do you support the NGC GUI macros?
if so how do set it up.
Jim
Please Log in or Create an account to join the conversation.
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 have looked in hal meter and these outputs do not exist.
Jim
Please Log in or Create an account to join the conversation.
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
Please Log in or Create an account to join the conversation.
Merry Christmas!!
Norbert
Please Log in or Create an account to join the conversation.
having a problem with the data entry box for ngcgui.
In start as full screen mode if you click outside the data enty box it is placed behind the screen.
The only way to get it back is to use alt+tab or change to start maximized.
Have a great and Merry Christmas.........
Jim
Please Log in or Create an account to join the conversation.