![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General CAM Discussion Discuss CAD/CAM software and Design software methods here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#13
| |||
| |||
G43 is typically a call for the Tool Length Compensation. So, G43 H1 blah blah blah just tells it to use the tool compensation amount in offset #1. The G10 that I referred to modifies the value in the offset so that the next time G43 calls for it, it will have changed by the 1mm you need. |
|
#14
| ||||
| ||||
| Kiwi- You need to put in the part zero (G54) for the G58 to reference. I didn't look at your program before, sorry. Also, you're missing the G43 which should go after the T1 M6. I have the 8055 M controller - you shouldn't have to put in a D or H value...I'll send you a PM with one of my programs so you can get an idea of the layout. Jen
__________________ (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management) |
|
#15
| |||
| |||
Your wrong. The Z path would be change the amount that you put in the #2. But I see that I have forgotten one thing, you also have to put in third parameter that keeps track of the previos cut. Like #3=#3+#2 I take this one more time. #1=15 (Number of cuts) #2=2 (cutting depth in each cut) #3=0 (counter where we are) #10=0 (Loop counter) WHILE #10 LE #1 DO1 G0 X0. Y0. (STARTPOINT OF PATH) G1 Z[0 - #3] X20. Y5. Z[-7. -#3] X30. Y8. Z[-12 -#3] G0Z1. #3=#3+#2 #10=#10+1 G0 X0. Y0. END1 G0 Z10. (AFTER 15 CUTS THE PROG. WILL CONTINUE HERE I hope you understand this. This is how I should do in a Fanuc control, I don't now what Fadal have but I think they have Fanuc too or? Regards Per |
| Sponsored Links |
|
#17
| |||
| |||
| Hi again Per_N On further examination of your code I don't think this is a practical solution to my problem as I have about 450 blocks of code and if each one with a Z value needs to be modified to Z(-?-#3). I can copy the profile code 12 times and I have a macro that can add the increments to the Z values but considered this a clumsy way. Thankyou for your help. Regards Kiwi |
|
#18
| |||
| |||
Have you ever heard of something could Nc-Editor or change of postprocessor. I don't want to be rood, but this is Sunday school programming. Study the manual some more before you get into to this type of programming. Good luck to you. Per |
![]() |
| 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 |
| Timing belt length calculator. | dmgdesigns | DIY-CNC Router Table Machines | 2 | 01-05-2009 06:54 PM |
| Using control comp in lead in-outs | badRandle | Mastercam | 22 | 08-07-2007 02:22 PM |
| FeatureCam cutter comp | Jim Bass | FeatureCAM CAD/CAM | 10 | 03-28-2006 07:49 AM |
| Tool length sensing! | Swede | FlashCut CNC | 15 | 10-12-2005 07:51 PM |
| Programming/Using tool length | Fudd | Fadal | 7 | 06-24-2004 10:27 PM |