Omron NT20S Operation Manual page 209

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

Advertisement

Lamps, Touch Switches, Numeral Setting
Example of reading a numeral memory table into which a numerical value has been input
190
This example shows the reading of the numeral memory table number after a val-
ue has been changed by inputting numerical data at the NT20S.
S Setting at the support tool
Make the following settings using the support tool.
Allocated word for the PT status notify area : CH0110
Numeral memory table entry No.3: DM 0005 (saved word: One)
Numeral memory table entry No.4: DM 0006 (saved word: One)
Data registered for the screens:
Numeral setting 1 ... Reference table "numeral memory table #3"
Numeral setting 2 ... Reference table "numeral memory table #4"
Numeral memory table entry number 3 (4-digit input)
Line 1
Qty.
Defect limit
1
2
3
4
5
6
Numeral memory table entry number 4 (4-digit input)
S PC program
Create the following PC ladder program.
11211
Numeral setting
strobe flag
S Program operation
(1) When the numeral setting strobe flag (bit 11211) comes ON (1), the contents
of CH-0111 (the word where the content upgrade memory table is located) are
transferred to DM 0105. The number of the numeral memory table that con-
tains the upgraded data is stored in DM 0105 (in this case it is 0003 or 0004).
If the numeral memory table is allocated to a PC word, the value input to it can
be read easily by referring to the allocated word.
In this case, the contents of numeral memory table #3 are stored in DM 0005
and the contents of numeral table #4 are stored in DM 0006.
800
unit
30
unit
7
8
9
0
CLR +/–
@MOV(21)
111
Notification word for content upgrade memory table
DM0105
Word that stores the numeral memory table number
Section 5-3
(1)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents