![background image](http://html1.mh-extra.com/html/omron/nt620c/nt620c_operation-manual_744559215.webp)
5-2
Section
Memory Tables and Graphs
204
5-2-2 Changing Displayed Numerals or Character Strings
(Changing the Contents of Allocated Words....Direct Specification)
The following describes the procedure to change displayed numerals or charac-
ter-strings by changing the contents of the allocated words.
If using indirect specification, refer to “Changing Displayed Numerals or Charac-
ter-Strings (Changing the Contents of Allocated Words ... Indirect Specification)”
(page 205).
Numerals and character-strings can also be changed by copying between
memory tables: see “Copying the Memory Table” (page 208).
To change the numerals or character-strings displayed on the NT620S/620C,
make changes with the numeral or character-string memory table. To make
changes with the numeral or character-string memory table of the
NT620S/620C, change the contents of words by the PC.
Allocated word (character-string memory table)
NT620S/620C
PC
Numeral
memory table 1
Character-string
memory table 4
Start
Start+1
Start
Start+1
Start+2
Allocated word
(numeral table)
12345678
abcdef
abcdef
12345678
When it is necessary to display changing data such as monitored data of words in
the PC, use the numeral and character-string memory tables.
Procedure
1. Use the support tool to allocate the numeral and character-string memory
tables to the PC memory.
2. Register the memory tables for the numerals and character-strings to be dis-
played when creating the screen data by using the support tool.
To display a character-string, use “character display” and specify the charac-
ter-string memory table by using the support tool.
To display numerals, use “numeral display” and specify the numeral memory
table by using the support tool.
3. Create a PC program to write the contents of numerals and character-strings
to be displayed on the NT620S/620C to the PC words.
S
Important points when writing a character-string
If a character-string to be written is smaller than “allocated word x 2”, fill up the
vacant space with normal-size spaces (20H). If unnecessary characters are
left in the area, the character-string will not be displayed correctly.
Application Example of the Numeral Memory Tables Allocated to the PC Words
This example gives the procedure to directly display the contents of the words
allocated as the numeral memory tables in the PC memory. The NT620S/620C
screen display will change as the contents of the PC word change.
S
Support tool settings
Allocate the memory as shown below by using the support tool.
Numeral memory table entry No. 1: DM0000 (registration word: 2)
Numeral memory table entry No. 2: DM0002 (registration word: 1)
Summary of Contents for NT620C
Page 1: ...Cat No V033 E1 5 Programmable Terminals NT620S 620C OPERATION MANUAL...
Page 2: ...NT620S 620C Programmable Terminals Operation Manual Revised April 2001...
Page 3: ...iv...
Page 5: ...vi...
Page 328: ......
Page 329: ......