ID 20092

Variable access on an unknown axis.

Description

Attempting to access axes that do not exist in the channel with axis-specific variables (V.A.) generates this error message. Occurs especially after returning an axis to axis management.

Example:

Wrong:

N10 G00 X0 Y0 Z0

N20 #PUT AX[X]

N30 P1=V.A.PROG.X (Error: no X axis anymore in the channel)

N1000 M30

 

Correct:

N10 G00 X0 Y0 Z0

N20 P1=V.A.PROG.X

N30 #PUT AX[X]

N1000 M30

 

or

 

N10 G00 X0 Y0 Z0

N20 #PUT AX[X]

N25 $IF EXIST[V.A.LOG_AX_NR.X]

N30   P1=V.A.PROG.X

N35 $ENDIF

N1000 M30

Response

Class

2

Abort NC program processing.

Solution

Class

3

Check and adjust NC program sequence. Program access to variables before issuing the axis or check first with the command EXIST[V.A.LOG_AX_NR.xx] [PROG// Section: Arithmetic expressions] whether the axis is available in the channel.

Error type

1, Error message from NC program.