Block %2 Maximum Number Of Formal Arguments Exceeded; Block %2 Label Defined Twice; Block %2 Maximum Number Of Symbols Exceeded With %3 - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

NCK alarms
12440
[Channel %1: ] Block %2 maximum number of formal arguments exceeded
Parameters:
%1 = Channel number
%2 = Block number, label
Definitions:
In the definition of a procedure (a subroutine) or in an EXTERN instruction, more than 127 formal parameters have
been specified.
Example: PROC ABC (FORMPARA1, FORMPARA2, ... ... FORMPARA127, FORMPARA128, ...) EXTERN ABC
(FORMPARA1, FORMPARA2, ... ... FORMPARA127, FORMPARA128, ...)
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 CORRECT. The cor-
rection pointer positions on the incorrect block. A check must be made to determine whether all parameters really have
to be transferred. If so, the formal parameters can be reduced by using global variables or R parameters, or by group-
ing together parameters of the same type to form an array and transfer them in this form.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12450
[Channel %1: ] Block %2 label defined twice
Parameters:
%1 = Channel number
%2 = Block number, label
Definitions:
The label of this block already exists.
If the NC program is compiled off-line, the entire program is compiled block for block. During this procedure all multiple
labels are recognized; this is not always the case with on-line compilation. (Only the actual program run is compiled
here, i.e. program branches that are not passed through in this run are disregarded and could therefore contain pro-
gramming errors).
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 CORRECT. The cor-
rection pointer is positioned on the block where the displayed label occurs for the 2nd time. Use the editor to search
the part program where this label occurs for the 1st time, and change one of the names.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12460
[Channel %1: ] Block %2 maximum number of symbols exceeded with %3
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
The max. number of variable definitions (GUD, LUD), macro definitions, cycle programs and/or cycle parameters
(PROC instruction) that the controller's data management system is able to handle has been exceeded.
If this alarm occurs in conjunction with alarm 15175, not enough memory for the preprocessing of the cycle program
definitions is available (PROC instruction).
If this alarm occurs in conjunction with alarm 15180, then this alarm shows the name of the file (INI or DEF file) causing
the error.
(For a list of names of INI files and their meaning -> please refer to alarm 6010)
Reaction:
Correction block is reorganized.
Interface signals are set.
Alarm display.
124
Diagnostics Manual, 07/2010, 6FC5398-8BP40-0BA0
Alarms

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents