CP 523
6.4
Configuring Message Texts
Store the message texts on the memory submodule in data blocks 2 to 255 under a message text
number in the range 1 to 4095. Each message text may comprise up to 136 characters, including
variables. Memory submodule capacity must be taken into account.
The message texts can be distributed over several data blocks in any sequence:
•
You can store the message texts in any data blocks (e.g. message text 13 in DB 20, message
texts 5 and 18 in DB 7, ...).
•
You can enter the DBs on the programmer in any order (DB 17, DB 3, ...).
•
The message texts within a DB should be continuous. Your message texts will be clearer if you
separate the message texts from each other by pressing the enter key ( Figure 6-4).
•
The DBs on the memory submodule are independent of the DBs in the CPU. For example, you
can store message texts in DB 54 on the memory submodule while simultaneously using a
DB 54 in the user program.
6.4.1
Structure of a Message Text
When configuring message texts, you must keep to the following structure, otherwise a correct
printout cannot be guaranteed.
Message text
number
(1 to 4095)
Enter key (only when entering several message texts)
Note:
To make screen presentation clearer, alternate between data formats "KS" and "S" in the input
lines.
EWA 4NEB 811 6044-02a
Separator
ASCII characters of
":"
the message text
Text
Figure 6-4. Structure of a Message Text
can consist of
Spaceholders for
date, time, variables and message texts as
well as control parameters for the printer
(CR, LF, bold type, double-width type etc.)
Print Mode
End-of-text
character
(Default: $)
6-15