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 #73 background imageLoading...
Page #73 background image
12-11
Operator Panel OP3
Edition 11/99
Network: 2 New date
DAT OPN #DBTDOP
CALL “READ_CLK” // read current time
// SFC1 –– Read System Clock
RET_VAL :=#ERROR_SFC
CDT :=#DAT_TIME
L DBB 21 // Load weekday from DBTDOP
T LB 7 // in DAT_TIME
L DBB 22 // Load day from DBTDOP
T LB 2 // in DAT_TIME
L DBB 23 // Load month from DBTDOP
T LB 1 // in DAT_TIME
L DBB 24 // Load year from DBTDOP
T LB 0 // in DAT_TIME
SPA SET
Network: 3 New time
CLK: OPN #DBTDOP
CALL “READ_CLK” // Read current time
// SFC1 –– Read System Clock
RET_VAL :=#ERROR_SFC
CDT :=#DAT_TIME
L DBB 15 // Load hours from DBTDOP
T LB 3 // in DAT_TIME
L DBB 16 // Load minutes from DBTDOP
T LB 4 // in DAT_TIME
L DBB 17 // Load seconds from DBTDOP
T LB 5 // in DAT_TIME
SPA SET
Network: 4 Set PLC clock with SFC 0
SET: CALL “SET_CLK” // With SFC 0 read time from DAT_TIME
// SFC0 –– Set System Clock
PDT :=DAT_TIME // Save in PLC clock
RET_VAL :=#ERROR_SFC // Save any errors in ERROR_SFC
Network: 5 Reset all
OPN #DBTDOP
L 0 // Reset all used data
T DBW 15 // areas
T DBW 17
T DBW 21
T DBW 23
SET
R #NEW_DATE
R #NEW_TIME
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