2-12SectionInputting Numeric Values
196
The permissible input range is determined as shown below depending on these
properties. If input of a value outside this range is attempted, the PT checks and
prevents the input.
Storage
Type
Words
Display
Type
Sign Permissible Input Range
Unsigned 0 to 2147483647
*
2
Decimal
Signed –2147483648 to 2147483647
Hexadecimal – 0 to FFFFFFFFH
* 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 word allocated for a numeral memory table
entry in 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 entry, and then written to the host word in accordance with the
Words and Storage Type settings for the numeral memory table entry. Therefore
the result also differs according to the settings made for Words and Storage
Type (BCD or Binary).
Numeral memory table entries
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 table entries.
(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 entry.)
BCD
Binary