201
Lamps, Touch Switches, Numeral Setting
Section 5-3
1,2,3...
1.
Use the Support Tool to allocate the PT status notify area (PT
→
PLC) to
the PLC memory.
2.
Using the Support Tool, create a numeral setting screen and allocate the
numeral memory table entry to the PLC memory.
3.
Create a PLC program for reading the “upgraded memory table entry” in
the PT status notify area when the numeral setting strobe flag in the PT
status notify area comes ON (1).
4.
Read the allocated word for the numeral memory table entry number read
in step 3.
Example of Reading a Numeral Memory Table Entry into Which a Numerical Value Has Been Input
This example shows the reading of the numeral memory table entry number
after a value has been changed by inputting numerical data at the NT20.
• Setting at the Support Tool
Make the following settings using the Support Tool.
Allocated word for the PT status notify area: 0110
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 entry #3”
Numeral setting 2 ... Reference table “numeral memory table entry #4”
• PLC Program
Create the following PLC ladder program.
• Program Operation
1,2,3...
1.
When the numeral setting strobe flag (bit 11211) comes ON (1), the con-
tents of word 0111 (the word where the upgraded memory table entry is
located) are transferred to DM 0105. The number of the numeral memory
table entry that contains the upgraded data is stored in DM 0105 (in this
case it is 0003 or 0004).
If the numeral memory table entry is allocated to a PLC word, the value in-
put to it can be read easily by referring to the allocated word.
Line 1
Qty. 800 unit
Numeral memory table entry number 3 (4-digit input)
Defect limit 30 unit
Numeral memory table entry number 4 (4-digit input)
1
2
3
4
5
6
7
8
9
0
CLR +/
−
@MOV(21)
111
DM0105
11211
(1)
Notification word for upgraded memory table entry
Word that stores the numeral memory table entry number
Numeral setting
strobe flag
Summary of Contents for NT20
Page 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Page 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 15: ...xvi ...
Page 21: ...xxii EC Directives 6 ...
Page 37: ...16 Before Operating Section 1 6 ...
Page 153: ...132 Transferring the Resource Data Section 3 11 ...
Page 185: ...164 Numeral Setting Section 4 8 ...
Page 267: ...246 Key to Programs Section 6 8 ...
Page 281: ...260 Specifications Appendix A ...
Page 285: ...264 Transporting and Storing PTs Appendix C ...
Page 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Page 307: ...286 Index ...
Page 309: ...288 Revision History ...