![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| G-Code Programing Discuss G-code programing and problems here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
I am drilling multiple parts on horizontal milling machine with pallet changer. I have one program for both pallets, just loading work offsets on beginning of program. I am using bolt hole macro. My macro call is: G65 P9100 X0 Y0 Z-2.1 D2.378 R.1 C81. A90. H9 F12.5 Parts are the same, but we need sometimes adjust a pattern of holes by adjusting pattern start angle. There is a six parts on each fixture, and we need to control start angle for each part. I want a modify program and my macro call will be: G65 P9100 X0 Y0 Z-2.1 D2.378 R.1 C81. A[#121+90.] H9 F12.5 #121 will be loaded together with work offsets on beginning of the program.I use local variable #1 in macro program I just wondering it will work this way. Thanks for any reply. |
|
#2
| |||
| |||
| 080106-2120 EST USA tommy2002: Looks like it should work. Might be machine dependent. You could also put the 90. in the #121 along with whatever else is normally in #121 if the machine does not like [#121+90.]. Answer your question with a dry run or a graphics mode if you have one. It should run or complain. . |
![]() |
| 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 |
| Macro B Question | Bluetech | Fanuc | 7 | 03-10-2009 12:58 AM |
| macro program for 21i controller | damon1313 | Fanuc | 4 | 01-04-2008 08:12 AM |
| macro program for work offset | cncwhiz | Fanuc | 4 | 12-14-2007 06:28 AM |
| Macro program | pioneerproducts | Product Announcements & Manufacturer News | 4 | 10-08-2007 03:44 PM |
| cycle time macro program | mcash3000 | General CNC (Mill and Lathe) Control Software (NC) | 1 | 03-29-2006 12:33 PM |