Hello Guest it is March 28, 2024, 09:46:18 AM

Author Topic: cutter comp question  (Read 6467 times)

0 Members and 1 Guest are viewing this topic.

cutter comp question
« on: September 04, 2008, 08:25:53 PM »
I have finished retro fitting an old Aronson Oxy fuel table with a PC and Mach3. After fighting with noise from all the solenoids it has on it I have it cutting better than it ever has before. Now that I have it up and running I would like to be able to adjust the cut width using the cutter comp. I figured I could use a “Tool” in the Tool table for each plate thicknesses / nozzle size. I just don’t know what I am doing wrong.
As I understand it G41 would be cutter comp on and left and G42 right and G40 off?
I am aware of making a preparatory linear move to initiate the compensation.
After the G41 or G42 code do I need to specify the tool number as a D value?
I had read in a post that stated that a D followed by the tool number would use the tool offset specified in the corresponding tool table entry. Or a P and the actual tool size #.

Example: using the P and tool size

M06T02
M03
G64
G90G00X114.749Y9.3884
M98P3111
G41P0.0625G01X114.6622Y10.3806
G03X113.8497Y11.0624R0.75
G02I-0.5447J6.2262
G03X113.6225Y10.7915R0.25
G01G40
M98P3491

Example: using the D and tool number

M06T02
M03
G64
G90G00X114.749Y9.3884
M98P3111
G41D02G01X114.6622Y10.3806
G03X113.8497Y11.0624R0.75
G02I-0.5447J6.2262
G03X113.6225Y10.7915R0.25
G01G40
M98P3491

My problem is that some times it will not work.
It will start the cut normally up to the G02 and then make what looks like a very tiny circle and then jump to the next M98 call?
The two subs in the code are “Pierce” and “Off and up”.

What in the world am I doing wrong?      ???
Re: cutter comp question
« Reply #1 on: September 05, 2008, 06:12:06 PM »
OK I have messed around with this thing all day today! This is what I have figured out. I was correct on how the cutter compensation works.
First thing this morning I started cutting a sheet and got to the forth part on the sheet and it did the same strange skipping of the I and J arc. So I took the code to a PC and printed it out. I then triged out all the G code to make sure the arcs matched up and all was fine. I then started looking at it running in mach on a bigger screen than what is on the machine. I noticed that it was actually following the wrong arc. Instead of following the larger clockwise arc "which is the part" it followed the lead out arc "a small counterclockwise arc"???? So now I felt a little better as now I could take a work around for the time being and just use a strait lead out.
The strange thing is that without the cutter comp on it works flawless. I would have to believe it is something to do with the way Mach calculates the actual "offset" geometry. And it sounds like it may be something to do with picking the correct arc if two arcs start on the same point. As in it can select the wrong arc to process first. I would love to actually see the Mach code.  :P   

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: cutter comp question
« Reply #2 on: September 05, 2008, 07:04:40 PM »
If you're not using the latest version, you might want to try it, as there have been a few cutter comp fixes in the past. If you are using the latest version, there is still apparently a bug in comp, although I haven't seen it myself yet.. It's slated to be fixed in the near future, after a few more important bug fixes.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: cutter comp question
« Reply #3 on: September 06, 2008, 01:23:20 PM »
If you're not using the latest version, you might want to try it, as there have been a few cutter comp fixes in the past. If you are using the latest version, there is still apparently a bug in comp, although I haven't seen it myself yet.. It's slated to be fixed in the near future, after a few more important bug fixes.

This is on the 2.63 lock down.
Do you mean the Development version?
I will download the development version and give that a shot.

Re: cutter comp question
« Reply #4 on: September 08, 2008, 08:10:19 AM »
If you're not using the latest version, you might want to try it, as there have been a few cutter comp fixes in the past. If you are using the latest version, there is still apparently a bug in comp, although I haven't seen it myself yet.. It's slated to be fixed in the near future, after a few more important bug fixes.

Well I have just gave 3.042 a try and get pretty much the same result
Re: cutter comp question
« Reply #5 on: September 08, 2008, 08:12:12 AM »
This is what it looks like

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: cutter comp question
« Reply #6 on: September 08, 2008, 11:33:27 AM »
Why are you mixing R arcs with IJ arcs?? Not sure if that's the problem, though. it still might be a bug. Can you post the code?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline Graham Waterworth

