Examples of floating point display – Rockwell Automation 2707-NP DTAM Programming Software User Manual

Page 177

Advertising
background image

Appendix D

Data Formats

D–7

Examples of Floating Point Display

The following examples show how various numbers would be displayed with
floating point display on and off. All floating point examples assume a
display width of 8 and a decimal position of 4.

Table 2
Floating Point Display With Decimal Option Set to 1

Number From

PLC

Displayed Value

Note

0.1231

.123

.00004

.000

99.999999

100.000

Number is rounded at decimal position 8

9999.9999

>>>>>>>>>>

Number is rounded at decimal position 8 to display
10000, but is too large to display

–999.99999

<<<<<<<<<<

Number is rounded at decimal position 8 to display
–1000, but is too large (negative) to display

2.012E+9

>>>>>>>>>>

Number too large to fit in display (positive)

–2.012E+9

<<<<<<<<<<

Number is to large to fit in display (negative)

2.012E–9

.000

number is too small to fit in display and is truncated

Table 3
Floating Point Display With Decimal Option Set to 0

Number From

PLC

Displayed Value

Note

0.1231

0.1231

0.0004

0.0004

.0000000001

0.0000000

Number is truncated

1234567.0

>>>>>>>>>>

number is greater than 6 places

99.999999

100.

Number is rounded at decimal position 8

2.012E+9

>>>>>>>>>>

Number too large to fit in display (positive)

–2.012E+9

<<<<<<<<<<

Number is to large to fit in display (negative)

Advertising