DOCA0054EN-10

Metering Event Log

General Description

The system stores the events that concern the metering manager (analog predefined alarms 1 to 53) in the file 10.

This file is made up of 100 records and each record is made up of nine registers.

File Header

The following table describes the file header content:

Address

Register

RW

X

Unit

Type

Range

A/E/P/H

Description

0x1BFB

7164

RW

INT16U

H

File status:

0x0000 = file disabled

0xFFFF = file enabled (factory setting)

0x1BFC

7165

R

INT16U

H

Type of file:

10 = metering event log

0x1BFD

7166

R

1

INT16U

H

Size of a file = 100 records

0x1BFE

7167

R

1

INT16U

H

Size of a record = 9 registers

0x1BFF

7168

R

INT16U

1

H

File filling mode:

0 = circular

File Status

The following table describes the file status content:

Address

Register

RW

X

Unit

Type

Range

A/E/P/H

Description

0x1C0B

7180

R

1

INT16U

H

Size of a file = 100 records

0x1C0C

7181

R

1

INT16U

H

Size of a record = 9 registers

0x1C0D

7182

R

1

INT16U

H

0x0000 = file OK

0x000A = record size smaller than expected

0x0014 = record size larger than expected

0x001E = insufficient memory

0x00FA = internal error

0x00FD = corrupted allocation table

0x00FE = configuration zero

0x00FF = invalid configuration

0xFC00 = invalid file number

0xFD00 = invalid record number

0xFE00 = file not supported

0xFF00 = cannot allocate file

0x1C0E

7183

R

1

INT16U

0–100

H

Number of records in the file

0x1C0F

7184

R

1

INT16U

0–8000

H

Sequence number of first record in the file (the oldest)

0x1C10

7185

R

1

INT16U

0–8000

H

Sequence number of last record in the file (the most recent)

0x1C11– 0x1C13

7186– 7188

R

DATE

H

Date the last file was reset.

Factory setting = 0x8000 0x8000 0x8000

Metering Event Record

The following table shows the format of one record in the metering log:

Registers

Type

Bits

Description

1–4

XDATE

Event date

5

INT16U

Event number: analog predefined alarms 1–53

6

INT16U

Extreme value

7

INT16U

0–7

1 = alarm of the over type

2 = alarm of the under type

3 = alarm of the equal to type

4 = alarm of the different from type

5 = all other alarms

8–11

1 = start of an alarm

2 = end of an alarm

12–15

Alarms 1100–1106 have a priority 3. For other alarms, the value contained in these 4 bits represents the priority linked to the event (if applicable and depending on the alarm configuration).

8

INT16U

Logging register associated to the alarm (1)

9

INT16U

Action register associated to the alarm (1)

(1) Registers 8 and 9 are a copy of the alarm configuration registers at the moment the event occurred. These registers depend entirely on the user configurations. For the events 1100–1106, these registers are forced to 32768.

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

Was this helpful?