Figures
12-1 DB1 with Default Parameters for Integral Real-Time Clock . . . . . . . . . . . . . 12 - 2
12-2 Example: Setting the Clock in DB1 to Monday, November 9, 1992, 15:30 . . . 12 - 5
12-3 Example: Setting the Prompt Time in DB1 to
Thursday, December 17, 1992, 8:00 o'clock . . . . . . . . . . . . . . . . . . . . . . . 12 - 6
12-4 Setting the Operating Hours Counter in DB1 to 1600 Hours . . . . . . . . . . . . 12 - 7
12-5 Entering a Correction Factor of +90s in DB1 . . . . . . . . . . . . . . . . . . . . . . . 12 - 7
12-6 How DB1 or the Control Program and the Clock Access the Clock
Data Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 8
12-7 Flowchart - Transferring Time and Date Settings to the Clock . . . . . . . . . . . 12 - 20
12-8 Flowchart - Transferring New Prompt Time Settings . . . . . . . . . . . . . . . . . 12 - 26
12-9 Flowchart - Transferring Settings to the Operating Hours Counter . . . . . . . . 12 - 31
Tables
12-1 Reading the Current Clock Time and Current Date . . . . . . . . . . . . . . . . . . . 12 - 3
12-2 DB1 Parameters for the Integral Real-Time Clock . . . . . . . . . . . . . . . . . . . . 12 - 4
12-3 Clock Data in the Clock Data Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 9
12-4 Range Definitions for Clock Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 10
12-5 Significance of Bits 0, 1, 2, and 3 of the Status Word . . . . . . . . . . . . . . . . . 12 - 13
12-6 Significance of Bits 4 and 5 of the Status Word . . . . . . . . . . . . . . . . . . . . . 12 - 13
12-7 Significance of the Operating Hours Counter Flags Bits 8, 9, and 10
of the Status Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 14
12-8 Significance of the Prompting Time Flags Bits 12, 13, and 14 of the
Status Word . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 14
12-9 The System Data Area for the Integral Real-Time Clock . . . . . . . . . . . . . . . 12 - 15
12-10 FB1 Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 17
12-11 OB21 Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 18
12-12 OB22 Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 18
12-13 DB75 Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 18
12-14 FORCE VAR Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 - 19
EWA 4NEB 812 6120-02