beautypg.com

4 auxiliary commands, 1 repeat command, Auxiliary commands – Maxim Integrated 6612_OMU_S2_URT_V1_13 User Manual

Page 9: Repeat command

background image

FDD_6612_ 010

6612_OMU_S2_URT_V1_13 Firmware Description Document

Rev. 1.1

9

Examples:

)08$

Reads data word 0x08 in hex format.

)08$$

Reads data words 0x08, 0x09 in hex format.

)08$$$

Reads data words 0x08, 0x09, 0x0A in hex
format.

)28:4D$

Read Outlet 1 narrowband data words in hex.

)08?

Reads data word 0x08 in decimal format.

)08??

Reads data words 0x08, 0x09 in decimal format.

)08???

Reads data words 0x08, 0x09, 0x0A in decimal
format.

)28:4D?

Read Outlet 1 narrowband data words in decimal.

)04=12345678

Writes word @ 0x04 in hex format.

)04=12345678=9876ABCD

Writes two words starting @ 0x04 in hex format.

)04=+123

Writes two words starting @ 0x04 in decimal
format.

)04=+123=+334

Writes two words starting @ 0x04 in decimal
format.

MPU or XDATA space is the address range for the MPU XRAM (0x00 to 0x7F). Addresses
from 0x80 to FF wrap to 0x00 to 0x7F. The MPU registers differ in size, LSBs and format.

4.4 Auxiliary Commands

4.4.1 Repeat Command

The repeat command can be useful for monitoring measurements and is efficient in demands from the
host.

If the host requests line frequency, alarm status, Irms nb overcurrent event count, Vrms SAG event count,
Vrms overvoltage event count, voltage, power, and accumulated energy measurements for Outlet 1 with
the following command string:

>)01????????

If the host then desires this same request without issuing another command, the repeat command can be
used:

>, (no carriage return needed for the repeat command)

The host only needs to send one character rather than an entire string.