Sinumerik Alarm 12480 Channel %1 block %2 subroutine %3 already defined


Sinumerik Alarm 12480 Channel %1 block %2 subroutine %3 already defined

Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string

Definitions:
The name used in the PROC or EXTERN instruction has already been defined in another call description (e.g. for cycles).
Example:
EXTERN CYCLE85 (VAR TYP1, VAR TYP2, …)

Reactions:
– Alarm display.
– Interface signals are set.
– Correction block

Remedy:
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 program name must be selected that has not yet been used as identifier. (Theoretically, the parameter declaration of the EXTERN instruction could also be adapted to the existing subroutine in order to avoid the alarm output. However, it would have been defined identically twice).

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

References

  1. Siemens Diagnostics Guide by Siemens
Sinumerik Alarm 12480 Channel %1 block %2 subroutine %3 already defined