Siemens Sinumerik 840D sl Diagnostic Manual page 206

Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

Overview of Alarms
NCK alarms
14500
[Channel %1: ] Block %2 illegal DEF or PROC instruction in the part
program
Parameters:
%1 = Channel number
%2 = Block number, label
Definitions:
NC part programs with high-level language elements are divided into a preceding definition part fol-
lowed by a program part. The transition is not marked specifically; a definition statement is not allowed
to follow the 1st program command.
Reaction:
Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy:
Put definition and PROFC statements at the beginning of the program.
Program Con-
Clear alarm with NC START or RESET key and continue the program.
tinuation:
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-
Clear alarm with NC START or RESET key and continue the program.
tinuation:
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-
Clear alarm with NC START or RESET key and continue the program.
tinuation:
2-206
SINUMERIK 840D sl, 840Di sl, SINAMICS, Diagnostics Manual (DAsl), 03/2009
© Siemens AG, 2009. All Rights Reserved
03/2009

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents