587,331 active members*
3,388 visitors online*
Register for free
Login
Results 1 to 20 of 33

Hybrid View

  1. #1
    Join Date
    Mar 2003
    Posts
    35538

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    What I can't find is a way to default that to say 50% or 100% on each startup instead of 10%. The setting must exist somewhere but is evading me.
    No setting but I can show you how to do it.

    Open your M99999.txt macro and ad this to it:

    // Jog Percent
    double fieldval = 100;
    exec.Writekey("JogSpeed", "913", fieldval.ToString());


    Then open your M99998.txt macro and add this:

    readfield = exec.Readkey("JogSpeed", "913", "100");
    AS3jog.Setfieldtext(readfield, 913); // Set Jog Percent
    AS3jog.Validatefield(913);





    I'm working on the new version of my screen right now. Hope to have a usable version ion a few weeks.
    Attached Thumbnails Attached Thumbnails UCCNC_2021.jpg  
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

  2. #2
    Join Date
    Apr 2015
    Posts
    72

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    Quote Originally Posted by ger21 View Post
    No setting but I can show you how to do it.




    I'm working on the new version of my screen right now. Hope to have a usable version ion a few weeks.
    Can you find a place for xy zero with laser? Maybe instead of G59?

  3. #3
    Join Date
    May 2008
    Posts
    79

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    Quote Originally Posted by ger21 View Post
    No setting but I can show you how to do it.

    Open your M99999.txt macro and ad this to it:

    // Jog Percent
    double fieldval = 100;
    exec.Writekey("JogSpeed", "913", fieldval.ToString());


    Then open your M99998.txt macro and add this:

    readfield = exec.Readkey("JogSpeed", "913", "100");
    AS3jog.Setfieldtext(readfield, 913); // Set Jog Percent
    AS3jog.Validatefield(913);





    I'm working on the new version of my screen right now. Hope to have a usable version ion a few weeks.
    Gerry,

    I'm away from the shop for a few days so can't try the code on the machine. I did try it on my demo version on the laptop but got an error message for the M9998.txt. I'm just waiting to see if it works on the UCCNC copy with the new control.

    The screen looks great. Are you going to end up with any of the "set current position to 0" buttons that are in blue on the left side of the co-ordinates section on the default screen? I'd find those useful but certainly not required.

    Thanks,
    BH Davis

  4. #4
    Join Date
    May 2008
    Posts
    79

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    Gerry,

    I'm afraid it did not work.

    My two .txt files are attached. Maybe you can tell me where I screwed up? I did just paste your code into the two files.

    I have other issues I'd like to discuss with you as well. For example right now I'm working on getting my touch down probe working but something is askew.

    Would you be interested in my hiring you to assist with email/phone tech support on the rest of my setup? I've got the machine running, homing and have the servos pretty decently tuned. I'm just fumbling my way through the UCCNC settings as this is all new to me. If you do have time to assist we can continue here or direct via email.

    Thanks,
    BH





    Quote Originally Posted by bhdavis1cnc View Post
    Gerry,

    I'm away from the shop for a few days so can't try the code on the machine. I did try it on my demo version on the laptop but got an error message for the M9998.txt. I'm just waiting to see if it works on the UCCNC copy with the new control.

    The screen looks great. Are you going to end up with any of the "set current position to 0" buttons that are in blue on the left side of the co-ordinates section on the default screen? I'd find those useful but certainly not required.

    Thanks,
    BH Davis

  5. #5
    Join Date
    Mar 2003
    Posts
    35538

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    My mistake.
    M99998 should be this:

    string readfield = exec.Readkey("JogSpeed", "913", "100");
    AS3jog.Setfieldtext(readfield, 913); // Set Jog Percent
    AS3jog.Validatefield(913);
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

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

  6. #6
    Join Date
    May 2008
    Posts
    79

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    I'm working on the Z-axis auto touchdown probe. I've got it to the point where when I hit the probe button in UCCNC the Z-axis goes down but it doesn't stop when I press the button on the touch down plate. The plate is push button style as vs. (I think) one that grounds out.

    Three photos attached with the settings I'm using.

    Does this make any sense to you?

    Thanks,
    BH

  7. #7
    Join Date
    May 2008
    Posts
    79

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    Did the trick. Thanks.
    BH


    Quote Originally Posted by ger21 View Post
    My mistake.
    M99998 should be this:

    string readfield = exec.Readkey("JogSpeed", "913", "100");
    AS3jog.Setfieldtext(readfield, 913); // Set Jog Percent
    AS3jog.Validatefield(913);

  8. #8
    Join Date
    May 2008
    Posts
    79

    Re: Basic setup for UCCNC with CNC4PC C76 300ETH

    Quote Originally Posted by ger21 View Post
    No setting but I can show you how to do it.

    Open your M99999.txt macro and ad this to it:

    // Jog Percent
    double fieldval = 100;
    exec.Writekey("JogSpeed", "913", fieldval.ToString());


    Then open your M99998.txt macro and add this:

    readfield = exec.Readkey("JogSpeed", "913", "100");
    AS3jog.Setfieldtext(readfield, 913); // Set Jog Percent
    AS3jog.Validatefield(913);





    I'm working on the new version of my screen right now. Hope to have a usable version ion a few weeks.

    Gerry,

    While we are up here in VT I have time to relax and begin to figure out UCCNC. I've just scratched the surface of screen editing but have come up with the following. Thought I'd share as I suspect you may have also manipulated the jog arrows.

    Bernie

Similar Threads

  1. Replies: 5
    Last Post: 01-05-2021, 10:43 AM
  2. Replies: 7
    Last Post: 08-29-2019, 06:33 PM
  3. CNC4PC MPG pendent + C22 setup
    By happytriger2000 in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 05-02-2009, 03:46 PM
  4. Xylotex and CNC4PC setup with mach3
    By bruno123 in forum Xylotex
    Replies: 3
    Last Post: 05-03-2007, 06:08 AM

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
  •