Omron NT620S Operation Manual page 215

Programmable terminals
Hide thumbs Also See for NT620S:
Table of Contents

Advertisement

Memory Tables and Graphs
5-2-2 Changing Displayed Numerals or Character Strings
(Changing the Contents of Allocated Words....Direct Specification)
Procedure 1. Use the support tool to allocate the numeral and character-string memory
Application Example of the Numeral Memory Tables Allocated to the PC Words
204
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.
NT620S/620C
12345678
abcdef
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.
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.
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)
PC
Numeral
Start
memory table 1
Start+1
12345678
Allocated word (character-string memory table)
Start
Character-string
Start+1
memory table 4
Start+2
abcdef
Section
5-2
Allocated word
(numeral table)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt620c

Table of Contents