Sinumerik Alarm 12261 Channel %1 block %2 initialization of %3 not allowed


Sinumerik Alarm 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 when initializing fields by SET.

Reactions:
– Correction block
– 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 machine data $MN_DEFAULT_VALUES_MEM_MASK must equal 1.

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

References

  1. Siemens Diagnostics Guide by Siemens
Sinumerik Alarm 12261 Channel %1 block %2 initialization of %3 not allowed