TheeCircle
Civil/Environmental
Hi,
I downloaded the Fanuc 3axis in post from the library but it needs some modifications. I designed a quick part in NX and put tool paths on it and I did the same in Mastercam with similar toolpaths (we have a working post). See the code below. The G100 and G200 lines are subroutines within the control. This is the G100:
%
O9010(G100)M9
G80G67G40
G91G30Z0M05
G0G17G49G64G90G94G98H0D0F0M1
M99
%
NX Test:
N0020 G91 G28 Z0.0
:0030 T01 M06
N0040 T02
N0050 G1 G90 X.5 Y-1.8281 Z.5 F20. S3000 M03 M08
N0060 Z.1
N0070 Z0.0 F23.
N0080 X.25
N0090 X-3.25 F25.6
N0100 Y-1.5313
N0110 X.25
N0120 Y-1.2344
N0130 X-3.25
N0140 Y-.9375
N0150 X.25
N0160 Y-.6406
N0170 X-3.25
N0180 Y-.3438
N0190 X.25
N0200 Y-.0469
N0210 X-3.25
N0220 X-3.5 F20.
N0230 Z.1
N0240 Z.5
N0250 M09
The program end looks like this:
N4570 G2 X-3. Y.25 I.25 J0.0
N4580 G1 X-1.5
N4590 X-.5 F20.
N4600 Y.5
N4610 Z-.41
N4620 Z.5
N4630 M09
N4640 M02
%
Mastercam Test (This is what I need)
(T1 - 1/2 FLAT ENDMILL - H1 - D1 - D0.5000")
(T7 - 3/16 FLAT ENDMILL - H7 - D7 - D0.1875")
(OVERALL MAX - Z2.)
(OVERALL MIN - Z-.5)
N100 G100
N110 T1
N120 M06
N130 G100
N140 (MAX - Z2.)
N150 (MIN - Z0.)
N160 G00 G90 G54 X-3.55 Y-.1251 S3500 M03
N170 G43 H1 Z2. M08 T7
N180 Z.21
N190 G01 Z0. F8.
N200 X.3 F15.
N210 Y-.4501
N220 X-3.3
N230 Y-.775
N240 X.3
N250 Y-1.1
N260 X-3.3
N270 Y-1.4249
N280 X.3
N290 Y-1.7499
N300 X-3.55
N310 G00 Z2.
N320 M09
N330 G100
N340 ()
The program end looks like this:
N600 G00 Z2.
N610 M09
N620 G200
N630 M06 T22
N640 M30
%
I have looked at the post builder but I could not make it work. Any ideas?
Thank you
John
I downloaded the Fanuc 3axis in post from the library but it needs some modifications. I designed a quick part in NX and put tool paths on it and I did the same in Mastercam with similar toolpaths (we have a working post). See the code below. The G100 and G200 lines are subroutines within the control. This is the G100:
%
O9010(G100)M9
G80G67G40
G91G30Z0M05
G0G17G49G64G90G94G98H0D0F0M1
M99
%
NX Test:
N0020 G91 G28 Z0.0
:0030 T01 M06
N0040 T02
N0050 G1 G90 X.5 Y-1.8281 Z.5 F20. S3000 M03 M08
N0060 Z.1
N0070 Z0.0 F23.
N0080 X.25
N0090 X-3.25 F25.6
N0100 Y-1.5313
N0110 X.25
N0120 Y-1.2344
N0130 X-3.25
N0140 Y-.9375
N0150 X.25
N0160 Y-.6406
N0170 X-3.25
N0180 Y-.3438
N0190 X.25
N0200 Y-.0469
N0210 X-3.25
N0220 X-3.5 F20.
N0230 Z.1
N0240 Z.5
N0250 M09
The program end looks like this:
N4570 G2 X-3. Y.25 I.25 J0.0
N4580 G1 X-1.5
N4590 X-.5 F20.
N4600 Y.5
N4610 Z-.41
N4620 Z.5
N4630 M09
N4640 M02
%
Mastercam Test (This is what I need)
(T1 - 1/2 FLAT ENDMILL - H1 - D1 - D0.5000")
(T7 - 3/16 FLAT ENDMILL - H7 - D7 - D0.1875")
(OVERALL MAX - Z2.)
(OVERALL MIN - Z-.5)
N100 G100
N110 T1
N120 M06
N130 G100
N140 (MAX - Z2.)
N150 (MIN - Z0.)
N160 G00 G90 G54 X-3.55 Y-.1251 S3500 M03
N170 G43 H1 Z2. M08 T7
N180 Z.21
N190 G01 Z0. F8.
N200 X.3 F15.
N210 Y-.4501
N220 X-3.3
N230 Y-.775
N240 X.3
N250 Y-1.1
N260 X-3.3
N270 Y-1.4249
N280 X.3
N290 Y-1.7499
N300 X-3.55
N310 G00 Z2.
N320 M09
N330 G100
N340 ()
The program end looks like this:
N600 G00 Z2.
N610 M09
N620 G200
N630 M06 T22
N640 M30
%
I have looked at the post builder but I could not make it work. Any ideas?
Thank you
John