The Integral Real-Time Clock
S5-100U
FB10 STL
Description
NAME :SET CLOCK SETTING THE CLOCK
DES :WDAY I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :DAY I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :MON I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :YEAR I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :HOUR I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :AMPM I/Q/D/B/T/C: I BI/BY/W/D: BI
DES :MIN I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :SEC I/Q/D/B/T/C: I BI/BY/W/D: BY
DES :ERR I/Q/D/B/T/C: Q BI/BY/W/D: BI
DES :MODE I/Q/D/B/T/C: I BI/BY/W/D: BI
:A =MODE 24HR-MODE = 0, 12HR-MODE = 1
:= F 11.1 (CLOCK MODE STATUS WORD BIT 1)
:AN F 20.0 FLAG IS RESET IF SETTINGS ALREADY
:JC =M001 READ INTO CLOCK DATA AREA
:R F 20.0
:
:C DB 2 CLOCK DATA AREA
:L =WDAY STORE VALUE FOR WEEKDAY
:T DR 4
:L =DAY STORE VALUE FOR DAY
:T DR 5
:L =MON STORE VALUE FOR MONTH
:T DR 5
:L = YEAR STORE VALUE FOR YEAR
:T DL 6
:L =HOUR STORE VALUE FOR HOUR
:ON =AMPM IF 12-HOUR MODE IS SET, AND
:ON =MODE AM/PM BIT = 1 (AFTERNOON), THE
:JC =MORN RELEVANT BIT IN THE CLOCK AREA
:L KH 0080 IS SET
:OW
MORN :T DR 6
:L =MIN STORE VALUE FOR MINUTES
:T DL 7
:L =SEC STORE VALUE FOR SECONDS
:T DR 7
:AN F 11.2 TRANSFER SETTINGS
:S F 11.2 (STATUS WORD IS FW10)
:L KT 020.1 START MONITORING TIME
:SE T 10
M001 :A T 10 BEC, IF MONITORING TIME
:BEC NOT YET ELAPSED
.
12-22
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...