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 thread force M22


steveo25
 Share

Recommended Posts

Does anyone know how I can force a M22 in to my okuma thread cycle.

The post im using is the osp7000l 2x lathe.

The code looks like this.

code:

 N9 G13(T0808 5/8"THRD BAR)

N120 G97 S360 M03 M40 P0200

N122 G0 G90 G94 X1.469 Z.26 T0909 M08

N124 Z-.65

N126 G71 X1.75 Z-2.5 B00 D.0063 U.002 H.081 M32 M73 F.0833

N128 Z.26

N130 M09

N132 G0 X30.0 Z30.0

N134 M02 P1000

And i want it like this:

code:

 N9 G13(T0808 5/8"THRD BAR)

N120 G97 S360 M03 M40 P0200

N122 G0 G90 G94 X1.469 Z.26 T0909 M08

N124 Z-.65

N126 G71 X1.75 Z-2.5 B00 D.0063 U.002 H.081 M22 M32 M73 F.0833

N128 Z.26

N130 M09

N132 G0 X30.0 Z30.0

N134 M02 P1000

Thanks

Link to comment
Share on other sites

I think this is the line I need to force but im not sure. I have 0 in my pull off but its still not outputting the M22. How would I force this?

Also im using Version X2

 

code:

 pg32e$           #G32/G92 threading end

if thdpulloff$, pbld, n$, "M22", e$ # Chamfering OFF

gcode$ = zero

lrapid$


Link to comment
Share on other sites

Steve,

 

understanding WHY you had to force it out is just as important as finding out you can force it out. Way to much to type on this subject but I may ave done so int he past. It's a basic understanding of variables and output - Things that play into this are the formatting, the defining/declaring of the variable, how the variable gets it's value and what that value is.

 

Getting the post to output the right code is only half the battle, understanding why it does it is imperative to moving forward.

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