Siemens SIMATIC HMI OP3 Equipment Manual page 70

Operator panel
Table of Contents

Advertisement

Communication
Reading the
You then transfer the S7 CPU system time to OP3. The FC6 uses the OP3
S7 system time
requirement in the interface area to set the OP clock.
FC6 parameters:
DBTDOP
Set_OPTime DB51.DBX0.2 BOOL
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:
0.0
2.0
0.0
8.0
Block: FC6 CLK PLC>OP3
Block to synchronize the OP clock with the PLC clock
Call in OB1:
Network: 1
12-8
Parameter
Address
DB51
Address
Declaration
Name
in
DBTDOP
out
in_out
SET_
OPTIME
temp
DAT_TIME
temp
ret_val
CALL "CLK_PLC>OP3"
DBTDOP
:=DB51
SET_OPTIME
:=DB51.DBX0.2
Function trigger
UN
#SET_OPTIME
BEB
Type
Description
BLOCK_DB This is the interface area.
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.
Type
Initial value
BLOCK_
DB
BOOL
DATE_
AND_
TIME
INT
// FC6 call
// DB51 = interface area in OP3
// DB51.DBX0.2 = OP3 requests date/
// time (once after OP3 restart,
// then every 15 minutes)
// as long as SET_OPTIME = 0
// do not edit block
Comment
Number of
the interface
area
Function
trigger
PLC time
storage
Operator Panel OP3
Edition 11/99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents