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 2012-06-13 11:08:16

MIKEFITZ
Member
From: Chicopee, MA
Registered: 2009-06-18
Posts: 104

Mazak Variaxis Spindle Motion

Hi all. I have a Mazak Variaxis 630. It is a five axis vertical mill, with C-on-A rotary table. What I need to do is simulate Dynamic Offsets (G54.2), which I have done for a long time with out issue, since the Workpiece coordinate is usually at the center of the C rotation. However, when the workpiece coordinate is not on center, the X, Y, and Z axes all try to maintain the current position relative to the pickup when the table rotates, which causes all sorts of travel and collision errors. On the machine, X, Y, and Z all just go to their programmed position with no regard for what the table is doing.

How can I make the linear axes move independantly of the rotaries?

Thanks in advance.


Mike
Hoppe Tool

Offline

#2 2012-06-13 14:00:23

NathanG
Member
From: Middletown, CT
Registered: 2010-11-29
Posts: 11

Re: Mazak Variaxis Spindle Motion

To learn more about the work offset compensation methods you can take a look at ...\7.1.6\samples\dynamic_part_for_rotary_table_configurations.vcproject or read the macro documentation (highlight a macro and press F1 to call up the help).  From your decription it sounds like RTCP is turned on and it probably shouldn't be.  A generalized overview:

RTCP = make the tool tip maintain position relative to rotaries
RPCP = make the active coordinate system rotate with the part
DWO = make the work coordinate origin maintain position relative to rotaries

Your control may be configured slightly different than others, and how your G54.2 actually behaves on the machine will depend on parameters set at the machine...  multiple behavior types are possible.

First, take a look at your initial machine setting.  Reset the simulation and then use Info > Machine Offsets.  Look at RTCP, RPCP and DWO.  Are they black or light gray?  If they are black then they are active at machine initialization.  You can change this by going to Configuration > G-Code Processing > Events > Start of Processing.  Look for the macros RtcpOn, RpcpOn and DynamicWorkOffsets with override value = 1.  You can replace them with RtcpOff, RpcpOff and DynamicWorkOffsets with override value = 0 as needed.  Configuration > Control Settings > Rotary tab > the RTCP settings here can also affect the initial state, but whatever values are set in Events >Start of Processing functions as an override allowing you to ignore the Rotary tab's RTCP settings.

Ok, so now that you have you initial machine state all sorted out, see what is getting turned on when you activate G54.2.  Configuration > G-Code Processing > Word/Address > G_Prep > G 54.2 and see what macros are placed there.  Also look at whatever code you are using to cancel it.  Maybe you can just add a RtcpOff macro to G54.2 and that will solve your problem.  The larger concern is to make sure that you aren't turning on a function that isn't getting turned off when it should, so keep an eye on the Info > Machine Offsets window to isolate any problems here.

Offline

#3 2012-06-14 17:00:47

MIKEFITZ
Member
From: Chicopee, MA
Registered: 2009-06-18
Posts: 104

Re: Mazak Variaxis Spindle Motion

Thanks a lot, Nathan.

That helped, and now it works beautifully.  big_smile


Mike
Hoppe Tool

Offline

Board footer