Examples using the command interface -9 – Hardy HI 200DNWM DeviceNet Weigh Module User Manual

Page 43

Advertising
background image

CHAPTER 5 - SETUP

5-9

If the specified parameter is an invalid
number (0 for example: there is no
parameter number 0), the data is net
weight, with units as determined by the
METRIC POLL parameter.

If the Command byte of the input data is
non-zero (WRITE), the output data
echoes the input data.

Examples
Using the
Command
Interface

Reading Gross Weight in the polled output
data.

1. First word (2 least significant bytes) of

the input data is not used. Ignore.

2. Lower byte of second word is the param-

eter number. Gross weight in lbs is
parameter #16.

3. Upper byte of second word set is “0”

indicating read.

This causes the unit to output the Gross
weight in lbs to the output polled data area.
Resolution and data type would depend on
the Weight Multiplier setting.

Writing new value to number of averages.
1. First byte of first word on the input data

is the new valued wanted.

2. Upper byte of first word should be 0 and

is not used.

3. Lower byte of second word is the param-

eter number. Averages is parameter #5.

4. Upper byte of second word is set to “1”

to indicate write.

This causes the unit to write the value in the
first byte of the first word to the Averages

Advertising