Eyewonder Posted June 18 Posted June 18 I'm running NC32 v2.36(1) on a bench-top router and am unable to make cutter compensation work. On the tool offset page I have Tool #5 Z-Geometry = 0, Z-Wear = 0, CC-Geometry = 1.5000 and CC-Wear = 1.500 My test was to just move the machine in a 4" x 4" square, to see if the spindle did have any offset from programmed square. My most recent attempt at code was: G41 X-1. Y-1. D5. All motion was over the 4" x 4" square, with out any offset - which should have been .75", from the 1.5" diameter CC Geometry entry. I have tried all the G41 variations I could find on the net, & none worked. Here is the most recent MDI code I tried: G20 G54 G90 G94 G28 G17 G00 X-5. G41 X-1. Y-1. D5 G00 X-2. Y-2. X0. Y0. Z0.25 X4. Y4. X0. Y0. G40 X-1.0 Y-1.0 Z2.0 G28 The machine followed the 4x4 square, without the expected offsets. Looking at the code screen as I run the short MDI program, I see that G41 shows up under 'Active G-Codes' and H05 and D05 show up under the 'Active Offsets' area. My Motion.exe applet has Compensation Correction check-boxed. 'H' 'D' & 'Q' checkboxes cleared. I am out of ideas ...... Quote
steve.milici Posted June 19 Posted June 19 Cutter radius compensation is valid only in LINEAR and CIRCLE move modes. The moves must be specified by F (feedrate), not TM (move time). Turbo PMAC must be in move segmentation mode (Isx13 > 0) to do this compensation (Isx13 > 0 is required for CIRCLE mode anyway.) Quote
Eyewonder Posted June 27 Author Posted June 27 Steve, I can not get cutter comp G40/G41/G42 to work for the milling application. I opened the mill.g file to see what might be going wrong - sections N40000 (G40) N41000 (G41) & N42000 (G42) had only this: N40000 VS_GGROOUP7_1_M = 40 RET N41000 VS_GGROUP7_1_M = 41 RET N42000 VS_GGROUP_1_M = 42 RET Looks like no action at all. I have copies of the lathe.g from v1.63 & v2.03b, as well as current v2.36(1). They also have blank entries for the cutter comp sections. I couldn't find any mill.g files for the older versions. I went back & looked at the instructions for upgrading to v2.36(1) & found (slightly unclear) instructions to modify and download 'lathe.g', which DOES have entries for G40/G41/G42. This is a machining center, not a lathe, so I had ignored those instructions. With nothing to loose I copied the sections to my mill.g. Still no cutter comp action. I wrote this quick program & ran it in MDI. It just machines a square, without any comp, then runs the same square with G41 comp. The expected offset for the cutter diameter did not show up. G20 G54 G90 G94 G28 G40 G49 G00 X2 Y1 Z.25 G01 X4 Y2. F75 Y6 X8 Y2 X4 G00 X2 Y1 G41 H1 X4 Y2. F75 Y6 X8 Y2 X4 G00 X2 Y1 Do you have a complete, fully functional copy of the mill.g for v2.36(1). That would be greatly appreciated. Quote
steve.milici Posted June 27 Posted June 27 As I previously said, cutter radius compensation is valid only in LINEAR and CIRCLE move modes. Your code shows a “G00” just before the “G41” command. This is very old and obsolete software. I do not have any “working” systems to provide any of the installed files, but I do have an archived “PMAC-NC Pro2 Machine Code” directory. I have attached a zipfile of it. This would be offered “as-is without warranty or support”. PMAC-NC Pro2 Machine Code.zip Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.