586,111 active members*
3,522 visitors online*
Register for free
Login
Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2014
    Posts
    16

    UCCNC macro help

    Hi all,

    I played with the UCCNC demo version and manuals. I know how to add a new button to the main screen (lets say ID: 750) from screen editor. Lets say I created a new macro/M-code: M950 (for example) in the profile folder. How can I assign that button to the macro/mcode: M950?

    Can someone please help me?

  2. #2
    Join Date
    Apr 2013
    Posts
    1899

    Re: UCCNC macro help

    Quote Originally Posted by cnc_rosh View Post
    Hi all,
    I played with the UCCNC demo version and manuals. I know how to add a new button to the main screen (lets say ID: 750) from screen editor. Lets say I created a new macro/M-code: M950 (for example) in the profile folder. How can I assign that button to the macro/mcode: M950?
    Can someone please help me?
    The identifier called "buttonnumber" is the number of the macro, so in your example that should get the macro number 950. The letter M is omitted. What do you mean by ID: 750? Is it the picture number or what?

  3. #3
    Join Date
    Aug 2014
    Posts
    16

    Re: UCCNC macro help

    OK. thanks. I created a button with button number 10050 and then created a text file M10050.txt under same profile folder with a sample code - MessageBox.Show("Test button");

    but when I press the button it wont popup the message box.

  4. #4
    Join Date
    Oct 2005
    Posts
    1145

    Re: UCCNC macro help

    User buttons and macro numbers have a range of 20900 - 20999.

    (;-) TP

  5. #5
    Join Date
    Aug 2014
    Posts
    16

    Re: UCCNC macro help

    Thanks. Got it. Works great now. One more question: How do I place a button on RUN screen. I always get CONFIGURATION screen active when I press Screen editor window?

  6. #6
    Join Date
    Mar 2003
    Posts
    35538

    Re: UCCNC macro help

    With the Screen Editor open, hold the Shift Key and click the Run tab,
    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)

  7. #7
    Join Date
    Aug 2014
    Posts
    16

    Re: UCCNC macro help

    Great. Thanks.

Similar Threads

  1. UCCNC Macro sharing
    By BanduraMaker in forum UCCNC Control Software
    Replies: 64
    Last Post: 02-04-2023, 12:17 AM
  2. UCCNC Camera/Laser Edge finder offset macro
    By Jon.N.CNC in forum UCCNC Control Software
    Replies: 14
    Last Post: 03-10-2019, 07:42 AM
  3. UCCNC Controlling HY VFD via Macro
    By Dan911 in forum UCCNC Control Software
    Replies: 10
    Last Post: 11-02-2016, 01:18 AM
  4. Uccnc - macro dialog box, how?
    By robertspark in forum UCCNC Control Software
    Replies: 4
    Last Post: 06-27-2016, 04:17 AM
  5. UCcnc macro scripting suggestions
    By vmax549 in forum UCCNC Control Software
    Replies: 5
    Last Post: 08-07-2015, 06:49 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
  •