Hello Guest it is March 28, 2024, 05:39:28 AM

Author Topic: hole macro help please :)  (Read 28170 times)

0 Members and 1 Guest are viewing this topic.

Offline Chris.Botha

*
  •  488 488
  • wine me.. dine me.. tram my mill for me...
    • View Profile
    • Digital-Jeweller
Re: hole macro help please :)
« Reply #50 on: May 14, 2009, 06:47:09 PM »
err lost me..

show me the code please?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: hole macro help please :)
« Reply #51 on: May 14, 2009, 06:51:30 PM »
Loadfile("c:/Mach3/Subroutines/femhole.nc")
Sleep(1000)
RunFile()

Offline Chris.Botha

*
  •  488 488
  • wine me.. dine me.. tram my mill for me...
    • View Profile
    • Digital-Jeweller
Re: hole macro help please :)
« Reply #52 on: May 14, 2009, 06:54:53 PM »
ahh ok thanks.. tested.. works.


i can start working on graphics tonight!!

thanks a million for all the help guys :)

 :) :) :) :) :) :)
« Last Edit: May 14, 2009, 06:56:36 PM by Chris.Botha »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: hole macro help please :)
« Reply #53 on: May 14, 2009, 06:56:36 PM »
The shorter the code the faster it is likely to load so the shorter you could have the sleep but having a 1 or 2 second sleep would probably be ok for you and would almost guarantee it would start with any lenghth of code.
Hood

vmax549

*
Re: hole macro help please :)
« Reply #54 on: May 14, 2009, 08:43:57 PM »
I thought Brian had the sleep issue fixed so we did not need it anymore???????

Sleep() worked as a crutch BUT it really needs to be fixed so we don't need it. Really HARD to "GUESS" what value will work . I gues Rich's use of semaphores may be required after all(;-) just to be on the safe side.

(;-) TP

Offline Chris.Botha

*
  •  488 488
  • wine me.. dine me.. tram my mill for me...
    • View Profile
    • Digital-Jeweller
Re: hole macro help please :)
« Reply #55 on: May 15, 2009, 04:27:46 AM »
woooooooohoooooooo

we have a winner!


i set up 8 place holders with buttons, code and images so co users can simply create any code they want and save into GCODE folder in format MACROFILE1.NC, MACROFILE2.NC, etc etc   and add userbitmaps named MACROIMAGE1.JPG, MACROIMAGE2.JPG, etc in the bitmaps folder. all tested and running well!

« Last Edit: May 16, 2009, 04:29:14 AM by Graham Waterworth »

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: hole macro help please :)
« Reply #56 on: May 16, 2009, 08:49:43 AM »
Looks like it will work great :)
Hood

vmax549

*
Re: hole macro help please :)
« Reply #57 on: May 16, 2009, 09:22:55 AM »
Good Job Chris, It looks NICE.


(;-) TP

Offline Chris.Botha

*
  •  488 488
  • wine me.. dine me.. tram my mill for me...
    • View Profile
    • Digital-Jeweller
Re: hole macro help please :)
« Reply #58 on: May 16, 2009, 05:44:11 PM »
thanks guys.. i am onto my next project but it requires me to first cut some fixtures for myself.. post as soon as its ready for code :)