Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

Haas code issue


Guest
 Share

Recommended Posts

I am racking my brain on this one..

Customer is trying to run a program and is getting an error on this snippet of code......for the life of me I see no error at all...

Error 304 invalid I, J or K in G02

Can anyone see anything here?

 

G20
G0 G17 G40 G49 G80 G90
G0 G28 G91 Z0.
(.375 X .100 KEYSEAT CUTTER HARVEY TOOL 22552 CUSTOM TOOL)
(.375 X .100 KEYSEAT CUTTER / MACHINE THREAD RELIEF /Z+3.4135)
M11
M13
T10
M98 P66666
G0 G54 G90 X-.873 Y-4.1887 B270. A90. S2500 M3
M10
M12
G43 H10 Z8.
/M8
G254 X0. Y0.
Z3.5135
G1 Z3.4135 F25.
G41 D10 X-.723 F20.
G2 X.05 Y-3.4157 I.773 J0.
X.823 Y-4.1887 I0. J-.773
X.05 Y-4.9617 I-.773 J0.
X-.723 Y-4.1887 I0. J.773
G1 G40 X-.873
G0 Z8.
M9
M5
G255
G0 G28 G91 Z0.
M11
M13
G0 G28 G90 A0. B0.
M10
M12
G0 G91 G28 Y0.
G0 G90 G54 X0.
M30
%

 

Edited by Guest
Link to comment
Share on other sites
3 minutes ago, civiceg said:

You are DWO, are your rotary axis actually an ISO A/B?  All Haas machines using DWO/TCPC have to be defined correctly with the ISO rotary nomenclature. Older Haas trunnions were labeled A/B. This has been corrected with the NGC. 

My understanding is this has all been done....it's a new machine...VF2 I believe with a new trunion....it was drppoed off by Haas but I don'r know who set it up

This is T10 in the program, the previous 9 have all made it through......it's a dog simple move and driving me nuts

Edited by Guest
Link to comment
Share on other sites

Code looks good except your rotaries are not defined correctly for a NGC. Using  DWO on a NGC you have to have an iso config... A/C or B/C configurations. 

DWO/TCPC is only avaliable on a NGC besides a UMC 750. 

 

Other ops using cutter comp? Also, what is your sub program doing?

Link to comment
Share on other sites
1 hour ago, Machineguy said:

Change your lead in ,arc and lead off setting just a little. It might be seeing something we don't see.

Did..no change

 

12 minutes ago, nickbe10 said:

Have you tried just without any cc? Sometimes cc just fails for no apparent reason, nothing but misery......

Did. no change again....

Stripped out the axis calls ran on other Haas machine fine

Trying to convince him to change from AB to AC and it might make a difference

Edited by Guest
Link to comment
Share on other sites

Fixed...DWO line should not be X0/Y0. The axis nomenclature really should be fixed though. Ran it on a NGC UMC.

 

O12349
G20
G0 G17 G40 G49 G80 G90
G0 G28 G91 Z0.
(.375 X .100 KEYSEAT CUTTER HARVEY TOOL 22552 CUSTOM TOOL)
(.375 X .100 KEYSEAT CUTTER / MACHINE THREAD RELIEF /Z+3.4135)
M11(Lock commands unnessary for positional work)
M13
T10
G0 G154P80 G90 X-.873 Y-4.1887 C270. B90. S2500 M3
M10
M12
G43 H10 Z8.
/M8
G254 X0. Y0.  <-- (X-.873 Y-4.1887)
Z3.5135
G1 Z3.4135 F25.
G41 D10 X-.723 F20.
G2 X.05 Y-3.4157 I.773 J0.
X.823 Y-4.1887 I0. J-.773
X.05 Y-4.9617 I-.773 J0.
X-.723 Y-4.1887 I0. J.773
G1 G40 X-.873
G0 Z8.
M9
M5
G255
G0 G28 G91 Z0.
M11
M13
G0 G28 G90 B0. C0.<--(Should be G91)
M10
M12
G0 G91 G28 Y0.
G0 G90 G54 X0.
M30

  • Like 2
Link to comment
Share on other sites

UGH!

Haas applications actually stated that the machine might not like G01, G02, G03 and wants G1, G2, G3

Which completely belies that fact 9 previous toolpaths with complex 3D machine ran just effing fine!!!

Edited by Guest
Link to comment
Share on other sites

Your start point is not correct. I can't speak to your other ops, as I have not seen them. Ain't the machine....

This will run just fine with G01s

(TIME         - 1:56 PM)
(T239   - 1/2 FLAT ENDMILL     - H239   - D239   - DIA .5")
G00 G90 G17 G20 G40 G80
G53 Z0.
G53 X-30. Y0.
M31
(T239   - 1/2 FLAT ENDMILL     - H239   - D239   - DIA .5")
N23901 T239 M06
G00 G17 G90 G55
S1069 M03
B0. C0.
G254
X-2.0561 Y-.5
G43 H239 Z.25
Z.2
G94 G01 Z0. F6.42
G41 D239 X-1.5561
G03 X-1.0561 Y0. I0. J.5
G02 X-1.0561 Y0. I1.0561 J0.
G03 X-1.5561 Y.5 I-.5 J0.
G01 G40 X-2.0561
Z.2
G00 Z.25
M33
M05
G255
G53 Z0.
G53 X-30. Y0.
M11 (C-AXIS UNLOCK)
M13 (B-AXIS UNLOCK)
G91 G28 B0. C0.
M10 (C-AXIS LOCK)
M12 (B-AXIS LOCK)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...