1
General Mach Discussion / Re: Help / tips generating 5 axis toolpaths for Mach3
« 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-------------------
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-------------------