![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543196.webp)
2-12
Section
Inputting Numeric Values
187
The permissible input range is determined as follows depending on these prop-
erties. If input of a value outside this range is attempted, the PT checks and pre-
vents the input.
Storage
Type
Words
Display
Type
Sign
Permissible Input Range
Decimal
Unsigned
0 to 9999
1
Decimal
Signed
–999 to 9999
1
Hexadecimal
–
FC19 to FFFF
H
(negative numbers)
0 to 270F
H
(positive numbers)
BCD
Decimal
Unsigned
0 to 99999999
2
Decimal
Signed
–9999999 to 99999999
2
Hexadecimal
–
FF676981 to FFFFFFFF
H
(negative numbers)
0 to 5F5E0FF
H
(positive numbers)
Decimal
Unsigned
0 to 32767
*
1
Decimal
Signed
–32768 to 32767
Binary
Hexadecimal
–
0 to FFFF
H
Binary
Decimal
Unsigned
0 to 2147483647
*
2
Decimal
Signed
–2147483648 to 2147483647
Hexadecimal
–
0 to FFFFFFFF
H
* Note that the values are different from those of the numeral display range. In
numeral display, since negative numbers are displayed as absolute values when
displaying unsigned decimal values, 32768 and 2147483648, which cannot be
input, may be displayed.
Relationship Between Input Numeric Values and Contents of Host Words
When inputting a numeric value to a numeral memory table allocated to a word
at the host, the value is first converted to signed binary in accordance with the
settings for Display Type and Display Sign settings and stored in the numeral
memory table, and then written to the host word in accordance with the Words
and Storage Type settings for the numeral memory table. Therefore the result
also differs according to the settings made for Words and Storage Type (BCD or
Binary).
Numeral memory table
8-digit hexadecimal
(Can’t be read externally.)
Decimal
Hexadecimal
BCD
Binary
Set the data format in which
the values input at the PT will
be stored in the numeral
memory tables.
(Set in the Numeral Input
properties.)
Set the data format in which the
numeral memory table values
will be stored in the PC.
(Set with the numeral memory
table.)
BCD
Binary
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...