Sinumerik Alarm 15410 Channel %1 block %2 initialization file contains invalid M function


Sinumerik Alarm 15410 Channel %1 block %2 initialization file contains invalid M function

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

Definitions:
The only M function allowed in an Init block is the M02, M17 or M30 end-of-program function.

Reactions:
– Alarm display.
– Interface signals are set.
– Interpreter stop
– NC Start disable in this channel.

Remedy:
Remove all M functions from the Init block except for the end identifier. An Init block may contain value assignments only (and global data definitions if they are not defined again in a program that can be executed later) but no motion or synchronous actions.

Program Continuation:
Clear alarm with the RESET key. Restart part program

References

  1. Siemens Diagnostics Guide by Siemens
Sinumerik Alarm 15410 Channel %1 block %2 initialization file contains invalid M function