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:

Okuma lathe Sub home position


MSL
 Share

Recommended Posts

Hi,

I get inconsistent and negative numbers for my home position when I program for Sub spindle.How can I fix this?  
Please see G-Codes below.
Thank you.
N100
( OPERATION: 15 )
(TG=1 | SUB.80 DEG. | INSERT - CNMG-432)
(SUB FACE)
M109
G136
G0 X80. Z-22.4316             <--------------Should be X40. Z40.
G0 T010101
G18
G97 S200 M04
G0 X6.03 Z.01 M8
X2.2
G95 G1 X-.0625 F.01
G0 Z.11
X2.2
Z0.
G1 X-.0625 F.005
G0 Z.1
( OPERATION: 16 )
(ROUGH SUB)
G96 S500
X1.8045
Z.2
.
.
.
X.7929 Z-.5473
G0 X6.03
M9
G136
T000100
G00 X80. Z-22.4316                <--------------Should be X40. Z40.
M05
M01
N110
( OPERATION: 17 )
(TG=7 | 1/2 FLAT ENDMILL)
(SUB. HEX)
M110
G138
G0 X40. Y-40. Z-40.           <--------------Should be X40. Y40. Z40.
G0 T070707
G17
G94
G0 X.8604 Y.1061 Z-17.9384
C0.
M8
SB=5000 M13
Z-18.0884
.
.
.
G0 Z-17.9384
M9
G136
T000700
G00 X40. Y-40. Z-40. C0.           <--------------Should be X40. Y40. Z40. C0.
M12
M01
N120
( OPERATION: 18 )
(TG=8 | NO. 7 DRILL)
(SUB. FACE DRILL)
M110
G136
G0 X80. Z-40.                   <--------------Should be X40. Z40.
G0 T080808
G17
G94
G0 X1.5222 Z1.
C0.
M8
SB=2500 M13
G94
G183 X1.5222 Z-17.9384 C0. K18.6384 D.05 L.05 DA=.1 F3.
C300. M16
C240. M16
C180. M16
C120. M16
C60. M16
G180
G0 Z1.
M9
G136
T000800
G00 X80. Z-40. C0. M15                 <--------------Should be X40. Z40.  
M2
Link to comment
Share on other sites
45 minutes ago, Colin Gilchrist said:

What are your Home Position settings?

What is 'Misc Int. #1' Set to? There are 4 options. for this Integer. One of these options is 'User Defined'.

 

Hi Colin,

The post is set up to use Misc Int. 3 for home position. I'm not sure why is outputting negative values!!

 

5.JPG

6.JPG

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