![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543144.webp)
2-8
Section
Numeral Display
135
Storage
Type
Words
Display
Type
Sign
Permissible Display Range
Decimal
Unsigned
0 to 9999
1
Decimal
Signed
–999 to 9999
BCD
Hexadecimal
–
0 to 270F
H
BCD
Decimal
Unsigned
0 to 99999999
2
Decimal
Signed
–9999999 to 99999999
Hexadecimal
–
0 to 5F5E0FF
H
Decimal
Unsigned
0 to 32768
*
1
Decimal
Signed
–32768 to 32767
Binary
Hexadecimal
–
0 to FFFF
H
Binary
Decimal
Unsigned
0 to 2147483648
*
2
Decimal
Signed
–2147483648 to 2147483647
Hexadecimal
–
0 to FFFFFFFF
H
* Note that this range is different from that for numeral input (page 188). 32768 is
displayed when the contents of the numeral memory table are 8000
H
(–32768),
and 2147483648 is displayed when the contents of the memory table are
80000000H (–2147483648). This is because when the value is unsigned, only the
sign is omitted and the numeric value is displayed as an absolute value. It is not
possible to input 32768 or 2147483648 as positive values.
Relationship Between Contents of Host Words and Displayed Numeric
Value
When displaying the contents of a numeral memory table allocated to a word at
the host, the contents of the word are first converted to the format for storage in
the numeral memory table (signed hexadecimal), and then converted again in
accordance with the settings for Display Type and Display Sign settings in order
to display them. Therefore the result also differs according to the settings made
for Words and Storage Type.
Numeral memory table
8-digit hexadecimal
(Can’t be read externally.)
Decimal
Hexadecimal
Decimal
Hexadecimal
BCD
Binary
Set the data format (decimal/
hexadecimal) in which the
numeral memory table values
will be displayed.
(Set in the Numeral Display
properties.)
Set the data format that the
PT will apply to word data in
the PC.
(Set with the numeral
memory table.)
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...