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-09 19:30:05

Smythe
Member
From: Clinton,Ohio
Registered: 2005-12-15
Posts: 42
Website

Word order in punch

:?: 

Quick question. Is there a way to check the order position of an axis in a line? My issue is with a Siemens 840C the ordinate must be the 3rd word.

N0019 G18
N0020 G03 X-27.6194 W36.7516 Y.0897 I0. K-.345

If the Y address is before anything else, I will get a machine alarm. Vericut obviously thinks this is fine in any order.

I have addressed this in the post, but I'd like a double-check with Vericut. Also, I'd like to not get a phone call @ 1:00 AM telling me the tape won't run.

Any ideas would be appreciated


Thanks, Eric

Offline

#2 2009-07-09 23:32:14

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

Re: Word order in punch

This will work in VERICUT 6.2 and up.

Y set a variable equal to 1, then resets it After Motion
You then have to check for this value for the other axes and if the value is equal to 1, then call the macro ErrorMacro

In my control:

Y
condition= * *
    YAxisMotion
    Variable:999999 value =1
    Variable:999999 value =0  After Motion

X
condition= (Variable:999999 = 1)
    XAxisMotion
    ErrorMacro, Override Text: Y before X

Repeat for other axes....

Offline

#3 2009-07-10 12:13:44

Smythe
Member
From: Clinton,Ohio
Registered: 2005-12-15
Posts: 42
Website

Re: Word order in punch

Thanks Serge, that's a simple fix..

Offline

Board footer