Siemens SIMATIC S5 CP 521 Manual page 108

Printer/ascll communications module
Hide thumbs Also See for SIMATIC S5 CP 521:
Table of Contents

Advertisement

CP 521
Table 6-20. PIQ in the Case of the "Set Clock" Job
Byte
0
"Set clock"Job
1
Weekday
(01 = Sunday, 02 = Monday, ..., 07 = Saturday)
2
Day
3
Month
4
Year
5
Hours
24h clock
12h clock a. m.
12h clock p. m.
6
Minutes
7
Seconds
Example: Setting the time of day with the "FORCE VAR" programmer function
The clock must be set with the following data: Mo 03., 13.00.00 (24h clock).
The current data for month and year is to be retained.
The module is installed in slot 7 (initial address 120).
Operand
Signal states
QW 126
KH= 0000
QW 124
KH= FF13
QW 122
KH= 03FF
QW 120
KH= 1002
GWA 4NEB 812 6030-02b
Meaning
Meaning
Minute and second
Year (retained) and hour
Date and month (retained)
"
Set clock" and day of the week
Print Mode
Value Range
10
H
01
to 07
BCD
BCD
01
to 31
BCD
BCD
01
to 12
BCD
BCD
00
to 99
BCD
BCD
00
to 23
BCD
BCD
01
to 12
BCD
BCD
81
to 92
BCD
BCD
00
to 59
BCD
BCD
00
to 59
BCD
BCD
6-51

Advertisement

Table of Contents
loading

Table of Contents