beautypg.com

Digit, signed, octal – Rockwell Automation 1771-DB Basic Module User Manual - Series A User Manual

Page 145

background image

Data Types

Chapter 7

7–3

Figure 7.3
Truncated 4-Digit BCD Integer

This value requires one word of the processor data table. The data is
represented by a 4-digit octal integer (figure 7.4). The value ranges from
"7777 8 ("4095). Overflow, underflow and sign are also indicated. If an
overflow or underflow condition exists, the appropriate bit is set and the
value of 0000 is reported. Fractional portions of any number used in this
routine are truncated.

Figure 7.4
Truncated 4-Digit Octal Integer

7.2.3
4-digit, Unsigned,
Fixed Decimal BCD
(continued)

7.2.4
4-digit, Signed, Octal