Block %2 String %3 Too Long; Block %2 Binary Constant %3 In String Too Long; Block %2 Hexadecimal Constant %3 In String Too Long - Siemens Sinamics S120 Diagnostic Manual

Hide thumbs Also See for Sinamics S120:
Table of Contents

Advertisement

12210
[Channel %1: ] Block %2 string %3 too long
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = String in the source block
Definitions:
- In the definition of a STRING type variable, an attempt has been made to initialize more than 200 characters.
- In an allocation, it has been found that the string does not fit the given variable.
- In synchronized actions, a string with more than 31 characters has been programmed.
Reaction:
Correction block is reorganized.
Interface signals are set.
Alarm display.
Remedy:
Press the NC Stop key and select the "Correction block" function with the PROGRAM CORRECT softkey. The cursor
is positioned on the incorrect block.
- Select a shorter string or divide the character string into 2 strings.
- Define a longer string variable.
- Restrict the string to 31 characters.
Program
Clear alarm with NC START or RESET key and continue the program.
Continuation:
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 con-
stant.
DEF STRING[8] OTTO = "ABC'H55''B000011111'DEF"
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.
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
Clear alarm with NC START or RESET key and continue the program.
Continuation:
12230
[Channel %1: ] Block %2 hexadecimal constant %3 in string too long
Parameters:
%1 = Channel number
%2 = Block number, label
%3 = Hexadecimal constant
Definitions:
A string can also contain bytes that do not correspond to a character that can be entered or one that is available on a
keyboard with a minimized number of keys. These characters can be input as binary or hexadecimal constants. They
may occupy up to 1 byte each only - therefore be < 256, e.g.
N10 DEF STRING[2] OTTO=" 'HCA' 'HFE' "
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.
In the window for the alarm message, the first characters of the hexadecimal constant are always displayed although
the surplus bit might not be located until further on. Therefore, the complete hexadecimal constant must always be
checked for an incorrect value.
Alarms
Diagnostics Manual, 07/2010, 6FC5398-8BP40-0BA0
NCK alarms
115

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828d

Table of Contents