17.03.2014 Views

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

DVP-ES2-EX2-SS2-SA2-SX2-Operation Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>DVP</strong>-<strong>ES2</strong>/<strong>EX2</strong>/<strong>SS2</strong>/<strong>SA2</strong>/<strong>SX2</strong>/SE <strong>Operation</strong> <strong>Manual</strong> - Programming<br />

X10<br />

M1015<br />

Function Group<br />

Number<br />

Contents:<br />

M1016~M1017, D1313~D1319<br />

Real Time Clock<br />

1. Special M and special D relevant to RTC<br />

Device Name Function<br />

M1016<br />

Year Display<br />

OFF: display the last 2 digits of year in A.D<br />

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

When triggered from “Off” to “On”, the correction is enabled.<br />

±30 seconds<br />

M1017 0 ~ 29 second: minute intact; second reset to 0<br />

correction<br />

30~ 59 second: mimute + 1; second reset to 0<br />

D1313 Second 0~59<br />

D1314 Minute 0~59<br />

D1315 Hour 0~23<br />

D1316 Day 1~31<br />

D1317 Month 1~12<br />

D1318 Week 1~7<br />

D1319 Year 0 ~ 99 (last 2 digits of Year in A.D.)<br />

2. If set value for RTC is invalid. RTC will display the time as Second→0, Minute→0, Hour→0,<br />

Day→1, Month→1, Week→1, Year→0.<br />

3. Only when power is on can RTCs of <strong>SS2</strong> series perform the fuction of timing. Memory of RTC<br />

is latched. RTC will resume the time when power is down. For higher accuracy of RTC,<br />

please conduction calibratoin on RTC when power resumes.<br />

4. RTCs of <strong>SA2</strong> V1.0 及 <strong>ES2</strong>/<strong>EX2</strong>/<strong>SX2</strong> V2.0 series can still operate for one or two weeks after<br />

the power is off (they vary with the ambient temperature). Therefore, if the machine has not<br />

operated since one or two weeks ago, please reset RTC.<br />

5. Methods of modifying RTC:<br />

a) Apply TWR instruction to modify the built-in real time clock. Please refer to TWR<br />

instruction for detail.<br />

b) Use peripheral devices or WPLSoft to set the RTC value.<br />

Function Group<br />

Number<br />

Contents:<br />

π (PI)<br />

D1018~D1019<br />

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

7. Floating point value = H 40490FDB<br />

2-58

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!