Laurel Electronics LTM CTR SERIES PULSE, AC or PROCESS TOTALIZER INPUT, SERIAL DATA OUTPUT User Manual

Page 37

Advertising
background image

-

- 37 -

General, Reading and Writing Ram Memory Data

RAM memory data is read and written as a continuous string of bytes consisting of 2 hex
characters (0-9,A-F) per byte. Included in the command are the total number of bytes to be
transferred and the most significant address in RAM of the continuous string of bytes. The
format is:

Read lower RAM data

*1Gnaa

Write lower RAM data

*1Fnaa<data>

Read upper RAM data

*1Rnaa

Write upper RAM data

*1Qnaa<data>

where: n

is the number of bytes to be read or written.

aa

is the most significant address in RAM of the bytes to be read
or written.

<data>

is n bytes of 2 hex characters per byte in order from the most
to the least significant byte.

The number of bytes n consists of a single code character representing values from 1 to 30 as
shown above under CHARACTER 4. The most significant address aa consists of 2 hex charac-
ters as shown below under RAM MEMORY ADDRESSES AND DATA DEFINITIONS.

General, Reading and Writing Nonvolatile Memory Data

Nonvolatile data is read and written as a continuous string of words consisting of 2 bytes or 4
hex characters (0-9,A-F) per word. Included in the command is the total number of words to
be transferred and the most significant address in nonvolatile memory of the continuous string
of words. The format is:

Read nonvolatile memory data

*1Xnaa (followed by Meter reset)

Write non-volatile memory data

*1Wnaa <data> (followed by Meter reset)

where: n

is the number of words to be read or written.

aa

is the most significant address in nonvolatile memory of the words to be
read or written.

<data>

is n words of 2 bytes or 4 hex characters per word in order from the most to
the least significant address.

The coded number of words n consists of a single character representing values from 1 to 30
as shown under CHARACTER 4. The most significant address aa consists of 2 hex characters
as shown under NONVOLATILE MEMORY ADDRESSES.

Advertising