Sinumerik Alarm 12220 Channel %1 block %2 binary constant %3 in string too long
%1 = Channel number
%2 = Block number, label
%3 = Binary constant
When initializing or allocating the value of a variable of type STRING more than 8 bits have been found as binary constant. DEF STRING OTTO = “ABC’H55”B000011111’DEF”
– Alarm display.
– Interface signals are set.
– Correction block
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.
Clear alarm with NC START or RESET key and continue the program.
- Siemens Diagnostics Guide by Siemens