Siemens SINUMERIK 840D sl Series Diagnostics Manual page 217

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

Advertisement

08/2005
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 defini-
tion part followed by a program part. The transition is not marked specifically; a definition
statement is not allowed to follow the first program command.
Reactions:
- 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.
Reactions:
- 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-reference"):
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.
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D Diagnostics Guide (DA), 08/2005 Edition
Overview of Alarms
2-217

Advertisement

Table of Contents
loading

Table of Contents