
NCK alarms/ISO alarms
06/2007 Overview of alarms
2-95
" Siemens AG 2007 All Rights Reserved
SINUMERIK 802D sl, Diagnostics Manual, 06/2007Edition
Remedy: Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM COR-
RECT. The correction pointer positions on the incorrect block.
Assign a variable to all REF parameters (call-by-reference parameters) of the subroutine when calling.
No variable must be assigned to "normal" formal parameters (call-by-value parameters), as these are
defaulted with 0.
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
12310 Channel %1 block %2 axis parameter missing on procedure call %3
Parameters: %1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions: When calling the subroutine, an AXIS parameter is missing which, according to the EXTERN decla-
ration, should be present. With the EXTERN instruction, user-defined subroutines (procedures) are
made "known" that have a parameter transfer. Procedures with passed parameters do not require any
EXTERN declaration.
Example:
Subroutine XYZ (with the formal parameters):
PROC XYZ (INT X, VAR INT Y, AXIS A, AXIS B)
EXTERN instruction (with variable types):
EXTERN XYZ (INT, VAR INT, AXIS, AXIS)
Subroutine call (with the actual parameters):
N10 XYZ (, Y1, R_TABLE)
Variable X initialized with the value 0
Variable Y is assigned the value of variable Y1 and returns the result after the subroutine pass back
to the calling program
Variable A is supplied with the axis in R_TISCH
Variable B omitted!
Reaction: Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy: Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM COR-
RECT. The correction pointer positions on the incorrect block. Program the missing AXIS parameter
in the call.
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
12320 Channel %1 block %2 parameter %3 is no variable
Parameters: %1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions: A constant or the result of a mathematical expression has been assigned to a REF parameter instead
of a variable at the time of the subroutine call, even though only variable identifiers are allowed.
Examples:
N10 XYZ (NAME_1, 10, OTTO) or
N10 XYZ (NAME_1, 5 + ANNA, OTTO)
Reaction: Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy: Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM COR-
RECT. The correction pointer positions on the incorrect block.
Remove the constant or the mathematical expression from the NC block.
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
12330 Channel %1 block %2 type of parameter %3 incorrect
Parameters: %1 = Channel number
%2 = Block number, label
%3 = Source string
Kommentare zu diesen Handbüchern