Siemens SIMATIC S5 CP 523 Manual page 73

Serial i/o module
Hide thumbs Also See for SIMATIC S5 CP 523:
Table of Contents

Advertisement

Print Mode
Table 6-7. Overview of Spaceholders Configurable in Message Texts
Space-
Meaning
holder
D
Insert
date
T
Insert
time of day
Sa,b, . . .
Transfer
printer control
parameters
KPa
Insert message
text (fixed
message text
number)
KV
Insert message
text (variable
message text
number)
Data
Insert
format
variable
(KH, KF,
KG...)
You can enter spaceholders in either lower or uppercase.
Example:
Spaceholders for date and time of day:
Spaceholders for variables:
Transfer of data when using the "Insert message text" spaceholder KV and the "Insert variables"
spaceholders.
Transfer the messsage text numbers for the "Insert message text" spaceholder KV and the values
for the "Insert variables" space-holders to bytes 2 to 7 on the CP.
Access to bytes 2 to 7 depends on the order of the spaceholders in the message text.
The first spaceholder in the message text is replaced by the data in bytes 2 and 3.
The second spaceholder in the message text is replaced by the data in bytes 4 and 5.
The third spaceholder in the message text is replaced by the data in bytes 6 and 7.
Special rules apply to the use of spaceholders for "Insert floating-point number" ( 6.4.5).
6-18
Max. Number in
One Message Text
Header and Footer
1
1
max. 50
Unlimited
3
Three 16-bit
variables or one
32-bit variable +
one 16-bit variable
"D", "d", "T", "t"
"KH", "Kh", "kH", "kh"
Configurable in
Yes
Yes
Yes
No
The message text to
be printed must be
250 characters
long
No
The message text to
be printed must be
250 characters
long. Transfer
message text
numbers in bytes
2 to 7 to the CP.
No
Transfer values of
the variables in
bytes 2 to 7 to the
CP
CP 523
Comment
EWA 4NEB 811 6044-02a

Advertisement

Table of Contents
loading

Table of Contents