HI 2151 SERIES WEIGHT CONTROLLERS REMOTE I/O OPTION
4-2
Status Byte
Select two of the status bytes below to be placed in the PLC Output
Image Table. Definitions of the status bits contained in each status byte:
0 = Relay Status Byte
1 = Remote Function Status Byte
2 = Indicator Group 2 Status Byte
3 = Indicator Group 1 Status Byte
4 = Dipswitch Settings (exterior) Status Byte
5 = Dipswitch Settings (interior) Status Byte
6 = Acquire Tare (Set tare value = current gross weight)
7 = Lights test LED (see RIO Setup menu)
8 = MSB of 24 Bit Weight Value
0-3 = 4 bits of weight data (16-19)
4-7 = Sign Bits (20-23)
9 = Sync Pulse
0-7 = This byte increments every 50 milliseconds
Example
Placing a 0000 (Hex) for the first word and a 0123 (Hex) for the second
word in the PLC Output Image Table will cause the HI 2151WC to
place the least significant sixteen bits of the internal 20 bit net weight
value and Indicator Groups 1 and 2 Status Bytes in the PLC Input
Image Table.
Discrete Reads
the HI 2151WC places the weight and status information, specified in
the last discrete write command, in the PLC Input Image Table. The
data is arranged as shown in Table 3-2.
NOTE:
Negative values are sent in “two’s complement form”.
0 = Relay Status
Byte
bit 0
Relay #8 status (on/off)
bit 1
Relay #7 status (on/off)
bit 2
Relay #6 status (on/off)
bit 3
Relay #5 status (on/off)
bit 4
Relay #4 status (on/off)
bit 5
Relay #3 status (on/off)
bit 6
Relay #1 status (on/off - Notice relays 1 and 2
are not in numerical sequence)
bit 7
Relay #2 status (on/off - Notice relays 1 and 2
are not in numerical sequence)
bits:
15-8
7-0
First Word of the Quarter
MSB of weight parameter
LSB of weight parameter
Second Word of the
Quarter
1st Status Byte
2nd Status Byte
TABLE 4-2: DISCRETE READ - 2 WORDS (16 BITS EACH)