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 post issue


Recommended Posts

I'm still in the day of MC9. And my post is MPLOKUMA. I have tried many ways, the way that is now working I know is wrong, and I don't want it to bit me. The post wants to output "G96 S500" (Surface Speed), then on the following line output "G97 S214" (Start up RPM). The control alarms out, it wants Start up RPM first. This is so far the only way I have got it to work,

 

prpm #Output for start spindle

speed = speedrpm

pbld, n, *sg97, *speed, *spindle_l, pgear, e

speed = g_speed

if css_actv, pbld, n, *sg9697, *speed, e

 

pcss #Output Constant surface speed

speed = g_speed

if css_actv, pbld, n,"(SURF SPEED ", *sg9697, *speed,")", e

!speed

 

I have looked for switches at the beginning of the post related to css but I don't see it in this post. I'm sure someone has figured this out, and I would sure like to know how. The machine is an Okuma Crown Lathe. Thank you all in advance.

Link to comment
Share on other sites

I don't use a G97 start rpm on any of our Okuma lathes, so I am curious why you want this; what is the benefit?

 

I looked in my Okuma posts and don't see anything obvious that would work better than your fix does. I modified one of my Fanuc posts to support this, but I don't use it, so I don't know how well it works:

 

I added this to General Output Settings: css_start_rpm : no #Do direct RPM spindle start prior to CSS

 

Then I have this in ltlchg which should give you the G97:

 

#Added for 'css_start_rpm' logic (09/05/01)

if css_actv,

[

if css_start_rpm,

prpm # Direct RPM startup for programmed CSS

else,

pbld, pcssg50, pcss # NO RPM start - just output the CSS

]

else, # Direct RPM was programmed

[

prpm # Output programmed RPM

]

 

Then I have this at the end of ltlchg which should output the CSS:

 

#Added for 'css_start_rpm' logic (09/05/01)

if css_start_rpm,

pbld, pcssg50, pcss # CSS output AFTER a G97 RPM spindle startup

 

Since I have the switch set to "no" I don't ever get this rpm, but it probably works

 

C

Link to comment
Share on other sites

I run this format

 

(TOOL - 1 OFFSET - 1)

(PCLNR 2525M 12 - R08 INSERT - CNMG 12 04 08)

(TOOL HOLDER - PCLNR 2525M 12)

(STOCK X 0.2 STOCK Z 0.6)

( FNISH FRONT OD )

NAT1

G0 X900. Z300. T010101

G97 S497 M63

G0 X160. Z5. M08

G96 S250

Z-7.394

X142.828

G95 G1 X140. Z-8.808 F.15

Z-32.055

X142.828 Z-30.641

G0 X160.

Z5.

( FINISH FRONT FACE )

X146.828

Z-9.394

G1 X144. Z-10.808

X102.572

X90.252

G2 X88.456 Z-10.362 I-45.926 K-91.417

X6.475 Z0. I-45.028 K-91.863

G1 X-2.

X.828 Z1.414

G0 Z5.

X160.

M09 M64

G97 S497 M42 M63

G0 X900. Z300. T0100

M01

 

I achanged this section

 

prpm #Output for start spindle

speed = speedrpm

if speed = zero,

pbld, n$, *spindle_l, e$ #RPM = '0', output just an 'M05'

else,

pbld, n$, *sg97, *speed, spindle_l, pgear, "M63", e$

!css_actv$

 

 

Link to comment
Share on other sites
  • 2 months later...

I run this format

 

(TOOL - 1 OFFSET - 1)

(PCLNR 2525M 12 - R08 INSERT - CNMG 12 04 08)

(TOOL HOLDER - PCLNR 2525M 12)

(STOCK X 0.2 STOCK Z 0.6)

( FNISH FRONT OD )

NAT1

G0 X900. Z300. T010101

G97 S497 M63

G0 X160. Z5. M08

G96 S250

Z-7.394

X142.828

G95 G1 X140. Z-8.808 F.15

Z-32.055

X142.828 Z-30.641

G0 X160.

Z5.

( FINISH FRONT FACE )

X146.828

Z-9.394

G1 X144. Z-10.808

X102.572

X90.252

G2 X88.456 Z-10.362 I-45.926 K-91.417

X6.475 Z0. I-45.028 K-91.863

G1 X-2.

X.828 Z1.414

G0 Z5.

X160.

M09 M64

G97 S497 M42 M63

G0 X900. Z300. T0100

M01

 

I achanged this section

 

prpm #Output for start spindle

speed = speedrpm

if speed = zero,

pbld, n$, *spindle_l, e$ #RPM = '0', output just an 'M05'

else,

pbld, n$, *sg97, *speed, spindle_l, pgear, "M63", e$

!css_actv$

Link to comment
Share on other sites
  • 6 months later...

Could you post a copy of you post processor here? I would really like to have it for my lathe. I am a retired machinist and i have a lnc8 in my hobby shop at home. I program by MdI now.

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