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 OSP-P300 question


Recommended Posts

G20 HP=4

 

Does anybody know where to set the home positions that are used in the above line? We're working on a new post for our twin-saddle twin-spindle machines. We use the G20 HP=4 code on the MacTurns/ Multus to send the live spindle to the toolchange position. They were set by the manufacturer so I don't know where they are at. I would like to try using the G20 on our turret lathes, although I'm thinking it might only be usable for machines with an ATC.

 

Thanks for the help.

Link to comment
Share on other sites

Not sure what you are trying to do, but you can write to Positive and Negative Variable Limits in your programs. We do this all day, every day, to make sure the machines are in a safe index position before toolchanging.

 

If you wanted the machine to index in the same place all of the time, you could put the encoder values in common variables and then read those values into the Positive and Negative limits in the program.

 

For instance, we use V181 for X and V182 for Z to establish index position; in the Common Variables for [1] machine, V181=961.4179, V182=639.5625

In the program, we set VPVLX=V181 and VPVLZ=V182, so when you send the machine home (G00 X100. Z100. or whatever you use) it always goes to the same spot; if the operator changes it for some reason, the program writes over it and goes there anyway.

 

Not sure if this is what you are trying to do, but OSP controls can do damned near anything you want.

 

C

Link to comment
Share on other sites

It's more for the hopes of a common structure, so shifting programs around from one machine to another can be relatively painless. For our machines with ATC (Macturn/Multus) we use the G20 because that's the tool change position, for the turret lathes (LT's, LB's, LU's) we just send them to their "limits."

 

Calling G00 X20. Z32. is good enough for our LT's, but the LB's have a lot more travel than that!

 

Your idea is a good one, though, so I'm going to look into that further. Thanks!

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