Block %2 Operation %3 Not Compatible With Data Type; Block %2 Value %3 Lies Beyond The Value Range - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

NCK alarms
12150
[Channel %1: ] Block %2 operation %3 not compatible with data type
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = String (violating operator)
Definitions:
The data types are not compatible with the required operation (within an arithmetic expression or in a value assign-
ment).
Example 1:
Arithmetic operation
N10 DEF INT OTTO
N11 DEF STRING[17] ANNA
N12 DEF INT MAX
:
N50 MAX = OTTO + ANNA
Example 2:
Value assignment
N10 DEF AXIS DRILL N11 DEF INT OTTO : N50 OTTO = DRILL
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.
Alter the definition of the variables used such that the required operations can be executed.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12160
[Channel %1: ] Block %2 Value %3 lies beyond the value range
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Impermissible value
Definitions:
The programmed constant or the variable lies beyond the value range that has previously been established by the
definition of the data type.
An initial value in a DEF or REDEF instruction lies beyond the upper (ULI) or lower (LLI) limit values that have been
programmed or already exist in the DEF instruction.
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.
Correct value of the constant or adapt data type. If the value for an integer constant is too great, it can be specified as
real constant by adding a decimal point.
Example:
R1 = 9 876 543 210 Correct: R1 = 9 876 543 210.
Value range INTEGER: +/-(2**31 - 1)
Value range REAL:
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
110
+/-(10**-300 .. 10**+300)
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