beautypg.com

Laurel Electronics Custom ASCII Protocol For Laureate Series 2 Digital Panel Meters, Counters, Timers & L-Series Transmitters User Manual

Page 39

background image

39

11. APPENDIX B: COUNTER / TIMER MEMORY ADDRESSES
AND DATA DEFINITIONS

11.1 COUNTER / TIMER 1-BYTE RAM MEMORY DATA

(L) = Lower memory, (U) = Upper memory

The bit assignments below constitute an 8-bit binary number, which needs to be converted to
Hex using a program such a Scientific Calculator under MS Windows Accessories. To change
an Item in Counter

/

Timer RAM Memory, write the converted Hex value to the Hex Address

shown in the left column. To change an Item in Nonvolatile Memory, go to table 11.4, read the
existing two-byte word (MS byte and LS byte) from the Counter

/

Timer for the Hex Address

which includes the Item to be changed, edit the MS or LS byte as appropriate, and write the
edited word back to the Hex Address.

Hex Address

Item Name

Bit Assignment

43 (L)

Resolution

Bit 7 6 5 4 3 2 1 0 Multiplier

0

0.00001

1

0.0001

1 0

0.001

1 1

0.01

1 0 0

0.1

1 0 1

1

1 1 0

10

1 1 1

100

1 0 0 0

1000

1 0 0 1

10000

1 0 1 0

100000

42 (L)

Recog. Char.

ASCII value of custom recognition character

41 (L)

Slope

Bit 7 6 5 4 3 2 1 0

0 Positive slope Channel B

1 Negative slope Channel B

0

Positive slope Channel A

1

Negative slope Channel A

3E (L)

Scale
Multiplier

Bits 3-0 = 0-A

SCALE1 multiplier

Bits 7-4 = 0-A

SCALE2 multiplier

0-A:

Same multiplier as for Resolution