5-2
Section
Memory Tables and Graphs
208
S
Program operation
(1) Each time contact 00100 comes ON, the display on the NT620S/620C
changes to the next item in the following sequence.
NT612G
→
NT610C
→
NT620S
→
NT620C
(2) Each time contact 00101 comes ON, the display on the PT changes to the
next item in the following sequence.
NT620C
→
NT620S
→
NT610C
→
NT612G
In this example, the contents of numeral memory table 51, which is referenced
using indirect specification, are not checked. When actually using the pro-
gram, make sure that the contents of numeral table No. 51 are not outside the
range 0100 to 0103.
5-2-4 Copying the Memory Table
The following describes the procedure to change displayed numerals or charac-
ter-strings by copying the contents of the memory table.
Numerals and character-strings can be changed also by changing the contents
of the allocated words. Refer to “Changing Displayed Numerals or Character-
strings” (page 204, 205) explained before.
To change the numerals or character-strings displayed on the NT620S/620C,
copy the data between the numeral or character-string memory tables by using
the “copy memory table setting” of the PT status control area.
NT620S/620C
PC
Memory table
Copy destination
(for display)
PT status control area
Screen switch setting
PT status control setting
Copy source number
Copy destination number
A
A
A
Copy memory table
setting
Copy source
Write a memory table number etc. to the copy memory table setting area in the
PT status control area in the PC memory. Data will be copied between the
memory tables in the NT620S/620C and the displayed value will change accord-
ingly.
This procedure is convenient to switch predetermined values or character-
strings according to the situation. By preparing several units of contents, various
contents can be displayed by switching them to suit the situation.
[“Copy memory table setting” of the PT status control area]
0
Copy source memory table No. (3-digit BCD)
15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0 Bit
Word
n+1
Copy memory
table setting
n+2
Copy destination memory table No. (3-digit BCD)
Copy type
Copy type:
0: Copy between the character-string memory tables
1: Copy between the numeral memory tables
Copy source and destination memory table numbers:
Character-string memory table: 000 to 999 (Numbers 256 to 999 are
read-only memory tables. They cannot be used as copy destina-
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: ......