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 2008-08-19 13:45:42

sporter
Member
From: Brisbane, Australia.
Registered: 2008-07-15
Posts: 17

C Axis Lock

We have added a "CAXIS_Lock" variable to M53. And a matching error macro under the "C *" register.

This gives an error on every C value in the NC code when the axis is locked. Even if it's not moving. How do I get it to give an error only when the C value is different to the C value when it was locked?

ie- 

C0
M53 (LOCK C AXIS)
C0       --> no error wanted.

C0
M53 (LOCK C AXIS)
C10.    --> error needed.



Cheers.

Offline

#2 2008-08-20 06:37:19

Svante
Senior Member
From: Trollhättan, Sweden
Registered: 2005-02-23
Posts: 60

Re: C Axis Lock

Hi,

You have to track the actual axes values in Advanced Control Options=>Events=>Start of Processing by adding a macro SetDynamicVars with the text AxisLocalPlus 0000000 $AA_IW[X] $AA_IW[Y] $AA_IW[Z] $AA_IW[A] $AA_IW[B] $AA_IW[C] $AA_IW[U] $AA_IW[V] $AA_IW[W].

See any of the Siemens 840D sample files. You can give the variables other names.
Then just put a condition under C in word adress, when M53=1 and $AA_IW[C] not equal the input C value, that gives an error message.


Svante Eriksson
System owner
GKN Aerospace Engine Systems Sweden
Vericut 7.2.1, 7.3.4, 7.4 - NX 9.0.3

Offline

#3 2008-08-21 04:43:53

sporter
Member
From: Brisbane, Australia.
Registered: 2008-07-15
Posts: 17

Re: C Axis Lock

Thanks. I'll give it a go.

Cheers.

Offline

Board footer