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 2009-07-16 15:21:28

rotoman
Member
Registered: 2009-07-16
Posts: 4

Need help with G91 G28 Z0

I'm new to using Vericut with posted output.  I've used Vericut in the past just to run CLS files but at my new job that won't do.  I've figured out how to get the g-codes to run on my models and found a machine in the samples folders that works but when I run this line of code, G91 G28 Z0, which we use at the end of our tool paths to send "Z" axis away from the part Vericut handles it by plunging the tool to Z0 making for a messy looking model.  I don't know were to flip a switch or define this code in the machine file or control file to make it just retract away some distance when this line of code is read.  I'm using the fan11m control file and the 4htm machine file.  Everything else works fine.  Greatly appreciate any help.

Offline

#2 2009-07-16 16:20:20

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: Need help with G91 G28 Z0

The machine 4htm.mch is a lathe with a turret. The fan11m.ctl is a milling control. :?

Give me a description of your machine, I will point you to a good start file.

In 6.2, we added some templates to start simple jobs.
2_axis_lathe_template_inch/metric.vcproject
3_axis_mill_template_inch/metric.vcproject
4_axis_mill_b_table_template_inch/metric.vcproject

Offline

#3 2009-07-16 17:12:06

rotoman
Member
Registered: 2009-07-16
Posts: 4

Re: Need help with G91 G28 Z0

I don't feel to stupid Duh! but the 4htm.mch processes the x y z c code on the model perfectly.  The machine I'm programming is a 5 axis table on table Mori Seiki.  The spindle is horizontal.  We only use the "B" axis for positioning and it is rarely called out in the program however it would be nice to have it be simulated for positioning but for now I was just looking to get X Y Z C going.  We rotate the "C" for drilling holes or doing repetitive geometry at the 9 o'clock position.  I tried using the "basic_4_axes_c_table.mch" in the library folder but it's named wrong or at least that's what I think because when I opened it there were references to "B" axes everywhere and no "C" to be found and when I ran it with the program it rotated everything about the "Y" axis indicating to me it's set up for a "B" table.

Got any recommendations?

Offline

#4 2009-07-16 17:37:33

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: Need help with G91 G28 Z0

Open the Library, 4_axis_mill_template_inch.vcproject

The machine has the B axis, you need to add a C axis to the table.

open the Component Tree
select the B (0, 0, 0)
right-click, Append > C Rotary
Drag and drop the Attach component on the C component

--- You should have the Attach connected to C and C connected to B

you might have to move the C axis a certain height above the B table.
double-click on C (0, 0, 0)
Position tab
in the Position field, enter the position in Z (for example: 0 0 10).
OK

Save the machine in your working directory.

You can also refer to the Help ,sessions 102 and 103 to build a machine kinematics. you do not need any special licenses to create or modify a machine. all the files for the training sessions are installed with the software.

Offline

#5 2009-07-16 17:50:59

rotoman
Member
Registered: 2009-07-16
Posts: 4

Re: Need help with G91 G28 Z0

thanks Serge I'll give it a try.

Offline

#6 2009-07-16 18:39:00

rotoman
Member
Registered: 2009-07-16
Posts: 4

Re: Need help with G91 G28 Z0

Serge,
Thank you so much...it worked!!!

Offline

Board footer