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:

G2/G3 Makes B axis Move?


Dave Ball
 Share

Recommended Posts

I'm just beggining to switch this shop over to EIA from Mazatrol and when testing a program in a Mazak HCN6000, G2/G3 lines cause the B axis to do a little dance only to reposition where it started, one of the strangest things I've ever seen. Even tried forcing the X & Y but it didnt help. Anyone with a Mazak care to chime in as what the problem may be?

 

 

 

O00006002(0600-011-001 OP2 TEST)
(DATE - MAY-29-2012)
(TIME - 4:30 PM)
(TOOL - 109   DIA. OFF. - 109   LEN. OFF. - 109  D3.0000  )
G0 G17 G20 G40 G80 G90
G91 G30 Z0.
G30 X0. Y0.

(RUFF FACE MILL TOP SIDE)
N1 T109 M06 (3" HIGH FEED)
G0 G17 G90 G54 B0.
X-2.3749 Y5.4937 S2050 M3
G43 H109 Z16.44
Z15.54
G94 G1 Z15.4031 F250.
Y29.9937 F369.
G2 X0. Y29.9937 I1.1874 J0.
G1 Y6.9937
G3 X2.3749 Y6.9937 I1.1874 J0.
G1 Y31.4937
Z15.3663 F250.
Y6.9937 F369.
G2 X0. Y6.9937 I-1.1874 J0.
G1 Y29.9937
G3 X-2.3749 Y29.9937 I-1.1874 J0.
G1 Y5.4937
Z15.3294 F250.
Y29.9937 F369.
G2 X0. Y29.9937 I1.1874 J0.
G1 Y6.9937
G3 X2.3749 Y6.9937 I1.1874 J0.
G1 Y31.4937
Z15.2925 F250.
Y6.9937 F369.
G2 X0. Y6.9937 I-1.1874 J0.
G1 Y29.9937
G3 X-2.3749 Y29.9937 I-1.1874 J0.
G1 Y5.4937
Z15.2556 F250.
Y29.9937 F369.
G2 X0. Y29.9937 I1.1874 J0.
G1 Y6.9937
G3 X2.3749 Y6.9937 I1.1874 J0.
G1 Y31.4937
Z15.2188 F250.
Y6.9937 F369.
G2 X0. Y6.9937 I-1.1874 J0.
G1 Y29.9937
G3 X-2.3749 Y29.9937 I-1.1874 J0.
G1 Y5.4937
Z15.1819 F250.
Y29.9937 F369.
G2 X0. Y29.9937 I1.1874 J0.
G1 Y6.9937
G3 X2.3749 Y6.9937 I1.1874 J0.
G1 Y31.4937
Z15.145 F250.
Y6.9937 F369.
G2 X0. Y6.9937 I-1.1874 J0.
G1 Y29.9937
G3 X-2.3749 Y29.9937 I-1.1874 J0.
G1 Y5.4937
G0 Z16.145
M5
G91 G30 Z0.
G30 X0. Y0.
M1

(RUFF FACE MILL LEFT SIDE)
N2 T109 T109 M06 (3" HIGH FEED)
G0 G17 G90 G55 B270.
X12.7501 Y6.5437 S2050 M3
G43 H109 Z4.25
Z3.35
G94 G1 Z3.2117 F250.
Y30.2937 F369.
G2 X14.3749 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z3.4617
X12.7501
Z3.3117
G1 Z3.1733 F250.
Y30.2937 F369.
G2 X14.3749 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z3.4233
X12.7501
Z3.2733
G1 Z3.135 F250.
Y30.2937 F369.
G2 X14.3749 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z4.135
M5
G91 G30 Z0.
G30 X0. Y0.
M1

(REFF FACE MILL RIGHT SIDE)
N3 T109 T109 M06 (3" HIGH FEED)
G0 G17 G90 G56 B90.
X-14.3749 Y6.5437 S2050 M3
G43 H109 Z4.25
Z3.35
G94 G1 Z3.2117 F250.
Y30.2937 F369.
G2 X-12.7501 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z3.4617
X-14.3749
Z3.3117
G1 Z3.1733 F250.
Y30.2937 F369.
G2 X-12.7501 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z3.4233
X-14.3749
Z3.2733
G1 Z3.135 F250.
Y30.2937 F369.
G2 X-12.7501 Y30.2937 I.8124 J0.
G1 Y6.5437
G0 Z4.135
M5
G91 G30 Z0.
G30 X0. Y0.
M1

Link to comment
Share on other sites

just a thought

if this is a rotary 4th and not an indexer, i didnt see any code to lock the baxis once you indexed, could be the bxs servo trying to hold the table still while your cutting? but youd think it would chatter like crazy

Link to comment
Share on other sites

I haven't actually cut anything at this point, just testing code. The B axis moves about 10 deg when it encounters G2/G3 so instead of a +Y axis move followed by a 180 deg arc leading to a -Y axis move, I get +Y move then the B axis and X move then the -Y move. I will try locking the B axis.

Link to comment
Share on other sites

yeah that dosent make sense, the only mazak controller ive encountered is the m32, and i dont remember anything special to make it work of iso gcode, i would check the operator/programming manual then, its has to be a specific code its looking for or a parameter is set wrong somewhere,,, but im still at a loss as to why the b rotates when its not commanded to do so

Link to comment
Share on other sites

Extremely bizarre, thats almost exactly what the applications manager at Mazak said, they are looking into it. Good thing for me they are right down the road :) I'm thinking it's a parameter type issue because the code looks good.

 

Some of the canned cycles require a B or J value, and if you're using a horizontal (which you are), there's a parameter that you switch to make sure you use Js (don't want to spin the B axis at the bottom of a deep boring cycle!). Although it'd be exceptionally weird, there potentially could have been a parameter somewhere that somebody mucked up, and it tries to see your Js as B values. Not sure such a thing even exists, or why it would exist, but it's the first thing that came to mind when I glanced at your code and saw the Js. If you try using Rs instead IJK, does it still move the B?

 

j.jpg

 

Oh, and we use IJK here, with no problems. Something weird is going on either way, but at least if you used R's and it didn't wiggle the B, you'd have a place to start.

Link to comment
Share on other sites

When posting the program with "R" values it runs fine, the B axis does not move, but I'm not a big fan of the "R" values, I have been burnt a few times. Sent all the machine & user parameters to Mazak and they are doing a comparision to the "as shipped" parameters.

Link to comment
Share on other sites

"Thanks" for the info about G17, but tryit.

I have the same behaviour on a Integrex and once I add the G17 in G43 line it stop moving B and C (in my case)

See the code bellow.

 

 

N35 T35 M06

M01 G91 G28 X0 B0

M108 M212

M211

S5000 F4000. M03 G97

G56 G90 G00 G17 B0

G43 Z-51.969 Y7.521 C150.

G43.4 X145.474 Y7.521 Z-51.969 B60. C150.

G49

G68 X0. Y0. Z0. I0. J1. K0. R60.

G43 G90 G0 G17 X117.744 Y7.521 Z100. <<<added G17

Z1.544

G1 Z-.256

X117.389 Y9.612 Z-.311

X120.65 Y-9.613 Z-.822

X117.389 Y9.612 Z-1.333

X120.65 Y-9.613 Z-1.843

X117.389 Y9.612 Z-2.354

X116.887 Y10.112

X122.65 Y8.612

G41 Y9.112

G3 X120.65 Y11.113 I-2. J0. <<<< B&C axis moving

G1 X115.887 Y11.112

Y-11.113

X125.412

Y11.112

X120.65

X120.15

G3 X118.15 Y9.113 I0. J-2. <<< B&C axis moving

G1 G40 Y8.612

 

.....just tryit. Maybe will solve your problem 2.

Link to comment
Share on other sites

OK so I tried putting the G17 on its own line per the suggestion from Mazak and it fixed the problem, I havent tried the G17 on the G43 line but it appears that if the XYZB locations are called out on the same line as the G17 things work correctly but if only the B is set on that line and then XYZ on a later line its gets goofy. So it looks as if you were correct Griveous74, Thanks a ton! :thumbsup:

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...