Chapter 6 - conversion charts and formulas, Hex chart, Relay status example – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 52: Relay status example -1, Chapter 6 - conversion charts and formulas 6-1, Chapter 6 - conversions charts and formulas

Advertising
background image

Chapter 6 - Conversions Charts and Formulas

6-1

CHAPTER 6 - CONVERSION CHARTS AND FORMULAS

Hex Chart

Use the Hex Chart to translate bit values to a hex value.

Relay Status
Example

For example the bit representative of the Relay status byte when set-
point relays 8,5,3, and 1 are on is (01101001). This eight bit value is
represented by two four bit nibbles (0110 and 1001). Looking at the
table we see this is equal to a Hex value of 69.

Bit 3

Bit 2

Bit 1

Bit 0

Hex Value

Bit 7

Bit 6

Bit 5

Bit 4

0

0

0

0

0

0

0

0

1

1

0

0

1

0

2

0

0

1

1

3

0

1

0

0

4

0

1

0

1

5

0

1

1

0

6

0

1

1

1

7

1

0

0

0

8

1

0

0

1

9

1

0

1

0

A

1

0

1

1

B

1

1

0

0

C

1

1

0

1

D

1

1

1

0

E

1

1

1

1

F

TABLE 6-1: HEX CHART

Bit #

Bit Status

Hex

Description

Bit 0

1 = On

9

Relay #8 status (on/off)

Bit 1

0 = Off

Relay #7 status (on/off)

Bit 2

0 = Off

Relay #6 status (on/off)

Bit 3

1 = On

Relay #5 status (on/off)

TABLE 6-2: RELAY STATUS

Advertising