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)
1234567890CLR +/–
190
Lamps, Touch Switches, Numeral Setting
Section 5-3
Example of reading a numeral memory table into which a numerical value has been input
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”
S PC program
Create the following PC ladder program.
@MOV(21)
111
DM0105
11211
(1)
Notification word for content upgrade memory table
Word that stores the numeral memory table number
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.