Memory Tables
Section 4-4
4-4 Memory Tables
The NT20 has the “character-string memory table” for the character data and the “numeral memory table” for numeric data which can be written and updated by the PLC/Host.
The contents of the memory table entries can be set by using the Support
Tool when displaying the memory table entries on the screen or by editing the table.
4-4-1 Character-String Memory Table
The character-string memory table is an NT20 internal memory used to store the character data. Up to 128 character-string memory table entries can be used, and up to 16 full size characters (32 bytes) can be stored in one memory table entry. The character-string memory table entries at up to 32 positions can be registered in one screen.
Displaying a Character String
The character-string memory table entries are registered with table entry numbers 0 to 127.
When creating the screen data by using the Support Tool, set the position on the screen to display a character string and also set a character string number to be displayed.
When the NT20 is operated, the screen displays the contents of the character-string memory table.
When using a direct connection, it is possible to display the contents of character-string memory table entries by specifying their numbers with numeral memory table entries (indirect specification), rather than directly changing the character-string memory table contents.
For details on how to change currently displayed character strings, refer to 5-
2-2 Changing Displayed Numerals or Character Strings (Changing the Con-
tents of Allocated Words ... Direct Specification) on page 182, and Write
Character-string Memory Table on page 218.
When using the NT20-ST128 (RS-232C), character strings can be also displayed according to commands from the host, independently of the currently
displayed screen (terminals Function). Refer to Specify Displayed Characters on page 232.
Characters and Figures Which Can Be Displayed
The power of expression of the screen can be increased by giving various attributes such as the enlarged or reverse display to the characters of the character-string memory table.
The character attributes can be set in the edit screen when creating the screen data by using the Support Tool.
The following types of characters can be displayed on the NT20:
Character
Type
Half size characters
Dots
(vertical x horizontal)
8 x 8
Character Set
Alphanumerics and symbols
Maximum Number of
Characters Displayed in One
Screen (without overwriting)
32 characters x 16 lines
(512 characters)
144
Memory Tables
Section 4-4
Normal size characters
8 x 16
16 x 16
Alphanumerics and symbols
GB2312
32 characters x 8 lines
(256 characters)
16 characters x 8 lines
(128 characters)
Marks 16 x 16 Create by using the
Support Tool
• Enlarged Display of Characters and Marks
The characters and marks can be enlarged to the following scales.
Double width scale, Double height scale, x4 scale, x9 scale, x16 scale
• Smoothing
The characters and marks enlarged to the x4 scale or larger are displayed with the outline automatically smoothed. This function is called “smoothing”.
• Reverse and Flashing Display
Reverse display: The display brightness of the character and the background is reversed comparing with the normal display.
Flashing display: Characters are displayed as they flash. The normal display alternates with no-display.
Reverse and flashing display: The reverse display alternates with the normal display.
4-4-2 Numeral Memory Table
The numeral memory table is an NT20 internal memory used to store the numeral data. Up to 128 numeral memory table entries can be used, and up to eight digits (four bytes) of numeral data (including signs) can be stored in one numeral memory table entry. The numeral memory table entries at up to
50 positions can be registered in one screen.
Displaying a Numeral
The numeral memory table entries are registered with table entry numbers 0 to 127.
When creating the screen data by using the Support Tool, set the position on the screen to display a numeral and also set a numeral number to be displayed.
When the NT20 is operated, the screen displays the contents of the numeral memory table.
➡
For details on how to change the currently displayed numeric data, refer to
5-2-2 Changing Displayed Numerals or Character Strings (Changing the
Contents of Allocated Words ... Direct Specification) on page 182, and
Four-digit Write Numeral Memory Table on page 219.
Numerals Which Can Be Displayed
The power of expression of the screen can be increased by giving various attributes such as the enlarged or reverse display to the numerals of the numeral memory table.
The numeral attributes can be set in the edit screen when creating the screen data by using the Support Tool.
• Digits of the whole numbers: 1 to 8 digits
• Digits of the decimal fraction: 0 to 7 digits
• Character sizes: Half, normal
• Enlarged display: Double width, double height, x4, x9, x16
145
Memory Tables
Note
Section 4-4
The characters enlarged to the x4 scale or larger are displayed with the outline automatically smoothed. This function is called
“smoothing”.
• Display attribute: Normal, reverse, flashing, reverse and flashing
• Sign display setting
• Decimal/hexadecimal display setting
• Zero suppress setting
To display one numeral memory table entry on several different screens simultaneously, the display attributes on such screens must be the same. If there are discrepancies among the display attributes, the numeral table entry may not be displayed correctly.
Zero Suppress Setting
The numeral data are displayed in designated display areas as right-aligned.
If the number of digits of a numeral data is smaller than that of the display area, number “0”s will be displayed at the vacant digits. These “0”s will not be displayed if the zero suppress setting is made for “Yes”.
146