Format of commands (4 byte input data) -8 – Hardy HI 200DNWM DeviceNet Weigh Module User Manual

Page 42

Advertising
background image

HI 200DNWM MANUAL

5-8

Format of
Commands (4
byte input
data)

Most of the HI 200DNWM’s parameters are
only 1 byte long, making it possible to write
them with a single command. There are also
some 4 byte parameters. To write one of
them:

Step 1. First write the 2 most significant

bytes, using a WRITE command as
described above, with 0x27 in the
parameter number field.

Step 2. Write the least significant bytes

using normal parameter numbers.
The module will combine the value
written to parameter 0x27 with the
least significant bytes to produce
the value written to the 4 byte
parameter.

The 4 bytes written to the output table are as
follows:

If the Command byte of the input data is
0 (READ), the data is the value of the
specified parameter, least significant byte
first.

Byte 0

Parameter value, least significant byte. (Used by
the WRITE command only.

Byte 1

Parameter value, second least significant byte.
(Used by the WRITE command only.)

Byte 2

Parameter number. The parameter number is the
instance of the parameter object. These are listed
in the HI 200DNWM manual.

Byte 3

(Command byte): 0=READ command. 1 =
WRITE command

Advertising