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:

G43.4 and G68.2 Error Questions


KevinMSC
 Share

Recommended Posts

 I recently started trying to perform multi axis operations on our OKK VP600 5axis. Up until this point all of our 3 axis operations worked fine with our mastercam 19 post processor. Earlier I tried to run a simple multi surface code that when I ran it threw up error"PS5421 illegal command in G43.4/G43.5" on our Fanuc series 310is-model A5 controller.  The simulation in master cam went fine and the simulation on the machine went fine. I've never had any issues running multiaxis codes on our other machines which have a rotating head as opposed to this machine which has a trunnion table. I posted a sample of my code below. I know this has something to do with TCP but I am unsure how to fix this.


G00 G17 G20 G40 G80 G90
G91 G28 Z0.
G28 X0. Y0.
M79
M11
G90 A0. C0.
N1
T3 (0.5 SPHERICAL / BALL-NOSED ENDMILL)
M06
G54 G17 G90
G00 A-90. C90.
G43.4 H3 X0. Y-6.6062 Z5.85 S2139 M03
G94
G05 P10000
Z3.85
G01 Z1.85 F25.
G93 C92.102 F472.46
C94.282 F456.31
C96.541 F440.02
C98.882 F423.9

 

Another code I tried to run used a rotated machining plane when I tried to run this code I got the error "0010 Improper G Code"  when it hit the line with G68.2

G00 G17 G20 G40 G80 G90
G91 G28 Z0.
G28 X0. Y0.
M79
M11
G90 A0. C0.
N1
T1 (1/2 FLAT ENDMILL)
M06
G54 G17 G90
G00 A-90. C-90.
G68.2 X0. Y0. Z0. I90. J90. K0.
G53.1
M78
M10
X-10.8459 Y.175 S2139 M03
G43 H1 Z10.1609
G94
G05 P10000
Z1.5625
G01 Z1.2157 F6.42
X-10.348 Y.2208 F32.09
G03 X-9.8958 Y.7645 I-.0458 J.4979

 

I am really looking for any help I can get right now. I am unsure if it is something I am doing wrong with the machine set up since this is our first trunnion table machine or if our post processor needs to be updated.

Thank You!

Link to comment
Share on other sites

Is this a purchased post for that machine specifically? If so, head back to the people that wrote the post...but you'll need to tell them what you need...

If this is a "do all" post...you may need to work up a different version of it to drive a different machine

 

Link to comment
Share on other sites

This post processor was bought for this machine through our mastercam distributor. I currently have a service ticket in with them but still haven't heard anything. While I am waiting I figured i could post here to see if I could learn anymore info and if it was actually the post processor or if I was doing something wrong.

Thanks for the reply!

Link to comment
Share on other sites

Kevin,

 

the issue with the G68.2 may be the code following it. The post I'm using for an Integrex is not setup properly and posts code on the K line that is past 360 degrees occasionally, looking something like this.

G54
M108 M212
B10. C20.
M107
G68.2 P1 X0. Y0. Z0. I0. J10. K380.
G53.1 P1
G97 S2139 M3
G43 H#3020 X-.6858 Y.0534 Z.0764

This throws the machine into a similar alarm state.

In your example I can see that you're using A-90. however your I is a positive value. Maybe try switching this either to a negative value or possibly 270 degrees.

 

The moves it makes during this mode can be extremely dangerous, approach this with caution.

 

With Regards,

 

Caleb

 

Link to comment
Share on other sites

I just noticed that you are turning on high speed after you are in G43.4 & G68.2.

Try moving your G05 P10000 before, like so:

G00 G17 G20 G40 G80 G90
G91 G28 Z0.
G28 X0. Y0.
M79
M11
G90 A0. C0.
N1
T3 (0.5 SPHERICAL / BALL-NOSED ENDMILL)
M06
G54 G17 G90
G05 P10000
G00 A-90. C90.
G43.4 H3 X0. Y-6.6062 Z5.85 S2139 M03
G94
G05 P10000
Z3.85
G01 Z1.85 F25.
  • Like 1
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...