Block transfer read example, Block transfer read example -13, Chapter 5 - block transfers – Hardy HI 2151/30WC Single-Scale Controller User Manual

Page 33

Advertising
background image

Chapter 5 - Block Transfers

5-13

TABLE 5-15: BLOCK READ COMMAND NUMBER 12: INTEGRATED TECHNICIAN

Block Transfer Read
Example

This routine is set up to be used with the HI 2151WC series weight
controllers. It is a Block Transfer Read (BTR) sub-routine, currently
configured to do a BTR 2 of the relay setpoint data. The block length is
the only value which needs to be changed to use other block transfer
read types. This routine will continually read the HI 2151WC as long as
it is running.

N21:0 will have a 2, to request a block transfer read #2.

BLOCK READ COMMAND NUMBER 12: Integrated Technician

START

WORD DEFINITIONS:

#WORDS

WORD

Command number: A value of 12 (decimal)

bit 0

0

bit 1

0

bit 2

1

bit 3

1

bit 4

0

bit 5

0

bit 6

0

bit 7

0

bit 8

Reserved for future use

1

0

Excitation Monitor

On/Off

bits 0 - 7

A value of 0 or 1 (0 = Off, 1 = On)

OK/ERR

bits 8 - 15

A value of 0 or 1 (o = OK, 1 = ERR)

1

1

TOTAL NUMBER OF WORDS

2

Advertising