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 2005-07-18 04:33:51

pblythe
Member
From: New Zealand
Registered: 2005-04-06
Posts: 10
Website

Getting VERICUT to understand G30 X0 P3

Hi.
Could anybody tell me how to make VERICUT understand the secondary Reference point positions (FANUC)  They are initated by G30 X?? Y?? Z ?? P3.  The P value indicates which register to use.  The acual Machine co-ordinates are stored in the machine parameters and the P Vlue reference pulls those register contents to the command.
Many Thanks Pete

Offline

#2 2005-07-18 21:18:28

GavinP
VERICUT Specialist
From: UK
Registered: 2004-10-14
Posts: 58
Website

Re: Getting VERICUT to understand G30 X0 P3

Hi Pete

Create a Machine Reference Location for each register under Setup, Machine, Settings, Tables, this one uses G28 and G30 :

machine_table_forum_18-07-05.jpg

Ensure under Setup, Control, Word Address, G_Prep, G28 30 is calling the correct macro :

G28_G30_forum_18-07-05.jpg

Reset and test in MDI using Info, Status (machine axis) to view the positions.

Offline

#3 2005-07-19 22:22:59

pblythe
Member
From: New Zealand
Registered: 2005-04-06
Posts: 10
Website

Re: Getting VERICUT to understand G30 X0 P3

Hi Gavin
Thanks, that works!, and now the model references according to the G30 Register value  Could you tell me how to make the P3 value work.  We have two G30 Registers on this machine P2 and P3.  Both are in different places relative the the machine co-ordinate system.  When I run the following command, G30 X0 P3, the error "P3 not supported" is displayed.  It would be nice to set up the machine so that I can run both P2 and P3 positions with the G30 command.  Any ideas?

Thanks
Pete

Offline

#4 2005-07-22 07:43:28

GavinP
VERICUT Specialist
From: UK
Registered: 2004-10-14
Posts: 58
Website

Re: Getting VERICUT to understand G30 X0 P3

Hi Pete

In that case you need to move the macro ReferencePointIndex from G_Prep G28 30 and add a new condition under Registers, P *.

Also change the machine table registers values to suit.

See the pictures below.

Gavin

G28_G30_2.jpg

machine_table2.jpg[/img]

Offline

#5 2005-07-26 03:10:17

pblythe
Member
From: New Zealand
Registered: 2005-04-06
Posts: 10
Website

Re: Getting VERICUT to understand G30 X0 P3

Hi Gavin
Thanks, that did the trick.
Regards
Pete

Offline

#6 2005-08-04 18:06:08

jsmillett
Member
From: Chatsworth, CA
Registered: 2005-02-25
Posts: 42

Re: Getting VERICUT to understand G30 X0 P3

Gavin,

This will work for "G30 Pp"
This will not work for "G28" or "G30" alone because
ReferencePointIndex is only called if G30 accompanies a P-word. 

G28 needs to invoke the ReferencePoint macro. 
G30 without a P-word also needs to invoke the ReferencePoint macro.
ReferencePoint is the same as ReferencePointIndex 1.
Therefore G28, G30, or G30 P1 should behave identically.

Jerry


Jerry Millett

Offline

#7 2005-08-05 07:03:26

GavinP
VERICUT Specialist
From: UK
Registered: 2004-10-14
Posts: 58
Website

Re: Getting VERICUT to understand G30 X0 P3

jsmillett wrote:

This will not work for "G28" or "G30" alone because
ReferencePointIndex is only called if G30 accompanies a P-word. 

G28 needs to invoke the ReferencePoint macro. 
G30 without a P-word also needs to invoke the ReferencePoint macro.
ReferencePoint is the same as ReferencePointIndex 1.
Therefore G28, G30, or G30 P1 should behave identically.

Jerry

Have you got what you require working ?

Seems you require nearer first solution offered rather than the second.

I have not seen a machine yet where G28, G30 and G30 P1 all behave the same ?

Offline

Board footer