beautypg.com

Maxim Integrated 78M6612 M-API Library User Manual

Page 20

background image

78M6612 M-API Library User Guide

UG_6612_036

20

Rev. 1.00

4.2.1.1 Auto-Scaling

When retrieving measurement data using the MAPI_GetSetRegister() call, the returned data value is
automatically converted to usable data according to the TypeSize of the register location. The
ScaleFactor is for information only.

When writing alarm thresholds to library input registers, usable data values are automatically converted to
raw values according to the TypeSize of the target register address.

4.2.1.2 Output Data Address Locations

The following output data is updated once per accumulation interval and available via the
MAPI_GetSetRegister() call.

MPU

Address

Name

LSB

Type

Description

NB

WB

00

20

Delta Temperature

0.1 °C

FLOAT

Temperature difference from 22 °C.

01

21

Line Frequency

0.01 Hz

FREQ

Line Frequency.

02

22

Alarm Status
(common)

STATUS

See Section 4.4.3 – MAPI_MeterStatus() for
details.

03

23

OverCurrent Event
Count

1

INTEGER

Number of event counts where value
exceeded over current alarm threshold.

04

24

Under Voltage Event
Count

1

INTEGER

Number of event counts where value
exceeded under voltage alarm threshold.

05

25

Over Voltage Event
Count

1

INTEGER

Number of event counts where value
exceeded over voltage alarm threshold.

06

26

Volts

mVrms

VRMS_M AC Line Voltage (RMS)


MPU Address

Name

LSB

Type

Description

Outlet 1

Outlet 2

NB

WB

NB

WB

07

27

47

67

Active

Power

mW

POWER

Active Power (per accum interval).

08

28

48

68

Energy

mWh

ENERGY

Accumulated Energy.

09

29

49

69

Cost

mUnits

FLOAT

Accumulated Cost.

0A

2A

4A

6A

Current

mArms

IRMS_M

RMS Current.

0B

2B

4B

6B

Reactive

Power

mW

POWER

Reactive Power (per accum interval).

0C

2C

4C

6C

Apparent

Power

mW

POWER

Apparent Power (per accum interval).

0D

2D

4D

6D

Power
Factor

FLOAT

Power factor.
(output will be between -1.00 and 1.00)