12-9
Operator Panel OP3
Edition 11/99
Network: 2
Enter PLC time in DAT_ZEIT
CALL
“READ_CLK”
// with SFC 1 save SFC1
// PLC time
–– Read System Clock
RET_VAL
:=#ret_val
// in DAT_TIME
CDT
:=#DAT_TIME
Network: 3
Load time in OP3
OPN
#DBTDOP
L
LB
3
// Hours from DAT_TIME
T
DBB
15
// in interface area byte 15
L
LB
4
// Minutes from DAT_TIME
T
DBB
16
// in interface area byte 16
L
LB
5
// Seconds from DAT_TIME
T
DBB
17
// in interface area byte 17
L
LW
7
// Shift milliseconds from DAT_TIME
SLW
4
SRW
4
T
LW
7
L
LB
7
// Weekday from DAT_TIME
T
DBB
21
// in interface area byte 21
L
LB
2
// Day from DAT_TIME
T
DBB
22
// in interface area byte 22
L
LB
1
// Month from DAT_TIME
T
DBB
23
// in interface area byte 23
L
LB
0
// Year from DAT_TIME
T
DBB
24
// in interface area byte 24
Network: 4
Reset all
R
#SET_OPTIME
// Reset trigger bit
BEA
To set the S7 CPU system time from the OP, you must write the date and time
in the corresponding fields in your project and set bits 5 and 6 of the interface
area to 1. FC7 reads out the entered values and sets the PLC system clock.
FC 7 parameters:
Parameter
Address
Type
Description
DBTDOP
DB51
BLCOK_DB
This is the interface area.
NEW_
TIME
DB51.DBX0.5
BOOL
Trigger from the OP to synchronize
the time.
NEW_
DATE
DB51.DBX0.6
BOOL
Trigger from the OP to synchronize
the date.
Setting the
S7 system time
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 ...