Sinumerik Alarm 12440 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, …)
– Alarm display.
– Interface signals are set.
– Correction block
Press the NC Stop key and select the function “Correction block” with the soft key 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 Diagnostics Guide by Siemens