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:

lathe post question


YoDoug®
 Share

Recommended Posts

This is the code I get for threading cycles

code:

N118 G32 Z0. E.03125  

This is what I need.

code:

 N118 G32 Z0. F.0312 

I need to change the E to an F and to limit the feedrate to 4 decimals.

 

Where in the post controls letters assigned to feedrates

 

Thanks in advance

Link to comment
Share on other sites

Well seiing how MPFLAN is using feed to control that wierd you are getting E. Look to see what this is set to in your post also put this part of your post as well.

code:

fmt  F  18  feed        #Feedrate

 

pthrg32_3$ #G32 threading third

copy_x = vequ(x$)

pcom_moveb

pcan1, pbld, n$, sgfeed, *sthdgcode, pxout, pyout, pzout, pcout, pffr,

strcantext, e$

pcom_movea

prv_gcode$ = m_one


Link to comment
Share on other sites

Change this:

 

code:

pfr_l           #Format feedrate for lathe

if opcode$ = 104,

[

#Format feedrate for lathe thread

result = nwadrs(stre, feed)

result = newfs (19, feed)

]

else,

[

result = nwadrs(strf, feed)

result = newfs (18, feed)

]

To:

 

code:

pfr_l           #Format feedrate for lathe

if opcode$ = 104,

[

#Format feedrate for lathe thread

#result = nwadrs(stre, feed)

result = newfs (19, feed)

]

else,

[

result = nwadrs(strf, feed)

result = newfs (18, feed)

]

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