Block %2 Maximum Macro Length %3 Exceeded; Block %2 Arithmetic Variable %3 Not Defined - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

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.
Select DEFINE instruction with another macro name.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12280
[Channel %1: ] Block %2 maximum macro length %3 exceeded
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string
Definitions:
The string of instructions on the right side of the macro is limited to 256 characters. If an attempt is made to define a
longer character string under one macro (possible only through V.24 input of NC blocks, because communication
between operator panel and NCK is limited to a block length of 242 characters), an alarm is displayed.
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.
Divide the functions defined under the macro into 2 macros.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12290
[Channel %1: ] Block %2 arithmetic variable %3 not defined
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Source string arithmetic variable
Definitions:
Only the R parameters are predefined as arithmetic variables. All other arithmetic variables must be defined with the
DEF instruction before being used. The number of arithmetic parameters is defined via machine data. The names must
be unambiguous and may not be repeated in the control (exception: local variables).
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.
Define the required variable in the definition part of the program (possibly in the calling program if it is to be a global
variable).
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
Alarms
Diagnostics Manual, 07/2010, 6FC5398-8BP40-0BA0
NCK alarms
117

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents