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 OSP3000L Zero Shift


Mick
 Share

Recommended Posts

Hi there,

 

Does anyone here have an example Okuma programme utilising the G50 Zero Shift command? I have a local customer having no success with it.

 

I used to run an old LS-N with an OSP3000L control, and I recall running this feature successfully. I thought I still had the example archived, but it appears I dont anymore :/

 

If anyone does, if possible, please email a sample to me, at [email protected]

Link to comment
Share on other sites

VZOFZ is Okuma's variable definition of Z zero [VZOFX, VZOFC, the list goes on; you get the idea] so you can shift the machine's perception of Z zero by arithmatically manipulating this.

 

We 'build' Z zero for each job by starting with a known base value [in our case the face of the turret top plate touched off on the face of the spindle] and adding things to it [thickness of the chuck, jaw height, distance from part locating surface to Z zero] to tell the machine where Z zero is located. This allows us to do a lot of things, including using the same TLO for a given tool regardless of where the part is in the machine AND shifting zero to machine multiple parts in one chucking.

 

Our 'zero set' line in the program looks like this:

 

VZOFZ=V182+V185+POCF+V1

 

Where:

V182 is the 'base' number

V185 is the height of the Kitagawa B210 chuck

POCF is a user variable which is the distance from the chuck face to Z zero

V1 is a fudge factor 'global shift' the operator can use if the stock is long / short / etc.

 

A simple Z zero shift of 1/2" would be:

 

VZOFZ=VZOFZ-.500

 

or you could go with:

 

VZOFZ=V182+V185+POCF+V1-.500

 

There are more complicated examples that I use and we can talk about those down the line if you are interested.

 

C

Link to comment
Share on other sites

Thanks for the replies guys. It seems the old OSP3000's are a dying breed.

 

If anyone does come across a G50 work shift example, please send it to me smile.gif

 

The OSP3000 doesn't have User Task, so that option isn't suitable. But thanks for responding.

Link to comment
Share on other sites

Chris,

 

I have been away a couple days sorry. Right now I use the MC9 Okuma post and modify the program alot. The machine is twin turret but the bottom turret has over .030 runout so i do not use it. In the program I have to recognize both turrets with G14 for the bottom and G13 for the top turret. It can not have any text. The machine needs 4 places past the decimal but can not have a decimal to recognize the deminsions. The machine has 4 gears that go from G41 to G44. I use mostly the higher gears. Any help you could give me would help. PM me if you would like.

 

Thank you very much,

Matt

Link to comment
Share on other sites

The gear range is a G code? That's weird... If you know what the RPM range is for each gear it is simple to modify the post's lookup table to post the correct gear. The no decimal place thing is just a format statement selection, so that's easy. The two-turret thing is beyond my post editing skills, I manually paste together my twin-turret stuff, but it doesn't sound like you use the lower turret anyway [why not fix the alignment?].

Link to comment
Share on other sites

Format statements are here:

 

# --------------------------------------------------------------------------

# Format statements - n=nonmodal, l=leading, t=trailing, i=inc, d=delta

# --------------------------------------------------------------------------

#Default english/metric position format statements

fs2 1 0.7 0.6 #Decimal, absolute, 7 place, default for initialize ( )

fs2 2 0.4 0.3 #Decimal, absolute, 4/3 place

fs2 3 0.4 0.3d #Decimal, delta, 4/3 place

#Common format statements

fs2 4 1 0 1 0 #Integer, not leading

fs2 5 2 0 2 0l #Integer, force two leading

fs2 6 3 0 3 0l #Integer, force three leading

fs2 7 4 0 4 0l #Integer, force four leading

fs2 9 0.1 0.1 #Decimal, absolute, 1 place

fs2 10 0.2 0.2 #Decimal, absolute, 2 place

fs2 11 0.3 0.3 #Decimal, absolute, 3 place

fs2 12 0.4 0.4 #Decimal, absolute, 4 place

fs2 13 0.5 0.5 #Decimal, absolute, 5 place

fs2 14 0.3 0.3d #Decimal, delta, 3 place

fs2 15 0.2 0.1 #Decimal, absolute, 2/1 place

fs2 16 0 4 0 4t #No decimal, absolute, 4 trailing

#Default english/metric feed format statements

fs2 17 0.2 0.1 #Decimal, absolute, 2/1 place

fs2 18 0.4 0.3 #Decimal, absolute, 4/3 place

fs2 19 0.5 0.4 #Decimal, absolute, 5/4 place

fs2 20 1 0 1 0n #Integer, forced output

fs2 21 6 0 6 0l #Integer, six four leading

 

 

It sounds like you want 16 [no decimal, abs, 4 trailing] for your X,Y,Z,U,V,W values; you might need to screw around a little with I,J,K,F, etc to get what you want. Those values are set here:

 

 

# --------------------------------------------------------------------------

# Toolchange / NC output Variable Formats

# --------------------------------------------------------------------------

fmt T 7 toolno #Tool number

fmt G 4 g_wcs #WCS G address

fmt P 4 p_wcs #WCS P address

fmt S 4 speed #Spindle Speed

fmt M 4 gear #Gear range

fmt S 4 maxss #RPM spindle speed

# --------------------------------------------------------------------------

fmt N 4 n #Sequence number

fmt X 2 x0 #X ZERO position output

fmt X 2 y0 #Y ZERO position output

fmt X 2 z0s #Z ZERO position output

fmt X 2 xabs #X position output

fmt Y 2 yabs #Y position output

fmt Z 2 zabs #Z position output

fmt U 3 xinc #X position output

fmt V 3 yinc #Y position output

fmt W 3 zinc #Z position output

fmt I 3 iout #Arc center description in X

fmt J 3 jout #Arc center description in Y

fmt K 3 kout #Arc center description in Z

fmt L 2 arcrad #Arc Radius

fmt F 18 feed #Feedrate

fmt F 10 dwell #Dwell

fmt M 5 cantext #Default cantext

Link to comment
Share on other sites

For the gear range selection you'll need to change this:

 

# --------------------------------------------------------------------------

# Define the gear selection code

flktbl 1 3 #Lookup table definition - table no. - no. entries

40 0 #Low gear range

41 400 #Med gear range

42 2250 #Hi gear range

 

 

to this:

 

 

# --------------------------------------------------------------------------

# Define the gear selection code

flktbl 1 4 #Lookup table definition - table no. - no. entries

41 0 #1st gear range

42 500 #2nd gear range

43 1000 #3rd gear range

44 1500 #4th gear range

 

The RPM stated is where the machine will shift ranges [the bottom of the range for each gear]. Be sure you change the 'number of entries' for the table from 3 to 4 [as I have done in my example] or you'll never get hi gear.

 

You will also need to change the format statement for gear range to post G instead of M, here:

 

fmt M 4 gear #Gear range

 

AND you will need to switch 'usegear' on

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