2-8
Section
Numeral Display
134
•
Setting for Integer =
4; setting for Decimal = 4:
Resulting display: 0012.3456
•
Setting for Integer =
2, setting for Decimal = 4:
Resulting display: 12.3456
•
Setting for Integer =
1, setting for Decimal = 4:
Resulting display:
∗
.
∗∗∗∗
Zero Suppression
The numeric value is displayed right-justified within the sum of the number of
digits specified for Integer and the number of digits specified for Decimal. Nor-
mally, when the number of digits of the numeric value is small, the excess digits
at the left side are filled with zeros. When the check mark is set for Zero Suppres-
sion, no zeros are set in the excess digits and they remain blank.
Without zero suppression
(when the number of digits displayed is 8)
With zero suppression
Stored Data and Displayed Numeric Value
The conversion method for display and the range of numeric values that can be
displayed depend on the following settings.
Display Type (Decimal/Hexadecimal)
Display Sign (whether or not negative values are displayed)
Conversion Depending on Display Type
The data stored in a numeral memory table is converted as follows depending on
the setting for Display Type.
•
Decimal:
The numeric value (signed binary data) stored in the numeral memory table
is converted to decimal notation.
•
Hexadecimal:
The numeric value (signed binary data) stored in the numeral memory table
is displayed without alteration.
Reference:
Numeral memory tables store numeric values as signed binary data.
Effect of Sign on Conversion
For unsigned decimal values, if the result of conversion of the data in a numeral
memory table is negative, it is displayed after conversion to an absolute value.
For signed decimal values, if the result of conversion is a negative value it is dis-
played with a minus sign –.
Permissible Display Range
The permissible display range depends on the settings made for Display Type
and Display Sign, as follows.
Display Type
Sign
Permissible Display Range
Decimal
Unsigned
0 to 2147483648
*
Decimal
Signed
–2147483648 to 2147483647
Hexadecimal
–
0 to FFFFFFFF
H
When displaying the contents of numeral memory tables that are allocated to
host words, not only the numeral display properties but also the Storage Type
and Words settings made for the numeral memory table have an effect on the
permissible display range. The permissible display range is determined as fol-
lows depending on these properties.
electronic components distributor
Summary of Contents for NT21 Series
Page 3: ...iv Downloaded from Elcodis com electronic components distributor...
Page 5: ...vi Downloaded from Elcodis com electronic components distributor...
Page 463: ...Downloaded from Elcodis com electronic components distributor...
Page 465: ...Downloaded from Elcodis com electronic components distributor...