Sinumerik Alarm 12220 Channel %1 block %2 binary constant %3 in string too long
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Binary constant
Definitions:
When initializing or allocating the value of a variable of type STRING more than 8 bits have been found as binary constant. DEF STRING[8] OTTO = “ABC’H55”B000011111’DEF”
Reactions:
– Alarm display.
– Interface signals are set.
– Correction block
Remedy:
Press the NC Stop key and select the function “Correction block” with the soft key PROGRAM CORRECT. The correction pointer positions on the incorrect block. In the window for the alarm message, the first characters of the binary constant are always displayed although the surplus bit might not be located until further on. Therefore, the complete binary constant must always be checked for an incorrect value.
Program Continuation:
Clear alarm with NC START or RESET key and continue the program.
References
- Siemens Diagnostics Guide by Siemens