Results 1 to 6 of 6

Thread: Set jog to 10% with button/key

  1. #1
    Registered
    Join Date
    Jul 2007
    Location
    US
    Posts
    159
    Downloads
    0
    Uploads
    0

    Set jog to 10% with button/key

    I have a custom screen I created using bits and pieces from the stock 1024 screen and other screens. I am using screen4.exe

    During tool setup, I am always setting the jog speed dpwn to 5% or 10% by hand in the dro box or by using the jog - and jog + buttons.

    Then I have to set it back to 100% so I can fast jog.
    I keep jog set a 100% most the time

    I would like to have two custom jog speed buttons. 10% and 100%

    I searched but did not see any way to set up a button that can change the jog speed to a certain value.

    Any way to do this?
    If not, this seems like a great feature to add to Mach3 if possible.


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,298
    Downloads
    0
    Uploads
    0
    I think the jog % DRO # is 3, so have the button call a VB script with:

    SetOEMDRO (3,10)


    Which should set OEM DRO #3 to a value of 10.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,298
    Downloads
    0
    Uploads
    0
    You might have to use:
    Call SetOEMDRO (3,10)
    Not sure.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  4. #4
    Registered
    Join Date
    Jul 2007
    Location
    US
    Posts
    159
    Downloads
    0
    Uploads
    0
    Thanks Gerry

    First I have to figure out how to call a vb script
    Never done that before

    Going down to my CNC machine in my shop to have a go at it.

    I'll report back


  • #5
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22,298
    Downloads
    0
    Uploads
    0
    In Screen 4, set the button for VB Script.
    In Mach3, go to Operator > Edit Button Script and click your button. When the editor opens, put your script in. Click File > Save in the editor, and then close it. If it asks you to save hiddenscript.m1s, choose yes.
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #6
    Registered
    Join Date
    Jul 2007
    Location
    US
    Posts
    159
    Downloads
    0
    Uploads
    0
    I figured it out using the other screen editor
    I have both screen4 and the other one on the Mach3 site (can't remember the name)

    Anywho, the other editor lets you see the vb code and add vb code when you click on a button.
    BTW it was SetOEMDRO (3,10)

    And so I created 4 new buttons
    Jog 10, Jog 25, Jog 50 and Jog 100
    I then added hot keys for the 4 buttons. Numbers 1,2,3 and 4
    Then I went to my Logitech wireless controller and mapped out the 4 new buttons on the wireless controller.

    Bam!!!
    Now I can choose my jog speeds without using the computer keyboard or the on screen buttons
    Thanks for your help.

    Just got a wireless Logitech F710 game pad for Mach3 use and it is really cool!


  • Similar Threads

    1. Button function
      By ChattaMan in forum Okuma
      Replies: 2
      Last Post: 11-14-2009, 06:55 AM
    2. Need Help!- Need button
      By ozzie34231 in forum Mach Wizards, Macros, & Addons
      Replies: 1
      Last Post: 04-12-2009, 10:35 AM
    3. the green button
      By msn_jrd in forum Tormach Personal CNC Mill
      Replies: 1
      Last Post: 07-20-2008, 11:02 AM
    4. New Machine Build- EZ button?
      By ericmattessich in forum LinuxCNC (formerly EMC2)
      Replies: 15
      Last Post: 04-29-2008, 01:59 PM
    5. so that is what that button does
      By johnm in forum Test Forum
      Replies: 0
      Last Post: 03-26-2003, 04:43 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.