beautypg.com

Maxim Integrated 71M6513H Power Meter IC Family Software User Manual

Page 24

background image

71M651x Software User’s Guide

CP

PULSE-COUNT CONTROL

Demo Code Revision 3.05 only

Description:

Allows the user to control the pulse count functions.

Usage:

CP [option]

Command
combinations:

CPA

Start pulse counting for time period defined with the CPD
command. Pulse counts will display with commands M15.2,
M16.2

CPC

Clear the absolute pulse count displays (shown with
commands M15.1, M16.1)

CPDn

Set time window for pulse counters to n seconds, n is inter-
preted as a decimal number.

Example:

CPD60

Set time window to 60 seconds.

Pulse counts accumulated over a time window defined by the CPD command will be displayed by M15.2
or M16.2 after

the defined time has expired.

Commands M15.1 and M16.1 will display the absolute

pulse count for the W and VAR outputs. These

displays are reset to zero with the CPC command (or the XRAM write )1=2).
Commands M15.2 and M16.2 will display the number of pulses counted during the interval defined by the
CPD command. These displays are reset only after a new reading, as initiated by the CPA command.

EE

EEPROM CONTROL

Description:

Allows user to enable read and write to EEPROM.

Usage:

EE [option] [arguments]

Options:

Cn

EEPROM Access (1  Enable, 0  Disable)

Ra.b

Read EEPROM at address 'a' for 'b' bytes.

Sabc..xyz

Write characters to buffer (sets Write length)

Ta

Transmit buffer to EEPROM at address 'a'.

Wa.b...z

Write values to buffer

Example:

EEShello; EET$0210

Writes 'hello' starting at EEPROM address 0x210.

I

INFORMATION MESSAGES

Description:

Allows user to read and write information messages.

Usage:

I [option] [argument]

Options:

0

Displays complete version information

1

Displays Demo Code version string

1=abcdef

Change Demo Code version string

2

Displays Copyright string

3

CE Version string

3=abcdef

Change CE Code version string

Example:

I1

Returns Demo Code version

Revision 2.4

TERIDIAN Proprietary

24 of 137

© Copyright 2005-2006 TERIDIAN Semiconductor Corporation