You are not logged in.
Pages: 1
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
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
Thanks. I'll give it a go.
Cheers.
Offline
Pages: 1