![]() | |
| 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
| |||
| |||
| hi ,guys my question is: is there a problem if I activate cutter comp. on a z movement and I am not sure if it only work on the G1 line and if it matters if G40 would be in the las cutting movement or is nessesary to put g40 only onthe exit movement.I have been experienced problems like alarms and tapered surfaces where i nedded straight movements . any tips or insights would be fine ,thankyou for your time and help. |
|
#2
| ||||
| ||||
| Do you mean you want to compensate the Z movement? G41/G42 is diameter compensation, G43/44 is tool length comp. The general rule AFAIK is the G41/G42 has to be implemented at least 1 block ahead at a distance of Tool radius minimum. I am not a machinist so I may not be getting the gist of what you are looking for. Al.
__________________ CNC, Mechatronics Integration and Machine Design. “Logic will get you from A to B. Imagination will take you everywhere.” Albert E. |
|
#3
| |||
| |||
| It depends on your machine. G41/G42 does not apply to the Z axis it is normally only X and Y that can be compensated. As Al says normally you need to do the move that starts compensation ablock ahead of the first feed motion that is compensated, and also cancel compensation after having moved away from the compensated tool path. In other words start compnesation before any cutting and then complete all the cutting and move away a small distance before cancelling compensation. On some machines it is possible to have a Z move in the same block that the X, Y compensation is set but I think some machines will not allow this.
__________________ An open mind is a virtue...so long as all the common sense has not leaked out. |
|
#4
| ||||
| ||||
| It all depends on what plane you are in when applying comp. If G17 is active then comp is taken only in the XY plane, likewise for G18 = XZ, and G19=YZ . Most machines cannot change planes with comp active. Common practice is to start and finish compensation on a move involving the active plane's axes. This ensures that any following moves do not give un-expected results. eg. G17 G41 D1 Z-.1 F.1 (is not the best method) G0G40Z2. (may move the XY on some machines) more common G1 Z-.1 F G17 G41 D1 X Y F .. G40 G1 X Y G0 Z.2 or .. G40 G1 X Y G0 Z.2 |
![]() |
| 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 |
| G-code explanation | midnightrambler | G-Code Programing | 0 | 02-08-2009 07:01 PM |
| g02 g03 explanation | valmet58 | CNCzone Club House | 4 | 03-19-2008 09:36 PM |
| I need some explanation | grebator | Stepper Motors and Drives | 0 | 04-04-2007 07:03 AM |
| G64 & G61 Explanation Please | weaston | G-Code Programing | 1 | 01-31-2007 04:34 AM |
| CNC explanation | Alex S.A | General Metal Working Machines | 2 | 10-01-2004 12:23 PM |