12440

Parameters:

Definitions:

Reactions:

Remedy:

Program Continuation:

1-455

Channel %1 block %2 maximum number of formal arguments exceeded

%1 = Channel number %2 = Block number, label

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, ...)

-    Correction block

-    Interface signals are set.

-    Alarm display.

Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM CORRECT. The correction 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 grouping together parameters of the same type to form an array and transfer them in this form.

Clear alarm with NC START or RESET key and continue the program.

© Siemens AG 2005 All Rights Reserved