12-8
Operator Panel OP3
Edition 11/99
You then transfer the S7 CPU system time to OP3. The FC6 uses the OP3
requirement in the interface area to set the OP clock.
FC6 parameters:
Parameter
Address
Type
Description
DBTDOP
DB51
BLOCK_DB
This is the interface area.
Set_OPTime DB51.DBX0.2
BOOL
The first word of DB51 contains the
status and control bits which display
the OP3 status. The OP3 uses bit 2 to
request synchronization of date and
time.
Setting bit 2 of the interface area enters the current system time in the Time
and Date data mailbox. The OP3 reads out the values and displays them in
screens that have been configured accordingly.
FC6 listing:
Address
Declaration
Name
Type
Initial value
Comment
0.0
in
DBTDOP
BLOCK_
DB
Number of
the interface
area
out
2.0
in_out
SET_
OPTIME
BOOL
Function
trigger
0.0
temp
DAT_TIME
DATE_
AND_
TIME
PLC time
storage
8.0
temp
ret_val
INT
Block: FC6 CLK PLC>OP3
Block to synchronize the OP clock with the PLC clock
Call in OB1:
CALL “CLK_PLC>OP3”
// FC6 call
DBTDOP
:=DB51
// DB51 = interface area in OP3
SET_OPTIME
:=DB51.DBX0.2
// DB51.DBX0.2 = OP3 requests date/
// time (once after OP3 restart,
// then every 15 minutes)
Network: 1
Function trigger
UN
#SET_OPTIME
// as long as SET_OPTIME = 0
BEB
// do not edit block
Reading 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 ...