Siemens SIMATIC S5 CP 523 Manual page 94

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

Advertisement

CP 523
Additional information for "Print message text" (job numbers 0, 3 and 4)
The following can be additionally transferred to the CP 523 in words 2, 4 and 6 for "Print message
text" (job numbers 0, 3 and 4):
Values of variables
When printing the message text, the value transferred to the CP 523 is inserted instead of the
first spaceholder for variables configured in the message text.
Number of a message text to be inserted into a message text
When printing a message text, the message text with the number transferred to the CP 523 is
inserted in place of the spaceholder for message texts.
Table 6-19. Transferring Additional Information for "Print Message Text"
Word
(Byte)
2
Value of the variables
(2+3)
or
number of the message text to be inserted
4
Value of the variables
(4+5)
or
number of the message text to be inserted
6
Value of the variables
(6+7)
or
number of the message text to be inserted
Setting the time of day (job number 10
Specify the variables in BCD in bytes 1 to 7. Specify weekdays as digits between 1 and 7 (1 = Sun-
day, 2 = Monday, ..., 7 = Saturday).
If an item of clock data is to remain unchanged, enter the value FFH in the relevant byte.
If a variable is outside the permissible range, the clock will not be set.
The CP flags the "Time of day/date error".
Table 6-20. Transferring Additional Information for "Print Message Text"
Byte
2
Day
3
Month
4
Year
5
Hour
*
(Config. of the 12h clock or the 24h clock
on the memory submodule in DB 1)
6
Minute
7
Second
* Bit 7 = 1 in the case of the 12h clock
EWA 4NEB 811 6044-02a
Meaning
)
H
Meaning
Assignment
0000
to FFFF
H
(Dependent on the configured data format)
0000
to 0FFF
H
0000
to FFFF
H
(Dependent on the configured data format)
0000
to 0FFF
H
0000
to FFFF
H
(Dependent on the configured data format)
0000
to 0FFF
H
Assignment
01
BCD
01
BCD
00
BCD
00
to 23
in the case of the 24h clock
BCD
BCD
01
to 12
in the case of the 12h clock a
BCD
BCD
81
to 92
in the case of the 12h clock p.m.
BCD
BCD
00
BCD
00
BCD
Print Mode
H
H
H
H
H
H
to 31
BCD
to 12
BCD
to 99
BCD
m
.
.
to 59
BCD
to 59
BCD
6-39

Advertisement

Table of Contents
loading

Table of Contents