Siemens SINUMERIK 840Di Diagnostic Manual page 166

Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Overview of Alarms
NCK alarms
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
declaration, should be present.
With the EXTERN instruction, user-defined subroutines (procedures) are made "known" that have a
parameter transfer.
Procedures without parameter transfer require no 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 actual parameters):
N10 XYZ (, Y1, R_TABLE)
Variable X is defaulted with value 0
Variable Y is supplied with the value of the variable Y1 and returns the results to the calling program
after the subroutine run
Variable A is supplied with the axis in R_TABLE
Variable B missing!
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
CORRECT. The correction pointer positions on the incorrect block.
Program the missing AXIS parameter in the call.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
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
CORRECT. The correction pointer positions on the incorrect block.
Remove the constant or the mathematical expression from the NC block.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
2-166
© Siemens AG, 2006. All rights reserved
SINUMERIK, SIMODRIVE Diagnostics Manual (DA), 11/2006 Edition
11/2006

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents