DVP - ES2/EX2/SS2/SA2/SX2/SE Operation Manual - Programming

X10

M1015

Function Group

M1016~M1017, D1313~D1319

Number

Real Time Clock

Contents:

 

1.Special M and special D relevant to RTC

Device

Name

Function

 

 

 

M1016

Year Display

OFF: display the last 2 digits of year in A.D

ON: display the last 2 digits of year in A.D. plus 2,000

 

 

M1017

±30 seconds

When triggered from “Off” to “On”, the correction is enabled.

0 ~ 29 second: minute intact; second reset to 0

correction

 

30~ 59 second: mimute + 1; second reset to 0

 

 

 

 

 

D1313

Second

0~59

 

 

 

D1314

Minute

0~59

 

 

 

D1315

Hour

0~23

 

 

 

D1316

Day

1~31

 

 

 

D1317

Month

1~12

 

 

 

D1318

Week

1~7

 

 

 

D1319

Year

0 ~ 99 (last 2 digits of Year in A.D.)

 

 

 

2.If set value for RTC is invalid. RTC will display the time as Second→0, Minute→0, Hour→0, Day→1, Month→1, Week→1, Year→0.

3.Only when power is on can RTCs of SS2 series perform the fuction of timing. Memory of RTC is latched. RTC will resume the time when power is down. For higher accuracy of RTC, please conduction calibratoin on RTC when power resumes.

4.RTCs of SA2 V1.0 ES2/EX2/SX2 V2.0 series can still operate for one or two weeks after the power is off (they vary with the ambient temperature). Therefore, if the machine has not operated since one or two weeks ago, please reset RTC.

5.Methods of modifying RTC:

a)Apply TWR instruction to modify the built-in real time clock. Please refer to TWR instruction for detail.

b)Use peripheral devices or WPLSoft to set the RTC value.

Function Group

π (PI)

Number

D1018~D1019

Contents:

 

6.D1018 and D1019 are combined as 32-bit data register for storing the floating point value ofπ

7.Floating point value = H 40490FDB

2 - 58

Page 90
Image 90
Delta DVP-ES2/EX2/SS2/SA2/SX2/SE manual Device Name Function, Function Group Number D1018~D1019 Contents