Schwank ThermoControl Plus Series CM-485 User Manual

Page 19

Advertising
background image

- 19 -

The following Clock, Time program and Holiday program reading and writing possibility is
available only in controllers produced after 01.05.2008.

Description of Clock (RTC) registers

Address 00F0h

00F2h

00F4h

Hi Lo Hi Lo Hi Lo

Content Hour Minute Month Day Year

Command /

Error


Commands:

22h: Load momentary RTC data into the registers (load as a

snapshot).

41h: Write registers content into RTC (rewrite and save Clock data).

Error:

See at chapter “Setting the Clock”

Reading out the Clock in two steps using 22h command:

Load 0022h into register address 00F4h

:020600F40022E2

Read out data from addresses 00F0h – 00F5h :020300F0000308

The result will contain the snapshot of the momentary Clock data: Hour, Minute, Month,
Day, Year, Error.

:020306090F03130800BF

Hour Error

(00h)

Minute

Year (08: 2008)

Month
Day
To get actual fresh Clock data repeat the above two steps.


Setting the Clock - example:

Set the following Clock data: Hour:14, Minute:05, Month: 03, Day:22, Year: 2008
Load Hour and Minute into register 00F0h

:020600F00E05F5

Load Month and Day into register 00F2h.

:020600F20316ED

Load Year (08h) and command 41h into register 00F4h :020600F40841BB

Loading 41h will start the Clock-set procedure.
Then read out data from addresses 00F4h – 00F5h

:020300F40001FE

The result will contain the Year and Error informing about the successful loading.
:0203020800F1

Error information


If the Error is 0 all Clock data is loaded.
Possible Error types and codes are listed here:

In

case of an error all Clock data loading will be
prohibited.

Error Caused

by

81h

Hour > 23

82h

Minute > 59

83h

Month > 12

84h

Too many Days

85h Year<8,

Year>50

Advertising