*
  • *
  •  2,668 2,668
  • Yorkshire Dales, England
    • View Profile
Re: cutter comp question
« Reply #7 on: September 08, 2008, 11:39:28 AM »
Have you tried running your code with the X & Y figures in the G02 line, Mach has been known to misbehave if they are missing.

G03X113.8497Y11.0624R0.75
G02 X? Y? I-0.5447J6.2262
G03X113.6225Y10.7915R0.25

Graham
Without engineers the world stops
Re: cutter comp question
« Reply #8 on: September 08, 2008, 11:56:08 AM »
The mixed R arcs and IJ arcs is how the cam outputs the code.
I dont know how this could cause it to select the last arc before the third?
But one thing is if you remove the last arc it will work fine.
For the time I am using a linear move as the lead out.

This is an example program.


 %
O0001
(MATL HRS)
(THICK 0.750)
(SHEET 120.000 X 60.000)
M06T02
M03
G64
(PART)
N1
G90G00X114.749Y9.3884
M98P3111
M98P3313
G41D02G01X114.6622Y10.3806
G03X113.8497Y11.0624R0.75
G02I-0.5447J6.2262
G03X113.3952Y10.5207R0.5
G01G40
M98P3491
(PART)
N2
G90G00X109.333Y23.1985
M98P3111
M98P3313
G41D02G01X109.9043Y24.0144
G03X109.7201Y25.0589R0.75
G02I3.5849J5.1197
G03X109.0238Y24.9361R0.5
G01G40
M98P3491
(PART)
N3
G90G00X109.333Y36.0885
M98P3111
M98P3313
G41D02G01X109.9043Y36.9044
G03X109.7201Y37.9489R0.75
G02I3.5849J5.1197
G03X109.0238Y37.8261R0.5
G01G40
M98P3491
(PART)
N4
G90G00X98.5775Y49.246
M98P3111
M98P3313
G41D02G01X99.4802Y49.6669
G03X99.843Y50.6636R0.75
G02I5.6644J2.6414
G03X99.1785Y50.9055R0.5
G01G40
M98P3491
(PART)
N5
G90G00X99.1795Y33.5252
M98P3111
M98P3313
G41D02G01X99.4373Y34.4872
G03X98.907Y35.4058R0.75
G02I1.6176J6.037
G03X98.2946Y35.0522R0.5
G01G40
M98P3491
(PART)
N6
G90G00X103.6036Y15.8322
M98P3111
M98P3313
G41D02G01X103.5167Y16.8244
G03X102.7042Y17.5062R0.75
G02I-0.5447J6.2262
G03X102.2497Y16.9645R0.5
G01G40
M98P3491
(PART)
N7
G90G00X99.8569Y1.4943
M98P3111
M98P3313
G41D02G01X100.6728Y2.0656
G03X100.857Y3.1101R0.75
G02I5.1197J3.5849
G03X100.1606Y3.2329R0.5
G01G40
M98P3491
(PART)
N8
G90G00X90.8597Y6.1583
M98P3111
M98P3313
G41D02G01X91.431Y6.9742
G03X91.2468Y8.0187R0.75
G02I3.5849J5.1197
G03X90.5504Y7.8959R0.5
G01G40
M98P3491
(PART)
N9
G90G00X88.1059Y24.758
M98P3111
M98P3313
G41D02G01X88.6771Y25.5739
G03X88.493Y26.6185R0.75
G02I3.5848J5.1197
G03X87.7966Y26.4957R0.5
G01G40
M98P3491
(PART)
N10
G90G00X85.389Y34.6636
M98P3111
M98P3313
G41D02G01X85.4758Y35.6558
G03X84.794Y36.4683R0.75
G02I0.5448J6.2262
G03X84.2524Y36.0138R0.5
G01G40
M98P3491
(PART)
N11
G90G00X92.6831Y45.2741
M98P3111
M98P3313
G41D02G01X92.7699Y46.2663
G03X92.0881Y47.0788R0.75
G02I0.5448J6.2262
G03X91.5465Y46.6243R0.5
G01G40
M98P3491
(PART)
N12
G90G00X78.5205Y45.4048
M98P3111
M98P3313
G41D02G01X78.4337Y46.397
G03X77.6212Y47.0788R0.75
G02I-0.5447J6.2262
G03X77.1667Y46.5371R0.5
G01G40
M98P3491
(PART)
N13
G90G00X63.1929Y41.7857
M98P3111
M98P3313
G41D02G01X64.1851Y41.6989
G03X64.9976Y42.3807R0.75
G02I6.2262J-0.5447
G03X64.5431Y42.9224R0.5
G01G40
M98P3491
(PART)
N14
G90G00X74.9694Y24.5553
M98P3111
M98P3313
G41D02G01X75.5406Y25.3712
G03X75.3565Y26.4157R0.75
G02I3.5848J5.1197
G03X74.6601Y26.293R0.5
G01G40
M98P3491
(PART)
N15
G90G00X79.7141Y12.6047
M98P3111
M98P3313
G41D02G01X80.2854Y13.4206
G03X80.1012Y14.4651R0.75
G02I3.5849J5.1197
G03X79.4049Y14.3423R0.5
G01G40
M98P3491
(PART)
N16
G90G00X77.5689Y1.4943
M98P3111
M98P3313
G41D02G01X78.3848Y2.0656
G03X78.569Y3.1101R0.75
G02I5.1197J3.5849
G03X77.8726Y3.2329R0.5
G01G40
M98P3491
(PART)
N17
G90G00X68.5721Y6.1589
M98P3111
M98P3313
G41D02G01X69.1434Y6.9748
G03X68.9592Y8.0194R0.75
G02I3.5849J5.1197
G03X68.2629Y7.8966R0.5
G01G40
M98P3491
(PART)
N18
G90G00X55.2817Y1.4943
M98P3111
M98P3313
G41D02G01X56.0976Y2.0656
G03X56.2817Y3.1101R0.75
G02I5.1197J3.5849
G03X55.5854Y3.2329R0.5
G01G40
M98P3491
(PART)
N19
G90G00X57.4291Y12.6049
M98P3111
M98P3313
G41D02G01X58.0004Y13.4207
G03X57.8162Y14.4653R0.75
G02I3.5848J5.1197
G03X57.1198Y14.3425R0.5
G01G40
M98P3491
(PART)
N20
G90G00X58.143Y25.7557
M98P3111
M98P3313
G41D02G01X58.7143Y26.5716
G03X58.5301Y27.6161R0.75
G02I3.5849J5.1197
G03X57.8338Y27.4933R0.5
G01G40
M98P3491
(PART)
N21
G90G00X60.2145Y46.3249
M98P3111
M98P3313
G41D02G01X60.7858Y47.1408
G03X60.6016Y48.1853R0.75
G02I3.5849J5.1197
G03X59.9053Y48.0625R0.5
G01G40
M98P3491
(PART)
N22
G90G00X47.3374Y46.2493
M98P3111
M98P3313
G41D02G01X47.9087Y47.0652
G03X47.7245Y48.1097R0.75
G02I3.5848J5.1197
G03X47.0281Y47.9869R0.5
G01G40
M98P3491
(PART)
N23
G90G00X47.5125Y33.0346
M98P3111
M98P3313
G41D02G01X48.0837Y33.8505
G03X47.8996Y34.8951R0.75
G02I3.5848J5.1197
G03X47.2032Y34.7723R0.5
G01G40
M98P3491
(PART)
N24
G90G00X46.2883Y19.0541
M98P3111
M98P3313
G41D02G01X46.8596Y19.87
G03X46.6754Y20.9145R0.75
G02I3.5849J5.1197
G03X45.979Y20.7917R0.5
G01G40
M98P3491
(PART)
N25
G90G00X46.2863Y6.1613
M98P3111
M98P3313
G41D02G01X46.8576Y6.9772
G03X46.6734Y8.0217R0.75
G02I3.5848J5.1197
G03X45.977Y7.8989R0.5
G01G40
M98P3491
(PART)
N26
G90G00X32.9973Y1.4943
M98P3111
M98P3313
G41D02G01X33.8132Y2.0656
G03X33.9974Y3.1101R0.75
G02I5.1197J3.5849
G03X33.301Y3.2329R0.5
G01G40
M98P3491
(PART)
N27
G90G00X35.1451Y12.6077
M98P3111
M98P3313
G41D02G01X35.7164Y13.4236
G03X35.5322Y14.4681R0.75
G02I3.5849J5.1197
G03X34.8359Y14.3453R0.5
G01G40
M98P3491
(PART)
N28
G90G00X36.1494Y26.9899
M98P3111
M98P3313
G41D02G01X36.7207Y27.8058
G03X36.5365Y28.8503R0.75
G02I3.5849J5.1197
G03X35.8402Y28.7275R0.5
G01G40
M98P3491
(PART)
N29
G90G00X36.1513Y39.8797
M98P3111
M98P3313
G41D02G01X36.7225Y40.6956
G03X36.5384Y41.7402R0.75
G02I3.5848J5.1197
G03X35.842Y41.6174R0.5
G01G40
M98P3491
(PART)
N30
G90G00X25.0092Y46.3249
M98P3111
M98P3313
G41D02G01X25.5805Y47.1408
G03X25.3963Y48.1853R0.75
G02I3.5849J5.1197
G03X24.7Y48.0625R0.5
G01G40
M98P3491
(PART)
N31
G90G00X25.0074Y33.435
M98P3111
M98P3313
G41D02G01X25.5787Y34.2509
G03X25.3945Y35.2954R0.75
G02I3.5848J5.1197
G03X24.6981Y35.1726R0.5
G01G40
M98P3491
(PART)
N32
G90G00X25.0073Y20.5449
M98P3111
M98P3313
G41D02G01X25.5786Y21.3608
G03X25.3944Y22.4053R0.75
G02I3.5849J5.1197
G03X24.698Y22.2825R0.5
G01G40
M98P3491
(PART)
N33
G90G00X24.0019Y6.1613
M98P3111
M98P3313
G41D02G01X24.5732Y6.9772
G03X24.389Y8.0217R0.75
G02I3.5849J5.1197
G03X23.6927Y7.8989R0.5
G01G40
M98P3491
(PART)
N34
G90G00X10.7109Y1.4943
M98P3111
M98P3313
G41D02G01X11.5268Y2.0656
G03X11.711Y3.1101R0.75
G02I5.1197J3.5849
G03X11.0146Y3.2329R0.5
G01G40
M98P3491
(PART)
N35
G90G00X13.8652Y14.0999
M98P3111
M98P3313
G41D02G01X14.4365Y14.9158
G03X14.2523Y15.9603R0.75
G02I3.5848J5.1197
G03X13.5559Y15.8375R0.5
G01G40
M98P3491
(PART)
N36
G90G00X13.8652Y26.9899
M98P3111
M98P3313
G41D02G01X14.4365Y27.8058
G03X14.2523Y28.8503R0.75
G02I3.5848J5.1197
G03X13.5559Y28.7275R0.5
G01G40
M98P3491
(PART)
N37
G90G00X13.8652Y39.8799
M98P3111
M98P3313
G41D02G01X14.4365Y40.6958
G03X14.2523Y41.7403R0.75
G02I3.5848J5.1197
G03X13.5559Y41.6175R0.5
G01G40
M98P3491
(PART)
N38
G90G00X2.723Y46.3249
M98P3111
M98P3313
G41D02G01X3.2943Y47.1408
G03X3.1101Y48.1853R0.75
G02I3.5849J5.1197
G03X2.4138Y48.0625R0.5
G01G40
M98P3491
(PART)
N39
G90G00X2.723Y33.4349
M98P3111
M98P3313
G41D02G01X3.2943Y34.2508
G03X3.1101Y35.2953R0.75
G02I3.5849J5.1197
G03X2.4138Y35.1725R0.5
G01G40
M98P3491
(PART)
N40
G90G00X2.723Y20.5449
M98P3111
M98P3313
G41D02G01X3.2943Y21.3608
G03X3.1101Y22.4053R0.75
G02I3.5849J5.1197
G03X2.4138Y22.2825R0.5
G01G40
M98P3491
(PART)
N41
G90G00X2.723Y7.6549
M98P3111
M98P3313
G41D02G01X3.2943Y8.4708
G03X3.1101Y9.5153R0.75
G02I3.5849J5.1197
G03X2.4138Y9.3925R0.5
G01G40
M98P3491
M30
 %
Re: cutter comp question
« Reply #9 on: September 08, 2008, 12:07:05 PM »
Have you tried running your code with the X & Y figures in the G02 line, Mach has been known to misbehave if they are missing.

G03X113.8497Y11.0624R0.75
G02 X? Y? I-0.5447J6.2262
G03X113.6225Y10.7915R0.25

Graham


Tryed it and still no go.