
Overview of alarms 06/2009
NCK alarms
2-108
© Siemens AG 2009 All Rights Reserved
SINUMERIK 802D sl, Diagnostics Manual, 06/2009
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
14510 [Channel %1: ] Block %2 PROC instruction missing on subroutine call
Parameters: %1 = Channel number
%2 = Block number, label
Definitions: In subroutine calls with parameter transfer ("call-by-value" or "call-by-reference") the called subroutine
must begin with a PROC statement.
Reaction: Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy: Define the subroutine in accordance with the type used.
1. Conventional subroutine structure (without parameter transfer):
% SPF 123456
:
M17
2. Subroutine structure with keyword and subroutine name (without parameter transfer):
PROC UPNAME
:
M17
ENDPROC
3. Subroutine structure with keyword and subroutine name (with parameter transfer "call-by-value"):
PROC UPNAME (VARNAME1, VARNAME2, ...)
:
M17
ENDPROC
4. Subroutine structure with keyword and subroutine name (with parameter transfer "call-by-refer-
ence"):
PROC UPNAME (Typ1 VARNAME1, Typ2 VARNAME2, ...)
:
M17
ENDPROC
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
14520 [Channel %1: ] Block %2 illegal PROC instruction in data definition
section
Parameters: %1 = Channel number
%2 = Block number, label
Definitions: The PROC statement may only be programmed at the beginning of the subroutine.
Reaction: Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy: Modify NC part program appropriately.
Program Con-
tinuation:
Clear alarm with NC START or RESET key and continue the program.
14530 [Channel %1: ] Block %2 EXTERN and PROC instruction do not
correspond
Parameters: %1 = Channel number
%2 = Block number, label
Definitions: Subroutines with parameter transfer must be known before they are called in the program. If the sub-
routines are always available (fixed cycles) the control establishes the call interfaces at the time of
system power-up. Otherwise an EXTERN statement must be programmed in the calling program.
Example:
N123 EXTERN UPNAME (TYP1, TYP2, TYP3, ...)
The type of the variable must match the type given in the definition (PROC statements) or it must be
compatible with it. The name can be different.
Reaction: Interpreter stop
NC Start disable in this channel.
Interface signals are set.
Comentários a estes Manuais