CP 523
Print Mode
6.4.5
Spaceholders for Message Text
The spaceholder is replaced by a message text on printout. The number of the message text to be
replaced can be specified in two ways:
•
The number is specified when the message is configured
•
The number is transferred to the CP as a variable in the user program.
Direct entry of the message text number "KPa"
”a” is the number of the message text to be inserted. You must specify "a" when configuring the
message text. The values 1 to 4095 are allowed for "a". If the message text called contains space-
holders, these are treated as text and printed out.
You can use the "KPa" spaceholder several times in one message text. In this way, you can
combine several message texts and print them out together.
Example:
Configuring message texts with spaceholders for inserting message text (KPa)
You want to store the following message texts in DB 7:
Message text 70:
The following overview indicates <Insert message text 73>, <Insert message
text 74> and <Insert message text 75>.
Message text 73:
the problems that have arisen during the monitoring period
Message text 74:
the countermeasures taken
Message text 75:
the length of the resulting downtimes
Explanation
Entry on the PG 685 for DB 7
Message text number, separator ”:”,
message text with spaceholder for "Insert
message text 73"
Message text , end-of-text character
Message text number, separator ”:”,
Message text
Message text
Message text , end-of-text character
Message text number, separator ”:”,
Message text
Message text , end-of-text character
Message text number, separator ”:”,
Message text
Message text
Message text , end-of-text character
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
:
KS = '70:The following over';
:
S
= 'view indicates, ”KP73”,';
:
KS = '”KP74” and ”KP75”.$';
:
S
= '73:the problems that';
:
KS = 'have arisen during';
:
S
= 'the monitoring period$';
:
KS = '74:the countermeasures';
:
S
= 'taken$';
:
KS = '75:the length of the';
:
S
= 'resulting';
: KS
= 'down times$';
:
Printout of message text 70:
The following overview indicates the problems that have arisen during the monitoring period, the
measures taken and the length of the resulting downtimes.
EWA 4NEB 811 6044-02a
6-23