Siemens SIMATIC S5 CP 523 Manual page 100

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

Advertisement

CP 523
6.7.2
Setting the Time and Date (Job Number 10
Specify:
The new settings in bytes 1 to 7
Job number 10
in byte 0
H
In each case, you must transfer the settings first and the "Set clock" request last to the CP 523.
Settings
You must note the following as regards the settings:
The settings must be transferred to the CP 523 in BCD.
If you enter "FF
" in a setting, the current clock data is retained.
H
Specify the days of the week as follows:
01 = Sunday, 02 = Monday, 03 = Tuesday, 04 = Wednesday, 05 = Thursday, 06 = Friday,
07 = Saturday
AM/PM flag (only in the case of the 12h clock)
When specifying the "Hours" setting in byte 5, you must take account of the AM/PM flag
(bit 7) in the case of the 12h clock: bit 7 = 1 p.m. and bit 7 =0 a.m.
Table 6-22.
Byte
0
Job number for "Set Clock"
1
Day of the week
(01 = Sunday, 02 = Monday, ..., 07 = Saturday)
2
Day
3
Month
4
Year
5
Hours
6
Minutes
7
Seconds
6.7.3
Setting the Page Number (Job Number 20
When configuring the memory submodule, you can define whether and where a page number is
to be printed in parameter block 5. The default is pagination beginning with page number 1,
printed at the bottom centre of the page.
Specify
The page number in byte 1 (01
Job number 20
in byte 0.
H
EWA 4NEB 811 6044-02a
Contents of the Transfer Memory for "Set Clock" Job
Meaning
24 h clock
12 h clock a. m.
12 h clock p. m.
to FF
)
H
H
)
H
Value range
10
H
01
. . .07
BCD
BCD
01
. . .31
BCD
BCD
01
. . .12
BCD
BCD
00
. . .99
BCD
BCD
00
. . .23
BCD
BCD
01
. . .12
BCD
BCD
81
. ..92
BCD
BCD
00
. . .59
BCD
BCD
00
. . .59
BCD
BCD
)
H
Print Mode
6-45

Advertisement

Table of Contents
loading

Table of Contents