Omron NT631 Series Reference Manual page 204

Programmable terminals
Hide thumbs Also See for NT631 Series:
Table of Contents

Advertisement

Inputting Numeric Values
Downloaded from
Elcodis.com
electronic components distributor
Display Attributes and Drawing Result
Display Attribute
Standard
The numeral setting input field is displayed with the specified
foreground color and background color.
Flash
Repeated alternation of the standard display and no display.
Inverse Flash
Repeated exchange of the foreground color and background
color.
Number of Digits Displayed
All contents of numeral memory tables are stored as integers. To display a nu-
meric value that has a decimal fraction in a numeral setting input field, set the
Decimal setting to 1 or higher to specify the number of places after the decimal
point. A decimal point is then automatically inserted.
The maximum combined total of digits in the integer part and decimal fraction
part is 10 digits. The integer part must always comprise at least one digit.
Note that if the number of digits of the numeric value is greater than the total of
the settings for Integer and Decimal, an error occurs and ∗ is displayed for all the
digits.
Example: Displaying 123456
• Setting for Integer = 8; setting for Decimal = 0:
Resulting display: 00123456
• 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: ∗∗∗∗∗∗
Input Numeric Value and Stored Data
The range of numeric values that can be input and the conversion method for
storage 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 is converted for storage in a numeral memory table as follows depend-
ing on the setting for Display Type (decimal/hexadecimal) and Display Sign
(whether or not negative values are indicated.).
• Decimal:
The numeric value input in decimal is converted to signed binary data and
stored in the numeral memory table.
• Hexadecimal:
The numeric value input in hexadecimal is stored in the numeral memory table
without alteration.
Section
Drawing Result
1
1
1
1
2-12
195

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31 seriesNt21 seriesNt31c seriesNt631c series

Table of Contents