12220

Parameters:


Definitions:


Reactions:


Remedy:


Program Continuation:


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[8] OTTO = "ABC'H55"B000011111'DEF"

-    Correction block

-    Interface signals are set.

-    Alarm display.

Press the NC Stop key and select the function "Correction block" with the softkey 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 AG 2005 All Rights Reserved


1-432