Siemens SIMATIC HMI OP3 Equipment Manual page 72

Operator panel
Table of Contents

Advertisement

Communication
FC 7 listing:
0.0
2.0
2.1
0.0
8.0
Block: FC7 CLK OP3>PLC
Block to synchronize the PLC clock with the OP clock
Call in OB1:
Network: 1
12-10
Address
Declaration
Name
in
DBTDOP
out
in_out
NEW_
DATE
in_out
NEW_
TIME
temp
DAT_TIME
temp
ERROR_
SFC
CALL "CLK_OP3>PLC"
DBTDOP
:=DB51
NEW_DATE
:=DB51.DBX0.5
NEW_TIME
:=DB51.DBX0.6
Wait until time or date has been entered in
DBTDOP from OP3
U
#NEW_DATE
SPB
DAT
U
#NEW_TIME
SPB
CLK
BEA
Type
Initial value
BLOCK_
Number of
DB
the interface
area
BOOL
New date
bit from
interface
area.
BOOL
New time
bit from
interface
area.
DATE_
PLC time
AND_
storage
TIME
INT
SFC error
code
// FC7 call
// DB51 = interface area in OP3
// New date bit from the
// interface area.
// New time bit from the
// interface area.
// if new date bit = 1
// Go to new date
// if new time bit = 1
// Go to new time
// do not edit block further
Operator Panel OP3
Comment
Edition 11/99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents