Hello Guest it is December 10, 2019, 02:14:16 AM

Author Topic: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...  (Read 2896 times)

0 Members and 1 Guest are viewing this topic.

SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« on: February 20, 2015, 12:23:55 PM »
I've been using SheetCAM for a couple years and I've never seen this error until now. I started using MeshCAM recently and if I run a SheetCAM .tap to cut the parts free from the stock after I run the MeshCAM .nc I get these errors:
Radius to end of arc differs from radius to start , Block = N0170 G02 X0.9703 Y5.0108 Z-0.1250 I0.0026 J-0.0059 F27.0
Line 16


Here's the SheetCAM code:
N0010 (Filename: Space Cowboy Fin x2 TRIM.tap)
N0020 (Post processor: Mach3.scpost)
N0030 (Date:20/02/2015 Time:08:30:28)
N0040 G20 (Units: Inches)
N0050 G40 G90 G91.1
N0060 F1
N0070 (Part: Space Cowboy Fin x2 BOTTOM)
N0080 (Operation: Outside Offset, Fin Profile, T15: Mill/router, 0.156 in diameter, 0.125 in Deep)
N0090 (3 Flute Carbide End Mill)
N0100 S4500 (Mill/router, 0.156 in diameter)
N0110 T15 M06
N0120  G43 H15
N0130 S4500 M03
N0140 G00 X8.8715 Y1.0347
N0150 Z0.0300
N0160 G01 Z-0.125 F13.5
N0170 G02 X8.8627 Y1.0327 Z-0.1250 I-0.0054 J0.0034 F27.0
N0180 G01 X8.4536 Y1.2927 Z-0.125
N0190 X8.4521 Y1.2936
N0200 X4.3612 Y3.7936
N0210 G03 X4.3101 Y3.8080 Z-0.1250 I-0.0511 J-0.0836
N0220 G01 X3.3101 Z-0.125
N0230 G03 X3.2886 Y3.8056 Z-0.1250 I0.0000 J-0.0980
N0240 G01 X2.1749 Y3.5555 Z-0.125
N0250 G03 X2.1072 Y3.5004 Z-0.1250 I0.0215 J-0.0956
N0260 G01 X1.0845 Y1.2506 Z-0.125
N0270 X1.0839 Y1.2492
N0280 X0.9703 Y0.9892
N0290 G03 X1.0601 Y0.8520 Z-0.1250 I0.0898 J-0.0392
N0300 G01 X3.6117 Z-0.125
N0310 G00 Z0.0000
N0320 G01 X4.5177 Z0.000
N0330 Z-0.125 F13.5
N0340 X8.8101 F27.0
N0350 G02 X8.8165 Y0.8456 Z-0.1250 I0.0000 J-0.0064
N0360 G00 Z0.2500
N0370 X3.1285 Y4.9653
N0380 Z0.0300
N0390 G01 Z-0.125 F13.5
N0400 G02 X3.1373 Y4.9673 Z-0.1250 I0.0054 J-0.0034 F27.0
N0410 G01 X3.5464 Y4.7073 Z-0.125
N0420 X3.5479 Y4.7064
N0430 X7.6388 Y2.2064
N0440 G03 X7.6899 Y2.1920 Z-0.1250 I0.0511 J0.0836
N0450 G01 X8.6899 Z-0.125
N0460 G03 X8.7114 Y2.1944 Z-0.1250 I0.0000 J0.0980
N0470 G01 X9.8251 Y2.4445 Z-0.125
N0480 G03 X9.8928 Y2.4996 Z-0.1250 I-0.0215 J0.0956
N0490 G01 X10.9155 Y4.7494 Z-0.125
N0500 X10.9161 Y4.7508

Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #1 on: February 20, 2015, 12:25:32 PM »
Here's a clip of the MeshCAM code:
%
(FILENAME: Space Cowboy Fin X2 BOTTOM.nc)
(STOCK/BLOCK, 12.000, 6.000, 0.126, 0.000, -0.000, 0.126)
G20G64G17
G90
(TOOL/MILL,0.1563,0,0.3150,0.0)
T15 M06
G43 H15
M3 S4500
G0X0.0000Y0.0000Z0.2500
(Waterline Finish)
(Parallel Finish)
G0X0.9499Y0.7779
G1A0.0000Z-0.0560F13.5
G1F27.0
X1.5739
X1.5818Z-0.0559

...

G0Z0.2500
M5
G91 G28 X0 Y0 Z1.000
(END)
(OF PROGRAM)
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #2 on: February 20, 2015, 12:26:58 PM »
Do I need to add a G90 after the G91 in the MeshCAM code?

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #3 on: February 20, 2015, 01:35:08 PM »
Yes you do it is BAD FORM on mesh cams behalf to LEAVE the machine in an ODD state. The SC code resets it back to G90 BUT it will NOT make it past the POST load test of the code. That is an error on Mach3s behalf.

Also both programs SHOULD end with a M30.

Just a thought, (;-) TP
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #4 on: February 20, 2015, 01:42:40 PM »
That was MY fault. I added the G91 G28 line.

Thanks for your help!


Chris

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #5 on: February 20, 2015, 01:56:56 PM »
You should also edit your SheetCAM post as the following line will not work correctly:

N0050 G40 G90 G91.1

The G90 and G91.1 need to be on separate lines.
Gerry

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

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

Offline BR549

*
  •  6,916 6,916
    • View Profile
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #6 on: February 20, 2015, 02:38:31 PM »
That should not matter as they are from different modal groups, BUT this is mach3 we are talking about (;-)

G90 = group 3
G91.1 = group 0

Just a thought, (;-) TP

Offline ger21

*
  • *
  •  6,291 6,291
    • View Profile
    • The CNC Woodworker
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #7 on: February 20, 2015, 03:29:11 PM »
I've brought this up numerous times, and posted example code that shows it. If they are both on the same line, only one will change.
Gerry

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

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: SheetCAM .tap following MeshCAM: RADIUS TO END OF ARC DIFFERS...
« Reply #8 on: February 20, 2015, 10:14:04 PM »
Thanks Gerry,

I edited both posts. Here is the output:

SheetCAM code

N0010 (Filename: Space Cowboy Fin x2 TRIM.tap)
N0020 (Post processor: Mach3.scpost)
N0030 (Date:20/02/2015 Time:18:46:09)
N0040 G20 (Units: Inches)
N0050 G40 G90 F1
N0060 G91.1
...
N0790 G00 Z0.2500
N0800 M05
N0810 G91 G28 X0 Y0 Z1.0
N0820 G90
N0830 M05 M30


MeshCAM code

(FILENAME: Space Cowboy Fin x2 BOTTOM.nc)
(STOCK/BLOCK, 12.000, 6.000, 0.116, 0.000, -0.000, 0.116)
G20G64G17
G90
...
G0Z0.2500
M5
G91 G28 X0 Y0 Z1.000
G90
M30
(END)
(OF PROGRAM)

Is that better?

Thanks for your help,


Chris
« Last Edit: February 20, 2015, 10:15:53 PM by ChrisAttebery »