EasyManuals Logo

Siemens SIMATIC HMI OP3 User Manual

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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC HMI OP3 and is the answer not in the manual?

Siemens SIMATIC HMI OP3 Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC HMI OP3
CategoryControl Panel
LanguageEnglish

Related product manuals