12-7
Operator Panel OP3
Edition 11/99
12.3.3 Time and Date
The current time and date are stored by the S7 program in bytes n+15 to
n+17 and n+21 to n+24. This means that the OP3 can synchronize the time
and date with the S7.
Bytes n+15 to n+17 contain the current time of the S7 in BCD. The
illustration shows the structure of the data byte.
Hour (0 to 23)
n+15
Address
Minute (0 to 59)
n+16
n+17
Second (0 to 59)
0
7
Bytes n+21 to n+24 contain the current date of the S7 in BCD. The
illustration shows the structure of the data byte.
Day of week (1 to 7)
Day of month (1 to 31)
Month (1 to 12)
Year (0 to 99)
n+21
Address
n+22
n+23
0
7
n+24
Synchronization of the OP3 and the SIMATIC S7 is performed in three steps:
1. Every hour, the OP3 sets bit 2 in data byte n+0 to 1.
2. As soon as the S7 program resets the bit, the OP3 detects that the S7
program has stored up-to-date values for the time and date in the interface
area.
3. The OP3 reads the up-to-date data from data bytes n+15 to n+17 and
n+21 to n+24 of the interface area.
Purpose
Bytes
n+15 to n+17:
Time
Bytes
n+21 to n+24:
Date
Synchronization
with the S7
Communication
Summary of Contents for SIMATIC HMI OP3
Page 12: ...iv Operator Panel OP3 Edition 11 99 Contents ...
Page 13: ...INTRODUCTION 1 Product Description 2 Functionality Part I ...
Page 14: ...2 2 OperatorPanel OP3 Edition 11 99 ...
Page 18: ...1 4 OperatorPanel OP3 Edition 11 99 Product Description ...
Page 22: ...2 2 OperatorPanel OP3 Edition 11 99 ...
Page 34: ...4 6 OperatorPanel OP3 Edition 11 99 Using the OP3 with Its Standard Functions ...
Page 38: ...5 4 OperatorPanel OP3 Edition 11 99 Screens ...
Page 42: ...6 4 OperatorPanel OP3 Edition 11 99 Password Protection ...
Page 48: ...7 6 OperatorPanel OP3 Edition 11 99 Messages ...
Page 56: ...10 4 OperatorPanel OP3 Edition 11 99 System Settings on Standard Screens ...
Page 74: ...12 12 Operator Panel OP3 Edition 11 99 Communication ...
Page 75: ...INSTALLATION AND COMMISSIONING 13 Installation 14 Commissioning Part III ...
Page 76: ...12 2 OperatorPanel OP3 Edition 11 99 ...
Page 82: ...13 6 OperatorPanel OP3 Edition 11 99 Installation ...
Page 86: ...14 4 OperatorPanel OP3 Edition 11 99 Commissioning ...
Page 88: ...14 2 OperatorPanel OP3 Edition 11 99 ...
Page 96: ...P 2 OperatorPanel OP3 Edition 11 99 ...
Page 98: ...A 2 OperatorPanel OP3 Edition 11 99 Brief Description of Standard Screens ...
Page 112: ...D 4 OperatorPanel OP3 Edition 11 99 ESD Guidelines ...
Page 120: ...Glossary 4 OperatorPanel OP3 Edition 11 99 Glossary ...