beautypg.com

Useful cli commands involving the mpu and ce, Table 1-8: mpu accumulation output variables, Table 1-9: cli commands for data memory – Maxim Integrated 71M6533-DB User Manual

Page 33: 3 useful cli commands involving the mpu and ce

background image

71M6533-

DB Demo Board User’s Manual

Page: 33 of 75

`

REV 3

0x40

Vah_B

Total VA hours in element 1

0x32

Whi_C

Total Watt hours consumed through element 2

0x4A

Whe_C

Total Watt hours generated (inverse consumed) through element 2

0x3A

VARhi_C

Total VAR hours consumed through element 2

0x52

VARhe_C

Total VAR hours generated (inverse consumed) through element 2

0x42

VAh_C

Total VA hours in element 2

Table 1-8: MPU Accumulation Output Variables

1.10.3 USEFUL CLI COMMANDS INVOLVING THE MPU AND CE

Table 1-9 shows a few essential commands involving data memory.

Command

Description

)1=2

Clears the accumulators for Wh, VARh, and VAh by setting bit 1 of the CONFIG register.

)A=+2080

Applies the value 208A to the IMAX register

)9=+6000

Applies the value 600V to the VMAX register

)2F??

Displays the total accumulated imported Wh energy

MR2.1

Displays the current RMS voltage in phase A

MR1.2

Displays the current RMS current in phase B

RI5=26

Disables the emulator clock by setting bit 5 in I/O RAM address 0x05. This command will
disable emulator/programmer access to the 71M6533.

RI5=6

Re-enables the emulator clock by clearing bit 5 in I/O RAM address 0x05.

]U

Stores the current CE RAM variables to flash memory. The variables stored in flash memory
will be applied by the MPU at the next reset or power-up if no valid data is available from the
EEPROM.

Table 1-9: CLI Commands for Data Memory