![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
Running a syil x4 with mach3 I set up the auto tool function to work with a touch off plate. But I want the auto-tool button to send the tool up and then over to the plate location. It is located at -9.798,-.577, -7.502 in machine coordinates. I tired using g53 but got an error that machine coordinates are not allowed in the script. So now I have to remember to find the m6 call out each time and enter g53 x-9.798 y-.577 before the m6 line. It's not really a pain to do since we run short programs, I just don't want to ruin anything as I am not the only one who uses the machine. How can I go about doing this? Thanks, |
|
#2
| ||||
| ||||
| You can use Code "G0 G53 X-9.798 Y-0.577 Z-7.502" in your script.
__________________ 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) |
|
#5
| ||||
| ||||
| I don't know, as I've never seen the error you got, or what you were trying to do. But what I posted will do what you want.
__________________ 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) |
| Sponsored Links |
|
#6
| |||
| |||
|
A dwell could be used, G4PX where X = num of seconds |
|
#7
| ||||
| ||||
| While IsMoving Wend To make sure the move is completed before further code is run. If you want to pause, use: Sleep(1000) for 1 second. (# is milliseconds) It's good practice that anytime DRO's need to be updated, that a minimum of 1/10 second delay ( Sleep(100) )be used to allow the DRO's to update before moving on. Failure to do so may cause problems.
__________________ 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) |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Testing program for Macro (Fanuc Macro B) | NickDP | Fanuc | 2 | 03-27-2009 03:15 PM |
| Newbie- VB6,VB.net,VB script,What one??? | hydrospin01 | Visual Basic | 11 | 05-24-2008 08:09 PM |
| Convert Fanuc Macro to Fadal Macro | bfoster59 | Fadal | 1 | 11-08-2007 11:41 PM |
| Lookahead Script | Rikard L | General CNC (Mill and Lathe) Control Software (NC) | 0 | 09-10-2007 02:06 PM |
| Macro/script-can this be done? | Splint | Rhino 3D | 3 | 02-12-2006 09:50 PM |