EasyManua.ls Logo

Delta DVP-ES2 - Page 651

Delta DVP-ES2
1006 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DVP-ES2/EX2/EC5/SS2/SA2/SX2/SE&TP Operation Manual - Programming
3-530
Points to note:
1. There are two methods to correct built-in RTC:
Correcting by API167 TWR instruction
Please refer to explanation of instruction TWR (API 167)
Setting by peripheral device
Using WPLSoft / ISPSoft (Ladder editor)
2. Display 4-digit year data:
D1319 only stores the 2-digit year in A.D. If 4-digit year data is required, please insert the
following instruction at the start of program.
M1002
SET M1016
Display 4-digit year data
The original 2-digit year will be switched to a 4-digit year, i.e. the 2-digit year will pluses
2,000. If users need to write in new time in 4-digit year display mode, only a 2-digit year data
is applicable (0 ~ 99, indicating year 2000 ~ 2099). For example, 00 = year 2000, 50 = year
2050 and 99 = year 2099. However, 2000 ~ 2099 can be written in ES2/EX2 V3.0, SS2 V3.2,
SA2 V2.6, SX2 V2.4, and SE V1.6 (and above).
Flags and special registers for RTC
Device
Content
Function
M1016
Year display
mode of RTC
OFF: D1319 stores 2-digit year data in A.D.
ON: D1319 stores 2-digit year data in A.D + 2000
M1017
±30 seconds
correction on
RTC
Correction takes place when M1017 goes from OFF
to ON (Second data in 0 ~ 29: reset to 0. Second data
in 30 ~ 59: minute data pluses 1, second data resets)
Device
Content
Range
D1313
Second
0-59
D1314
Minute
0-59
D1315
Hour
0-23
D1316
Day
1-31
D1317
Month
1-12
D1318
Day (Mon. ~ Sun.)
1-7
D1319
Year
0-99 (two digit year data)

Table of Contents

Other manuals for Delta DVP-ES2

Related product manuals