584,837 active members*
5,297 visitors online*
Register for free
Login
IndustryArena Forum > Machine Controllers Software and Solutions > Mach Software (ArtSoft software) > Accidentally deleted script code from set Z button...help?
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2015
    Posts
    140

    Accidentally deleted script code from set Z button...help?

    Hi gang,

    While I was configuring my auto tool zero button on the "Program Run" tab, I misread some instructions and deleted the code on the "set Z" button under the "Offsets" tab. This button is located on the top left corner of the page.

    Could anyone check what the "factory" code is for that button and paste it here? I tried resetting to standard settings but it would only go back 2 sessions and it gave me an error when I tried. This button doesn't work for me anymore, and while my auto z probe does work, I'd like to have the Set Z button working again.

    Any help would be VERY much appreciated. Thank you!

  2. #2
    Join Date
    Nov 2012
    Posts
    1267

    Re: Accidentally deleted script code from set Z button...help?

    Code "G92.2"

    'Call SetDRO(24,0)
    Call SetDRO(2, ABS(GetOEMDRO(1001)))
    Mach3 R3.043.062

  3. #3
    Join Date
    Dec 2015
    Posts
    140
    Quote Originally Posted by CitizenOfDreams View Post
    Mach3 R3.043.062
    Oh man, thank you thank you thank you! I will put this back into Mach3 tomorrow morning. Such a stupid mistake...I appreciate your help!

  4. #4
    Join Date
    Nov 2012
    Posts
    1267

    Re: Accidentally deleted script code from set Z button...help?

    You are welcome, good luck!

Similar Threads

  1. NEED HELP WITH BUTTON SCRIPT
    By cvetan in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 03-11-2016, 10:20 PM
  2. How to attach C# script to a screen button ??
    By Beefy in forum UCCNC Control Software
    Replies: 5
    Last Post: 08-31-2015, 02:37 AM
  3. MV-Jr and I accidentally deleted ALL programs. HELP PLEASE
    By BELT_FED in forum Mori Seiki Mills
    Replies: 6
    Last Post: 02-11-2015, 06:06 AM
  4. Edit button script
    By dukedunham in forum Mach Mill
    Replies: 4
    Last Post: 01-25-2015, 01:28 AM
  5. Easiest way to make button run VB script
    By adamchapman in forum Mach Software (ArtSoft software)
    Replies: 9
    Last Post: 08-16-2010, 08:38 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
  •