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 2011-08-02 19:36:40

DNGUYEN1
Member
From: KS
Registered: 2005-06-16
Posts: 32

Wrong H value

Hi all,
  Could someone help me how to tell  Machine Sim put error if  program has the wrong H value?

  Thanks
Dnguyen

Offline

#2 2011-08-03 10:55:52

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

Re: Wrong H value

The way I have it is for the tool number and the H number to be the same- T4 should have H4. This way, in the Registers section of the G-Code Processing window I set H* to give an error if the values are different.


Mike
Hoppe Tool

Offline

#3 2011-08-03 14:17:29

DNGUYEN1
Member
From: KS
Registered: 2005-06-16
Posts: 32

Re: Wrong H value

Thank you Mike,
How you set the Condition for the H* if T and H value is not same?
Something like this below:
Condition                             Conditional Value
    H                                              <*
    H                                              >*

Macroname   =  ErrMacro


Thanks

  dnguyen

Offline

#4 2011-08-09 18:26:53

DNGUYEN1
Member
From: KS
Registered: 2005-06-16
Posts: 32

Re: Wrong H value

I set the Condition for H value some how it doesn't seem working right, please tell me  what i did wrong
Operator  = and
Type    = Word
Condition = H
Condition Value = <#4120

  thanks

Offline

#5 2011-08-10 00:50:22

cginther
Member
Registered: 2010-06-19
Posts: 19

Re: Wrong H value

Here is what I had done, and it works.

Operator = and
Type = Variable
Condition = 4120
Conditional Value <> $

Macroname
MessageMacro Value=2 Text=The T and H do not match.
StopUnconditional

This way you not only get an error but it will stop no matter what.  Depending on how big of a problem this isand how much of a pain you want this to be you could also set a variable #5999=1

Then in your G00/G01/G02/G03 you could add a condition for this Variable if it is equal to 1 to give the same error as above.  This way running this program thru Vericut is so painful it will have to get fixed immediately.

Offline

#6 2011-08-16 15:17:59

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

Re: Wrong H value

Gentlemen,

there is a simpler way to detect non-matching H words.

Configuration > G-Code Processing...
Expand the Events branch
Expand Start of Processing branch, SubSystem:1
find the macro GageOffsetAttributes
Right-click, Add/Modify
Change the Override Text to:  110000100

each number can be 0 or 1, the second attribute is to output an error if the H number does not match the tool ID

If you have your cursor on the macro name and press F1, you get the description of the macro and all its options and some examples.

Offline

#7 2011-12-22 02:07:31

IHLjr
Member
Registered: 2011-12-21
Posts: 3

Re: Wrong H value

Is there any documentation detailing what the vericut macros do and how to configure them correctly like the previous example?

Offline

#8 2011-12-22 11:55:29

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

Re: Wrong H value

If you hit F1, it will open the Vericut Help. Open the Vericut Macros section, and that will give you all the different macros with explanations and what ever other inputs you will need.

Also, if you open the G code Configuration window, and click on any of the macros programmed in the control, and hit F1, it will bring you directly to that macro in the above mentioned explanations section.


Mike
Hoppe Tool

Offline

Board footer