Sinumerik Alarm 12040 Channel %1 block %2 expression %3 is not of data type ‘AXIS’
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string in the block
Definitions:
Some keywords require that the data in their parameters be written in variables of the type “AXIS”. For example, in the keyword PO the axis identifier must be specified in the parenthesized expression, and it must be defined as a variable of the AXIS type. With the following keywords only parameters of the AXIS type are possible: AX[..], FA[..], FD[..], FL[..], IP[..], OVRA[..], PO[..], POS[..], POSA[..] Example:
N5 DEF INT ZUSTELL=Z1 incorrect, this does not specify an axis identifier but the number 26 161
N5 DEF AXIS ZUSTELL=Z1 correct
:
N10 POLY PO[X]=(0.1,0.2,0.3) PO[Y]=(22,33,44) &PO[INFEED]=(1,2,3)
Reactions:
– Alarm display.
– Interface signals are set.
– Correction block
Remedy:
Press the NC Stop key and select the function “Correction block” with the soft key PROGRAM CORRECT. The correction pointer positions on the incorrect block. Correct the part program in accordance with the instructions given in the Programming Guide.
Program Continuation:
Clear alarm with NC START or RESET key and continue the program.
References
- Siemens Diagnostics Guide by Siemens