Sinumerik Alarm 12640 Channel %1 block %2 invalid nesting of control structures
%1 = Channel number
%2 = Block number
Error in program run: Opened control structures (IF-ELSE-ENDIF, LOOP-ENDLOOP etc.) are not terminated or there is no beginning of loop for the programmed end of loop.Example:LOOP ENDIF ENDLOOP
– Alarm display.
– Interface signals are set.
– Interpreter stop
– NC Start disable in this channel.
Correct part program in such a way that all opened control structures are also terminated.
Clear alarm with the RESET key. Restart part program
- Siemens Diagnostics Guide by Siemens