Siemens SINUMERIK 840D Diagnostics Manual page 211

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

Advertisement

10.04
14500
Parameters:
Definitions:
Reactions:
Remedy:
Program Continuation:
14510
Parameters:
Definitions:
Reactions:
Remedy:
Program Continuation:
14520
Parameters:
Definitions:
 Siemens AG, 2004. All rights reserved
SINUMERIK 840D/840Di/810D Diagnostics Guide (DA), 10.04 Edition
Channel %1 block %2 illegal DEF or PROC instruction in the part program
%1 = Channel number
%2 = Block number, label
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.
- Correction block is reorganized.
- Interface signals are set.
- Alarm display.
Put definition and PROFC statements at the beginning of the program.
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 PROC instruction missing on subroutine call
%1 = Channel number
%2 = Block number, label
In subroutine calls with parameter transfer ("call-by-value" or "call-by-reference") the
called subroutine must begin with a PROC statement.
- Correction block is reorganized.
- Interface signals are set.
- Alarm display.
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
Clear alarm with NC START or RESET key and continue the program.
Channel %1 block %2 illegal PROC instruction in data definition section
%1 = Channel number
%2 = Block number, label
The PROC statement may only be programmed at the beginning of the subroutine.
1 Alarms
1-211

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents