Data formats -10 – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 108

Advertising
background image

HI 2151/30WC MANUAL

7-10

NOTE:

The 2151/30WC weight controller contain intelligent front ends to a distributed sys-
tem, therefore network speed is not usually critical.

Data Formats

Relays, dip switches and LED data along with weight data have their
own special format for transmission. These formats are described in the
following two sections.

Data Formats -
Binary
Representation

1. Relay, dipswitch and LED numbers are represented by the binary

bit position. In the case of a relay, 0 disables the relay and a 1
enables the relay.

2. Binary bit position:

7

6

5

4

3

2

1

0

3. Relay(binary bit position +1):

7

6

8

2

1

3

4

5

4. Example:

To enable relays 4 and 8, the following would be the binary repre-
sentation:

0

0

1

0

0

0

1

0

This would be 22 hex, hence the command to enable relays 4 and 8
would be E 22.

Data Formats -
Weight Data Format

1. Weights are transmitted according to the following rules:

Positive numbers:

Maximum of 6 numeric + decimal point.

Negative numbers:

Maximum of 5 numeric + minus sign + decimal point.

Examples:

Transmitted Correct?

Received

Reason

-123.45

Y

-123.45

5 numerics +
minus sign + decimal
point (B above).

1234.56

Y

1234.56

6 numerics + decimal
point (A above).

Advertising