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:

x move basic


craney
 Share

Recommended Posts

Hello, I am working on drilling a shaft in rotation. the end is at x,y 0 and the shaft is drawn towards positive x. the first hole is 1" in and the second hole is 4" in. the first move shows x-1 but the second one is x4. shouldn't the second be -4 or is that decided by the first negative sign? the table should be moving -1 and -4 to give me holes at 1 and 4 on the shaft.

see code below.

thank you!

 

O00511
( O00511.NC )
( MAR. 17 2015  - 11:54 AM )
( TOOL - 2  1/4 CENTERDRILL / TOOL DIA. - .25 )
( TOOL - 3  1/2 DRILL / TOOL DIA. - .5 )
( TOOL - 4  25/32 DRILL / TOOL DIA. - .78125 )
N100 G20
N110 G0 G17 G40 G49 G80 G90
 
N120 T2 M06   ( TOOL - 2  1/4 CENTERDRILL / TOOL DIA. - .25 )
N130 A180.
N140 G0 G90 G54 X-1. Y0. S1200 M3
N150 M08
N160 G43 H2 Z3.5
N170 G98 G83 Z1.3 R1.6 Q.1 F2.
N180 G80
N190 A90.
N200 X4.
N210 G98 G83 Z1.3 R1.6 Q.1 F2.
N220 G80
N230 M09
N240 M5
N250 G90 G53 Z0.
N260 M01

Link to comment
Share on other sites

My guess would be you used the system Back plane to define your 90 degrees instead of rotation top 90°

 

Short of a file, only a guess..

 

but suffice to say a plane is out of orientation

 

make sure you A0 and your A90 planes that the X + axis direction goes the same way

Link to comment
Share on other sites

I'm thinking it should look like this, and JParis is right you probably had your cplane wrong.  Make sure your in top plane, and if you need to rotate around your part then change planes.

 

Good Luck,

Frank

 

 

N120 T2 M06   ( TOOL - 2  1/4 CENTERDRILL / TOOL DIA. - .25 )
N130 A180.
N140 G0 G90 G54 X1. Y0. S1200 M3
N150 M08
N160 G43 H2 Z3.5
N170 G98 G83 Z1.3 R1.6 Q.1 F2.
N180 X4.
N220 G80
N230 M09
N240 M5
N250 G90 G53 Z0.
N260 M01

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