
The Objects
Chapter 10
10-32
If you are displaying a number with a decimal point, the decimal point
occupies the space of one digit. For example, if you want to display a
fractional number and you specify eight digits, the Numeric Data Display
will show seven numeric digits, plus the decimal point.
Displays with Polarity
Enabling polarity extends the range of values that can be displayed. There
is only an implied relationship between the numeric value and the minus
sign. If the bit at the Polarity Address is 0, the minus sign is not displayed;
if the bit at the Polarity Address is 1, then the minus sign is displayed.
If the object is configured with just the polarity bit, 2 to 8 digits can be
configured (the default is 6), depending upon the field size. If both the
decimal point and polarity point are used, from 3 to 8 digits are allowed
(the default is 7).
If you are displaying negative numbers, the minus sign occupies the space
of one digit. For example, if you want to display a negative fractional
number and you specify eight digits, the Numeric Data Display will show
six numeric digits plus the minus sign and the decimal point.
There are two ways to display negative values—one uses “No Polarity”
and the “Signed Integer” data type. This automatically inserts the minus
sign when the signed integer bit value is negative. The other way is to
select “Polarity”.
Scaled Numeric Data Display
The Numeric Data Display object supports two types of numeric displays,
Standard and Scaled. Choose Scaled if you want to scale the PLC value
(for example, convert the raw PLC value into meaningful engineering units
such as gallons, inches, PSI, or inches per second).
Table 10.J
Scaled
Numeric Data Display Formatting and Addressing Options
Format Options Address
Options
Data Types Data Range
No. of Digits Displayed Value Binary 0 - 65,535
Fill Left With Zeroes or Spaces
Address BCD 0 - 99,999,999
Scaling Factor .0001 - 9999 Signed Integer -32,768 - +32,767
Offset Value -32,768 - +32767
Display Result
with
Decimal Point
or Roundoff
Comentarios a estos manuales