S5-100U The Integral Real-Time Clock
12.6 Setting Parameters for the Clock Data Area and the Status Word in
the System Data Area
Table 12-9. The System Data Area for the Integral Real-Time Clock
1 You can scan SD11 during start-up. You must call up an FB in OB21 or OB22 by using “L RS 11” to read
out and then continue processing SD11.
2 Always use the “L KF X” instruction to load the correction value in ACCU 1 since negative values can
also be specified.
System
Data Word
Meaning
EA10
Absolute
Address RAM
8 Operand area for the clock data ASCII characters
I, Q, F, D
EA11
EA12
EA13
Start address for the clock data
Operand area D
Operand Areas I, Q, F
DB number
DB2 to DBFF
H
Byte address
DB word number
DW0 to DWFF
H
Start address for the clock data
Relevant only for operand area D
9
Operand area for the status word ASCII characters
I, Q, F, D
EA14
EA15
Start address for the status word
Operand area D
Operand areas I, Q, F
DB number
DB2 to DBFF
H
Byte address
DB word number
DW0 to DWFF
H
Start address for the status word
Relevant only for operand area D
10
EA16
11 Status for hardware
1
(only bits 0 and 1 are relevant)
• If either bit 0 or bit 1 is set, the
clock chip is defective
• If no bit is set, the clock chip is
running
“0”, “1”
EA16
11 Incorrect correction value?
(only bit 15 is relevant)
• If bit 15 is set, the correction value
is incorrect (>+400 or <- 400)
• If bit 15 is not set, the correction
value is correct
“0”, “1”
EA18 12 Correction value
2
- 400 to 400
Permissible
Parameters
EWA 4NEB 812 6120-02
12-15