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:

Can a post be set to rotate a program


Guest
 Share

Recommended Posts

I have a customer who has 2 kitamuras. The vises in one are set 90 degrees to the other, meaning the part has to be rotated to run on the other machine.

 

Now my sort of off the wall question.

 

Can a post take the top view and rotate it 90° automatically or must I do it in the file itself?

Link to comment
Share on other sites

I have always done it manually in the file. The tech at the resale place has never mentioned being able to post out the rotation. I will ask him next time I talk to him. It would save some time, but alot of the stuff we put on our kits, is from other machines and I just do a conversion for them.

Link to comment
Share on other sites

quote:

you could set a misc. intergerreal and put in the rotation angle.

I've alreay done that in a different post for probing but they do not have G68 capability. The rotation always is a simple 90°

 

I might try tinkering with the machine def and perhaps I can flip the axis', I'll have to dig a bit deeper.

Link to comment
Share on other sites

after my coffee I had an idea..

have fun.

 

code:

# mi3 - If you also want the same part rotated along the back jaw of the vise

# set mi3 of the first operation only, 1=rotate 0=dont

#

code:

smi3      : 0           # save mi3 rotate flag  

code:

 rtf   : 0       # rotate flag 

code:

 psboutr # write out rotated sub programs

prv_opid1=c9k

rtf=1

prrwc

if bocstr=1000|bocstr=1010|bocstr=100,psbout

else,[result=mprint(string2),e$

exitpost$]

rtf=0

Link to comment
Share on other sites

Well if I had read it was vice and not tombstone then I would have not asked the stupid question. Cimco 5 has this ability change things pretty easy from what I under stand.

 

FYI MPGEN5AX has machine matirx capabilites in the post. If you play with the mat varaible you might get this without a lot of work. Here in this part of the post.

 

code:

#Machine base matrix (Base matrix to map positions into)

matb1$ : 1

matb2$ : 0

matb3$ : 0

matb4$ : 0

matb5$ : 1

matb6$ : 0

matb7$ : 0

matb8$ : 0

matb9$ : 1

HTH

Link to comment
Share on other sites

some controls can rotate the program right on the control. I know some (i dont know if all) Yasnacs can do this. The ones i used had a set up of using variables for vork offsets such as this... G54 J#XXX. Then in your work offset page there is your G54 1-27 (27 pages of G54-G59, each with its X Y Z offset) but then it also has an R value, which is the rotation angle of the part orientation, so you can set it up and rotate the program if you wish and the control would compensate for the programmed values. just my 2 cents, i dont know if the post will do it for you tho

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