Block %2 Too Many Initialization Values Specified %3; Block %2 Initialization Of %3 Not Allowed; Block %2 Macro Identifier %3 Already Defined - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

NCK alarms
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12260
[Channel %1: ] Block %2 too many initialization values specified %3
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
In the initialization of an array (array definition and value assignments to individual array elements) there are more
initialization values than array elements. Example: N10 DEF INT OTTO[2,3]=(..., ..., {more than 6 values})
Reaction:
Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy:
Press the NC Stop key and select the function "Correction block" with the softkey PROGRAM CORRECT. The cor-
rection pointer positions on the incorrect block.
Check the NC program to establish whether:
1. During array definition the number of array elements (n,m) was indicated correctly (DEF INT FIELDNAME[n,m] e.g.
an array with 2 lines and 3 columns: n=2, m=3). 2. During initialization the value assignments have been made cor-
rectly (values of the individual field elements separated by comma, decimal point for variables of the type REAL).
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12261
[Channel %1: ] Block %2 initialization of %3 not allowed
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
Frame type variables cannot be initialized in the definition. Example: DEF FRAME LOCFRAME = CTRANS(X,200)
Equally, no default values can be programmed for axes in the program run during field initialization via SET.
A REDEF instruction with PRLOC is only permitted for setting data,
but not for machine data or variables.
Reaction:
Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy:
IPerform initialization in separate block in the execution part of the program: DEF FRAME LOCFRAME LOCFRAME
= CTRANS(X,200)
When using for axis variables:
Replace DEF AXIS AXIS_VAR [10] AXIS_VAR [5] = SET (X, , Y) by: DEF AXIS AXIS_VAR [10] AXIS_VAR [5] = X
AXIS_VAR [7] = Y
If REDEF ... INIRE, INIPO, INICF, PRLOC changes the behavior of a GUD, LUD etc., then the MD11270
$MN_DEFAULT_VALUES_MEM_MASK must equal 1.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12270
[Channel %1: ] Block %2 macro identifier %3 already defined
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string macro name
Definitions:
The name of the macro to be selected by the instruction DEFINE is already defined in the control as:
Macro name
Keyword
Variable
Configured identifier.
116
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