Omron NT20S Operation Manual page 192

Programmable terminal
Hide thumbs Also See for NT20S:
Table of Contents

Advertisement

Memory Tables and Bar Graphs
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
Product
Numeral memory table number 51 specified in indirect specification of character string display
S PC program
Create the PC ladder program as follows:
00100
@INC(38)
DM0000
00101
@DEC(39)
DM0000
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.
NT20S
Numeral memory table number used in indirect specification
Numeral memory table number used in indirect specification
Section 5-2
(1)
(2)
173

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents