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
Содержание SIMATIC HMI OP3
Страница 12: ...iv Operator Panel OP3 Edition 11 99 Contents ...
Страница 13: ...INTRODUCTION 1 Product Description 2 Functionality Part I ...
Страница 14: ...2 2 OperatorPanel OP3 Edition 11 99 ...
Страница 18: ...1 4 OperatorPanel OP3 Edition 11 99 Product Description ...
Страница 22: ...2 2 OperatorPanel OP3 Edition 11 99 ...
Страница 34: ...4 6 OperatorPanel OP3 Edition 11 99 Using the OP3 with Its Standard Functions ...
Страница 38: ...5 4 OperatorPanel OP3 Edition 11 99 Screens ...
Страница 42: ...6 4 OperatorPanel OP3 Edition 11 99 Password Protection ...
Страница 48: ...7 6 OperatorPanel OP3 Edition 11 99 Messages ...
Страница 56: ...10 4 OperatorPanel OP3 Edition 11 99 System Settings on Standard Screens ...
Страница 74: ...12 12 Operator Panel OP3 Edition 11 99 Communication ...
Страница 75: ...INSTALLATION AND COMMISSIONING 13 Installation 14 Commissioning Part III ...
Страница 76: ...12 2 OperatorPanel OP3 Edition 11 99 ...
Страница 82: ...13 6 OperatorPanel OP3 Edition 11 99 Installation ...
Страница 86: ...14 4 OperatorPanel OP3 Edition 11 99 Commissioning ...
Страница 88: ...14 2 OperatorPanel OP3 Edition 11 99 ...
Страница 96: ...P 2 OperatorPanel OP3 Edition 11 99 ...
Страница 98: ...A 2 OperatorPanel OP3 Edition 11 99 Brief Description of Standard Screens ...
Страница 112: ...D 4 OperatorPanel OP3 Edition 11 99 ESD Guidelines ...
Страница 120: ...Glossary 4 OperatorPanel OP3 Edition 11 99 Glossary ...