DOCA0355EN-00

Real-Time Clock Settings

The TeSys Tera system has an internal clock and remembers the date and time for 12 hours without power.

The table lists the Real-Time Clock (RTC) settings for the Modbus RTU communication.

NOTE: To write date and time, update RTC register (4420) value to 1.

Address

Register

No.

Function code

RW

X Unit

Type

Range Default value

Svd

Description

0x113B

4412

1

0x03,
0x10

RW

1

UINT16

1–31
(step 1)

1

Y

Date

0x113C

4413

1

0x03,
0x10

RW

1

UINT16

1–12
(step 1)

1

Y

Month

0x113D

4414

1

0x03,
0x10

RW

1

UINT16

2000–2099
(step 1)

2016

Y

Year

0x113E

4415

1

0x03,
0x10

RW

1

UINT16

0–23
(step 1)

0

Y

Hour

0x113F

4416

1

0x03,
0x10

RW

1

UINT16

0–59
(step 1)

0

Y

Minute

0x1140

4417

1

0x03,
0x10

RW

1

UINT16

0–59
(step 1)

0

Y

Second

0x1141

4418

2

Reserved

0x1143

4420

1

0x03,
0x10

RW

1

UINT16

0–1

0

N

Update RTC

Write date and time to the following Modbus holding registers with address 4412, function code 16 (multiple holding registers), and number of register is 9.

For example, to update 01-Jan-2023 12:00:00, register values should be as below format:

Parameter name Register Example data Data format (Big-endian)

Date

4412

1 0x0001

Month

4413

1 0x0001

Year

4414

2023 0x07E7

Hour

4415

12 0x000C

Minute

4416

0 0x0000

Second

4417

0 0x0000

Reserved

4418

0 0x0000

Update RTC

4420

0 0x0001

QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and other countries.

Was this helpful?