VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2013-09-29 20:46:48

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

User Specified Home Return

On our Okuma MU500, we have specified a G30 P5 command.

This performs the following movements in order:

Retracts on Z to upper limit
Moves to X negative limit, and Y positive limit

In the control file, I have specified G30 P5 as follows:

Zaxismotion (Value 900)
Processmotion
Xaxismotion (Value -900)
Yaxismotion (Value 900)
Processmotion

I set no movement for the two rotary axes, as I want them to remain in their current position.

However, when I run the command, The Z axis, X axis and Y axis all move at the same time, and both the C and A axis return to their zero positions. How do I change this to move on Z first, then X and Y, and with no rotary motion? (which is how the machine moves)

Regards,

Mike


New Zealand Vericut Reseller

Offline

#2 2013-09-30 01:44:05

Verifun
Senior Member
From: U.S.
Registered: 2005-03-31
Posts: 351
Website

Re: User Specified Home Return

It's strange how VERICUT behaves sometime...

I'm sure there's something we're doing wrong, as I'm experiencing a similar issue as you can see on my previous post about Z axis...

What you did is what I would do as well...

I noticed there's a combination which is G30 and P5...

Any chance G30 alone is defined in the control and is taking precedence?


Daniel Santos

Offline

#3 2013-09-30 02:25:45

Verifun
Senior Member
From: U.S.
Registered: 2005-03-31
Posts: 351
Website

Re: User Specified Home Return

Well,

I made some changes in the Okuma VMC from the sample library and got what you wanted... it does not have rotaries but the order of events in XYZ occured as you expect... I guess it would work with a 5 axis Okuma as well...

Notice I used ?AxisMachineRefMotion instead of ?axismotion like you mentioned since you want the movements to occur relative to the reference point right... but then instead of entering +/-900 as the values, you could enter 0 as the value in the ?AxisMachineRefMotion macros and set the reference location in the machine location tables in the last pic... then there you could set that the reference point is +/-900 from the machine origin... just a different way to achieve the same...

G30P5.png

In case you may want to change the machine reference location:

machref.png


Daniel Santos

Offline

#4 2013-09-30 02:35:10

Verifun
Senior Member
From: U.S.
Registered: 2005-03-31
Posts: 351
Website

Re: User Specified Home Return

Could not resist...

I loaded the control I changed in the previous post in the 5 axis Hermle machine from the library and run a G30 P5 command...

It worked as expected and the rotaries did not move...

g30p5.gif


Daniel Santos

Offline

#5 2013-09-30 07:53:42

mcam
Beta User
From: Planet Earth
Registered: 2007-06-10
Posts: 81

Re: User Specified Home Return

Hi Daniel. Thanks for the comprehensive reply. I've not long got home, so I will look at this first thing tomorrow.

G30 is not defined by itself, so it wasn't misbehaving smile


New Zealand Vericut Reseller

Offline

Board footer