
Profibus Commands
13
3.4
Command Examples
This section provides examples of 20-bit integer and 32-bit ßoating point commands used to send and receive
indicator data.
3.4.1
Retrieve Net Weight Data (20-bit)
Table 3-9 shows a binary representation of the 20-bit output data used to retrieve net weight from the indicator
using command 28. The output format includes only the command number, in byte 0 of word 0 (0001 1100 =
hex 1C, decimal 28).
Table 3-10 shows the input data returned by the previous command:
¥
The status bits in word 1 (see Section 3.3 on page 12) show that a tare has been performed and the
indicator is in net mode.
¥
Weight data is returned in word 3 (0000 0111 1101 0101 = hex 07D5 = decimal 2005). Assuming the
indicator is conÞgured to display pounds, with one decimal position, the net weight is interpreted as
200.5 LB.
3.4.2
Retrieve Net Weight Data (32-bit)
Table 3-11 shows a binary representation of the 32-bit output data used to retrieve net weight from channel 2 of
an IQ plus 800/810using command 261. The output format includes the command number, in byte 0 of word 0
(0001 0001 1100 = hex 105, decimal 261), the channel number (0100, decimal 2) in the lower byte of word 1.
Bit
Byte 1
Byte 0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word 0
R
R
R
R
R
R
R
R
0
0
0
1
1
1
0
0
Word 1
Not used
Word 2
Not used
Word 3
Not used
Table 3-9. 20-bit Integer Output to Send Command 28, Return Net Weight, Channel 1
Bit
Byte 1
Byte 0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word 0
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
R
Word 1
0
0
0
0
0
0
0
0
1
1
0
0
0
0
1
0
Word 2
R
R
R
R
R
R
R
R
0
0
0
0
0
0
0
0
Word 3
0
0
0
0
0
1
1
1
1
1
0
1
0
1
0
1
Table 3-10. 20-bit Integer Input with Returned Net Weight Data
Bit
Byte 1
Byte 0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word 0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
1
Word 1
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
Word 2
Not used
Word 3
Not used
Table 3-11. 32-bit Floating Point Output to Send Command 261, Read Net Weight
DISCONTINUED