Siemens SINUMERIK 802D sl Betreibershandbuch Seite 75

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 340
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 74
NCK alarms
06/2009 Overview of alarms
2-75
© Siemens AG 2009 All Rights Reserved
SINUMERIK 802D sl, Diagnostics Manual, 06/2009
:
N50 XYZ (X, Y); REF parameter Z missing
or
N50 XYZ (X, Z) ; REF parameter Z 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 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 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_TISCH)
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_TISCH
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 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.
Seitenansicht 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 339 340

Kommentare zu diesen Handbüchern

Keine Kommentare