Hello Guest it is July 07, 2020, 03:47:58 PM

Author Topic: Help / tips generating 5 axis toolpaths for Mach3  (Read 8183 times)

0 Members and 1 Guest are viewing this topic.

Help / tips generating 5 axis toolpaths for Mach3
« on: November 05, 2005, 08:23:11 AM »
Hello all.

I need some help / tips with this issue:

I'm trying to get Mach3 to use 5 axis toolpaths generated with MasterCAM X.
The toolpath I'm using is an example located on the CD so it should work OK. It "BACKPLOTS" all right in MasterCAM, I can see the tool working in B/C axis and everything is sunshine...

BUT... When opening the G-code in Mach3 I can only see that the X,Y,Z and A axis is getting data??
I was expecting the B/C axis to do something, but they don't! What the heck am I doing wrong hereĀ  ???
Quite possible I have missed something in the Mach3 setup procedure. Any tips would be MUCH appreciated!

I am using "ROUTER 5-AXIS HEAD-HEAD" in MasterCAM and that should match the machine I'm building at the moment (6 axis gantry router with a plasma cuter mounted on the tilt / swivel toolhead at 180 deg to the spindle.
As for now I'm only simulating my work to learn MasterCAM / Mach3.


Kind regards
Marc in NORWAY
Re: Help / tips generating 5 axis toolpaths for Mach3
« Reply #1 on: November 05, 2005, 08:53:31 PM »
Hello again...

Slowly I'm getting this to work it seems...
I now have movement in the B/C axis, but there is another (possibly simplier) issue now:

When generating G-code from MasterCAM X (using a derivate of 5 axis FANUC router definition) I get code that includes a few things Mach3 doesn't like. The first thing is not a big deal, but I would like to get rid of it:

The code starts with the string ":0001" which makes Mach3 to complain. I have tried to locate a setting in MasterCAM
to get rid of this, but no luck so far.

A more serious issue is Mach3 complaining about "---Cannot use two g codes that both use axis values on Line number #4"

This one I can't figure out. Why is Mach complaining of this??
Below is the start of my sample code without line numbers. I have marked the problems with an ARROW "-->>"

Anyone whou could put me back on track here?
Thanx!

----- 8< snip-------------------


-->> :0001 ( PROGRAM -  MACHINE_GROUP_1NCNC )
( DATE -  06-11-05  TIME -  02:35 )
G21
G0 G17 G40 G80 G90 G94 G98
-->> G0 G28 G91 Z0.
-->> G0 G28 X0. Y0.
(    10. FLAT BOTTOM BIT   TOOL - 219  DIA. OFF. - 0  LEN. - 0  DIA. - 10. )
( ROUTER H2 ROUTAX 5-AXIS HEAD MM )
( MACHINE GROUP 1 )
T219 M6
G0 G54 G90 X775.065 Y-108.789 C270. B79. S3000 M3
G43 H0 Z-8.9
Y-15.534 Z-27.026
G1 Y-10.626 Z-27.981 F2500.
X773.654 Y-6.819 Z-8.397
X773.513 Y-6.439 Z-6.439 F1500.

----- 8< snip-------------------