![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543145.webp)
2-8
Section
Numeral Display
136
An example is given below.
Contents
of word at
host
Storage
Type
Words
Numeric val-
ue stored in
numeral
memory table
Display
Type
Sign
Displayed
numeric val-
ue
1234
1
000004D2
H
1234
F123
1
FFFFFF85
H
Unsigned
123
F0001234
2
FFFFFB2E
H
Decimal
g
1234
1234
1
000004D2
H
Decimal
1234
F123
BCD
1
FFFFFF85
H
Signed
–123
F0001234
2
FFFFFB2E
H
g
–1234
1234
1
000004D2
H
H
d
i
4D2
F123
1
FFFFFF85
H
Hexadeci
mal
–
FF85
F0001234
2
FFFFFB2E
H
mal
FFFFFB2E
1234
1
00001234
H
4600
F123
1
FFFFF123
H
Unsigned
3805
F0001234
2
F0001234
H
Decimal
g
268430796
1234
1
00001234
H
Decimal
4660
F123
Binary
1
FFFFF123
H
Signed
–3805
F0001234
Binary
2
F0001234
H
g
–268430796
1234
1
00001234
H
H
d
i
1234
F123
1
FFFFF123
H
Hexadeci
mal
–
F123
F0001234
2
F0001234
H
mal
F0001234
Reference:
Data is stored in the numeral memory table as signed data with a data length of 4
bytes.
If the setting for Storage Type is BCD, the contents of the host word(s) (BCD
data) are converted to signed binary (hexadecimal) data and then stored in the
numeral memory table. If the most significant digit in the word contents is F, it is
regarded as a negative value. If the BCD data is not correct, it is not read out and
the existing value is retained.
If the setting for Storage Type is Binary, the contents of the host word(s) are
stored in the numeral memory table without alteration. However, if a negative
value is written when the number of allocated host words is 1, the number of bits
is increased to accommodate 2-word signed data before storage (refer to the
example of F123 above).
When the numeric value for display is designated as unsigned, it is displayed as
an absolute value.
In numeral display, the numeric values are displayed in accordance with the
General settings.
For details on the method of display depending on the General settings, refer to
Common Attributes (page 130).
Numeral displays have no input function.
Numeral displays have no output function.
With numeral displays, the contents of numeral memory tables are converted to
displayed numeric values in accordance with the General settings.
For details on the method of conversion depending on the General settings, re-
fer to
Common Attributes (page 130).
Relationship with Other Elements
•
The conversion method and display method used with numeral displays are
the same as those used when displaying numeric values with numeral input
(page 183).
Display Functions
Input Functions
Output Functions
Processing Functions
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...