585,560 active members*
3,160 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 22
  1. #1
    Join Date
    Oct 2005
    Posts
    1145

    Buttons for control panel

    IF you were building a new control panel what button functions would you want on it ?? Cycle_start, M3,stop,etc,etc. I have been working with a Pi Pico to do simple hotkeys for PP. ANYTHING that has a hotkey inPP can be brought out to a buttons press.

    The Pi Pico can do 26 single ended switches or a key matrix of 100s with a single Pi Pico.

    Progam it then plu it into a usb port and away it goes. It is self booting so you never have to fool with it on power up.

    (;-) TP

  2. #2
    Join Date
    Dec 2003
    Posts
    24220

    Re: Buttons for control panel

    Quote Originally Posted by vmax549 View Post
    Cycle_start, M3,stop,etc,etc..

    (;-) TP
    As well as the general stop, there also should be an E-Stop,
    This is required to be hardwired, however, IOW not just into the controller to advise software. But result in disconnecting all motive power.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Aug 2005
    Posts
    1091
    Quote Originally Posted by vmax549 View Post
    IF you were building a new control panel what button functions would you want on it ?? Cycle_start, M3,stop,etc,etc. I have been working with a Pi Pico to do simple hotkeys for PP. ANYTHING that has a hotkey inPP can be brought out to a buttons press.

    The Pi Pico can do 26 single ended switches or a key matrix of 100s with a single Pi Pico.

    Progam it then plu it into a usb port and away it goes. It is self booting so you never have to fool with it on power up.

    (;-) TP
    Hi Terry
    That sounds great. I must admit I’m really enjoying PathPilot.
    Cheers
    Peter
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  4. #4
    Join Date
    Dec 2013
    Posts
    5717

    Re: Buttons for control panel

    A physical E stop and servo enable button, physical controls for VFD control if needed. Everything else on the computer screen that can be operated by a mouse click.
    Jim Dawson
    Sandy, Oregon, USA

  5. #5
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    Yes the idea is to be as mouseless as possible. Touchscreens do not work that well, touchpads do not work that well, tractball nope, jogstick mouse nope, keyboard mouse nope. Nothing beats a good old button pad.
    coolant on ? press the button
    m3 ? press the button.
    probe center of a pocket ?? press s button
    probe xy corner set origin ?? press a button
    edit gcode ? press a button
    Cycle each stage of the ATC ?? press a button
    set tool length offset? press a button
    change Work offset ?press a button
    etc
    etc

    The Pi Pico I am using cost a wopping $4.00 or $2.00 when on sale (;-) plus a usb micro cable and a breakout board for the pico

    (;-) TP

  6. #6
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    I have figured out a way to bring almost every function out to an external switch/ keypad. AND then there are special things that YOU can create sub as macros and subs that can be trigger via switch/keypad.

    Things are looking up (;-) TP

  7. #7
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    IF you wanted to save some time and $$ and want lots of functions you can go with something like this HID programable keypad. This one has 48 keys and comes with software to program the keypad. On amazon it is about $150.

    PathPiot does have SOME built in hotkeys AND you can crack PathPilot to add more. What I did was add 48 hotkeys that pointed to 48 SUBROUTINES. That way IF I wanted something new I would only have to modify a suroutine. And subs can run Gcode OR Python scripts.

    Tormach COULD make it easy to add this feature but will they ???

    This keypad uses standard key caps so yo can add colored caps and insert desriptions in the key caps.

    The neat thing is you can build a mouseless system. IF you want to go to the main page press the main button, same with the file page or the tool table page. Yo can alos have action keys such as Cycle_start, Feed_hold, M3/M4 coolant etc,etc

    (;-) TP

  8. #8
    Join Date
    Nov 2007
    Posts
    2151

    Re: Buttons for control panel

    What about the right mouse button click in the code window ro set start line and the pop up menu with the run from here commands! I have found no way to do this without a mouse. Have you?
    imho this is one of the most important features in path pilot. All my programs often require access to this depending on how you run them!

  9. #9
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    IF you can click on it and make it work then you can press a button and make it work. One uses a mouse click and the other a button press to activate the same function code. In this case you would press a button to activate the Gcode window then use the jog keys to move up or down throught the code then press a button to run the RFH function. I already have a key to do just that. It is part of a RSJC (run stop jog continue) function. RSJC is a very important function when working with machining castings.

    (;-) TP

  10. #10
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    Here are some of the buttons I am working on . Most are completed some need more work. Some of those are machine specific dealing with the ATC.

    CTRL---- A Main Page
    B File Page focus on file window
    C EDIT Gcode
    D Offsets page tool table focus
    E Offsets page work offset table focus
    F Status Page
    G Probe Page X/Y outside corner origin SW
    H Probe Page Circ Center Origin
    I Probe Page ETS setup

    J Cycle Start
    K Single Block
    L Block Delete
    M Feed Hold
    N Coolant
    O STOP program
    P M01/Break

    Q Zero X
    R Zero Y
    S Zero Z
    T Zero A

    U M3
    V M4
    W M5

    X GOTO G30
    Y FRO +10%
    Z FRO - 10%


    ALT------ A SSO +10%

    B SSO - 10%
    C MaxVel + 10%
    D MaxVel - 10%

    E T# __ focus
    F S#__ focus

    G Index B
    H Home B
    I Home C

    J Move to G37
    K Move set tool height

    L Door open/close
    M H Slide in/out
    N Joint up/down
    O Gripper open/close
    P Arm in/out
    Q Vslide up/down
    R Drawbar up/down
    S Baxis Slide up/down
    T Tslot +1
    U Tslot -1
    V RSJC

  11. #11
    Join Date
    Aug 2005
    Posts
    1091

    Re: Buttons for control panel

    Hi Terry,
    That’s great. Is there a tutorial on how to tie the key stroke to the function?
    I can see the use in using a set of hard coded buttons for page selection and the common functions such as start, pause, stop, reset, etc.

    Cheers,
    Peter


    Sent from my iPhone using Tapatalk Pro
    -------------------------------------------------
    Homann Designs - http://www.homanndesigns.com/store

  12. #12
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    HI Peter, Sorry but no info from Tormach BUT (;-) IF you can email me I can help you out.

    [email protected]

    (;-) TP

  13. #13
    Join Date
    Nov 2007
    Posts
    2151

    Re: Buttons for control panel

    Quote Originally Posted by vmax549 View Post
    IF you can click on it and make it work then you can press a button and make it work. One uses a mouse click and the other a button press to activate the same function code. In this case you would press a button to activate the Gcode window then use the jog keys to move up or down throught the code then press a button to run the RFH function. I already have a key to do just that. It is part of a RSJC (run stop jog continue) function. RSJC is a very important function when working with machining castings.

    (;-) TP

    Not clear what version your using and if you are able to see what im talking about.
    What I mentioned above requires a right mouse button click on a selected line of code.
    A run from here pop up menu will appear showing a LIST of different options for restarting code.
    Each option works differently and allows users a very precise way to restart code at any point in a program.
    I have found no way to do this without aright click of mouse in code window.
    Anyway I keep current with pp updates and anything not done by tormach would require a patch to make Un supported devices work.
    By choice I am limited pretty much to what they support. Because I use it on a mill, router and lathe.

  14. #14
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    HIYA Mountain dew. Yes I understood what you meant about the right click . The RSJC function makes that selection of the RFH function by script not by a mouse click. The script check to see what line you stopped on the does the RFH from the script as well.

    I am hoping that Tormach will help us out by makng available a series of hotkeys ALT-a-z and Ctrl-a-z that point to a subroutine such as sub1 - sub52. Then all we have to do is edit the subroutine to do whatever we want as a function. SubRoutines can be either NGC(gcode) or Python scripts. That way all a user has to do to get a special function is edit the subroutine and during an update subroutines are NOT deleted.

    Then seeing as you have a hotkey to run the sub you can use a programable keypad to access the hotkey with a single button press. ALSO there are several different manfactors of programable keypads and all of them would work. As well as someone could create a membrane keypad that is waterproof that can be used with a PI Pico to create a unique addition to Path Pilot.

    IF you look on CNC4PC's website they DO have a nice 48 key membrane keypad that is used with a POKEY controller that COULD be adapted to a Pi Pico and run with PathPilot.. A little pricey BUT a really nice unit.

    I do know that running PathPilot by push button is more efficent than having to wrangle the mouse all day.

    Just a thought, (;-) TP

  15. #15
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    BUT that was not your question was it (;-) HOW to do a right mouse click by button ??? Have you tried MOUSE KEYS ?? I know it can be done from there. With mouse keys you move the cursor with ley presses and left click with a keypress and right click with a keypress.

    You will have to TUNE the MOUSE KEY to make it usefull and smooth.

    Do a serach on Linux mousekeys.

    (;-) TP

  16. #16
    Join Date
    Apr 2012
    Posts
    161

    Re: Buttons for control panel

    Can you share your Pi Pico program?
    "You can't teach stuff in a school that you would learn in real life unless the real life people are in charge of the school." - Gene Sherman

  17. #17
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    Sure thing Here you go. It is in a ZIP folder called PiPico.zip. I also included the libary you will need. You WILL have to assign your own hotkey codes that you want to use. The sample just has a generic hotkey code set for all pins.

    PathPilot DOES have some hotkeys already working. I did ask Tormach to help us out by creating a few more hotkeys for switching pages and setting focus on the windows. Pages such as Main , File, offsets_tooltable offsets worktable. That way everyones has access to the hotkeys AND it does not go away on an update.

    BUT !!!!! I have not had much luck lately getting help from Tormach . I guess I made the Black List (;-)



    (;-)TP
    Attached Files Attached Files

  18. #18
    Join Date
    Apr 2012
    Posts
    161

    Re: Buttons for control panel

    Quote Originally Posted by vmax549 View Post
    Sure thing Here you go. It is in a ZIP folder called PiPico.zip. I also included the libary you will need. You WILL have to assign your own hotkey codes that you want to use. The sample just has a generic hotkey code set for all pins.
    Thanks. I'll check it out
    "You can't teach stuff in a school that you would learn in real life unless the real life people are in charge of the school." - Gene Sherman

  19. #19
    Join Date
    Oct 2005
    Posts
    1145

    Re: Buttons for control panel

    OK late back to the game but YES you can with the pipico emulate a left or right mouse click. It can emulate most HID devices. We are also testing the Ipac2/or ipac4 devices.

    (;-) TP

  20. #20

    Re: Buttons for control panel

    [QUOTE=vmax549;2552624]OK late back to the game but YES you can with the pipico emulate a left or right mouse click. It can emulate most HID devices. We are also testing the Ipac2/or ipac4 devices.

    Hello, I'm looking at doing the same thing .. to make a custom controller using a arduino pro micro to make a usb keyboard. The only issue I have is tormach has not put some short cuts into pathpilot that I want to add into my keyboard.. like spindle speed + - and feed + - and max vol + - .. i want to use knobs for those three. has anyone had luck editing pathpilot so they can add in extra short cuts for those features or others?

Page 1 of 2 12

Similar Threads

  1. Replies: 5
    Last Post: 06-09-2019, 06:02 PM
  2. Centurion 6 Control, Panel buttons not working.
    By Spider0804 in forum Milltronics
    Replies: 0
    Last Post: 10-09-2018, 11:55 AM
  3. 4 buttons not working on control panel
    By sco in forum Laser Engraving / Cutting Machine General Topics
    Replies: 3
    Last Post: 02-11-2014, 08:59 AM
  4. buttons on osp 7000l panel
    By trois in forum Okuma
    Replies: 1
    Last Post: 01-12-2012, 12:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •