Block %2 Invalid Nesting Of Control Structures; Block %2 Maximum Nesting Depth Of Control Structures Exceeded; Block %2 Axis Identifier %3 Different In Channel %4 - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

NCK alarms
12640
[Channel %1: ] Block %2 invalid nesting of control structures
Parameters:
%1 = Channel number
%2 = Block number
Definitions:
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
Reaction:
Interpreter stop
NC Start disable in this channel.
Interface signals are set.
Alarm display.
Remedy:
Correct part program in such a way that all opened control structures are also terminated.
Program
Clear alarm with the RESET key. Restart part program
Continuation:
12641
[Channel %1: ] Block %2 maximum nesting depth of control structures exceeded
Parameters:
%1 = Channel number
%2 = Block number
Definitions:
Max. nesting depth control structures (IF-ELSE-ENDIF, LOOP-ENDLOOP etc.) exceeded. At the present time, the
max. nesting depth is 8.
Reaction:
Interpreter stop
NC Start disable in this channel.
Interface signals are set.
Alarm display.
Remedy:
Correct part program. If necessary, move parts to a subroutine.
Program
Clear alarm with the RESET key. Restart part program
Continuation:
12650
[Channel %1: ] block %2 axis identifier %3 different in channel %4
Parameters:
%1 = Channel number
%2 = Block number
%3 = Source symbol
%4 = Channel number with different axis definition
Definitions:
In cycles that are preprocessed at Power On, only those geometry and channel axis identifiers may be used that exist
in all channels with the same meaning. In different channels, different axis indices are assigned to the axis identifier.
The axis identifiers are defined via MD20060 $MC_AXCONF_GEOAX_NAME_TAB and MD20080
$MC_AXCONF_CHANAX_NAME_TAB. Example: C is the 4th channel axis in channel 1 and the 5th channel axis in
channel 2.
If the axis identifier C is used in a cycle that is preprocessed at Power On, then this alarm is issued.
Reaction:
Interpreter stop
NC Start disable in this channel.
Interface signals are set.
Alarm display.
Remedy:
Please inform the authorized personnel/service department.
1. Modify machine data: Select the same identifiers for geometry and channel axes in all channels. Example: The
geometry axes are called X, Y, Z in all channels. They can then also be programmed directly in preprocessed chan-
nels.
2. Do not program the axis directly in the cycle but define it as a parameter of the axis type. Example: Cycle definition:
PROC DRILL(AXIS DRILLAXIS) G1 AX[DRILLAXIS]=10 F1000 M17
Call from the main program:
DRILL(Z)
136
Diagnostics Manual, 07/2010, 6FC5398-8BP40-0BA0
Alarms

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents