![background image](http://html.mh-extra.com/html/omron/nt20s/nt20s_operation-manual_744540192.webp)
173
Memory Tables and Bar Graphs
Section 5-2
Example Use of Indirect Specification
This example shows a case where the displayed character string is changed by
incrementing the contents of the allocated word of the numeral memory table ref-
erenced in indirect specification.
S
Settings with the support tool
Make the following settings with the support tool.
Numeral memory table number 51: DM 0000 (number of registered words: 1)
Character string memory table number 100: “NT610G” (6 digits)
Character string memory table number 101: “NT610C” (6 digits)
Character string memory table number 102: “NT20S ” (6 digits)
Character string memory table number 103: “NT600S” (6 digits)
Data registered for the screen: numeral memory table number 51.
Line 1
NT20S
Numeral memory table number 51 specified in indirect specification of character string display
Product
S
PC program
Create the PC ladder program as follows:
@INC(38)
DM0000
00100
(1)
Numeral memory table number used in indirect specification
@DEC(39)
DM0000
(2)
Numeral memory table number used in indirect specification
00101
S
Program operation
(1) Each time contact 00100 comes ON, the display on the NT20S screen
changes in accordance with one of the steps in the following sequence:
“NT610G”
³
“NT610C”
³
“NT20S”
³
“NT600S”.
(2) Each time contact 00101 comes ON, the display on the NT20S screen
makes changes in accordance with one of the steps in the following se-
quence: “NT600S”
³
“NT20S”
³
“NT610C”
³
“NT600S”.
In this example, the contents of numeral memory table number 51 referenced in
indirect specification are not checked. Make sure that the contents of numeral
memory table number 51 stay within the range of 0100 to 0103 when the program
is actually used.
Summary of Contents for NT20S
Page 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Page 2: ...i ...
Page 3: ...ii ...
Page 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Page 5: ...iv ...
Page 7: ...vi ...
Page 11: ...x ...
Page 19: ...xviii ...
Page 129: ...110 ...
Page 169: ...150 ...
Page 253: ...234 ...