![]() | |
| 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
| |||
| |||
Hi Gerry I still have lots of questions about Mach. I'm learning everything new including g code. I wrote a small prog in Fanuc. (#101 , #102 etc.) It sort of ran in Mach 3 in simulated mode. I did not try to cut anything. The idea was to make a grid so I could match my code against it. The main prog makes four lines then the subprog is supposed to carry on with others. The fanuc variables from #100 to #149 are global. The subprogram alters a global variable but the main program does not see the change. My question is, what standard does Mach 3 follow so that I won't get caught again? The prog is here. More is needed but this part won't work the way it should. G90 G21 #101=20 #102=10 #110=0 G0 X0 Y0 z-0.1 M98 P101 #110 = [#110 +1] M98 P101 #110 = [#110 +1] M98 P101 #110 = [#110 +1] M98 P101 M30 O101 g0 y[#101] g0 x[#102 * [#110 +1]] y[#101] g0 x[#102 * [#110 +1]] y0.000 g0 x[#102 + [#102 * [#110 +1]]] y0.000 M99 Thanks for any and all help. John Wales |
![]() |
| 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 |
| Need Help!- integrating fanuc ac drive w/mach 3 | texasfiddler | Mach Mill | 3 | 09-29-2009 11:07 PM |
| Have anyone experience mach fitting fanuc systems? | Jonne | Machines running Mach Software | 0 | 04-17-2007 12:48 PM |
| Confused: Mach Turn, Mach Mill, Mach 2/3 ? | CanSir | Mach Software (ArtSoft software) | 5 | 02-16-2007 04:41 AM |
| Moving to mach 3 need exact mach 2 screen | carlnpa | Mach Software (ArtSoft software) | 2 | 12-11-2005 03:00 PM |
| will mach 2 or mach 3 work for 4 axis cnc? | Runner4404spd | Mach Mill | 3 | 10-05-2005 11:44 AM |