beautypg.com

Writing the date/time, Internal battery – Maple Systems MAPware-7000 User Manual

Page 275

background image

MAPware-7000 Programming Manual

275

1010-1040, Rev. 02

With 1=Sun…7=Sat

5

Minute Change
Status

S00003

Momentarily sets whenever
the minute value in SW14
changes

Read Only

6

Hour Change
Status

S00004

Momentarily sets when the
hour value in SW13 changes

Read Only

7

Date Change Status S00005

Momentarily sets when the
date value in SW10 changes

Read Only

8

Month Change
Status

S00006

Momentarily sets when the
month value in SW11
changes

Read Only

9

Year Change Status S00007

Momentarily sets when the
year value in SW12 changes

Read Only

12

RTC battery status

S00010

Sets when battery is dead

Read Only

17

Invalid RTC date
entry

S00019

Sets while an invalid value is
in one of the RTC registers

Read Only

36

RTC Status

SW0003_02

Sets if the RTC is not working Read Only


Writing the Date/Time
You can set or change the internal RTC using several means:

By entering the local setup menus (see Appendix C – Maintenance and Test Modes)

By using the Set RTC task for a function key or one of the multi-task buttons (see
Chapter 6 – Task Management)

By using the Set Calendar (CLND) instruction in the ladder logic commands (see The
HMC7000 Series Ladder Logic Instructions Manual
)

You cannot directly write to the clock using the SW10-16 internal system registers. However, if
you wish to write directly, simply use the Numeric Entry object with data registers that are
referenced in the Set Calendar instruction in a ladder logic program.

Internal Battery

The internal battery is used to power the real-time clock (RTC) when the HMC is not powered by
external 24VDC. Normally, the internal battery should be able to provide power to the RTC for
approximately 20 years (@25°C).