![background image](http://html.mh-extra.com/html/omron/nt20s/nt20s_operation-manual_744540189.webp)
170
Memory Tables and Bar Graphs
Section 5-2
Application Example of the Numeral Memory Tables Allocated to the PC Words
This example gives the procedure to directly display the contents of the words allo-
cated as the numeral memory tables in the PC memory. The NT20S screen dis-
play will change as the contents of the PC word change.
S
Support tool settings
Allocate the memory as shown below by using the support tool.
Numeral memory table entry #1: DM0000 (allocated words: 2 words)
Numeral memory table entry #2: DM0002 (allocated words: 1 word)
Screen numbers to be created:
#1 and #2
Line 1
Qty.
15289
units
Defects
23
units
Numeral memory
table entry #1
(8-digit input)
Numeral memory
table entry #2
(4-digit input)
S
PC ladder program
Create a PC ladder program as follows:
INC(38)
DM0000
00100
INC(38)
DM0001
(1)
Word for least significant 4 digits of #1
@INC(38)
DM0002
(2)
Word for most significant 4 digits of #1
(3)
Word for #2
25506 (=)
00001
DIFU(13)
00100
25502 (1 second clock)
S
Program operation
(1) The contents of word DM0000 are incremented by 1 each second. The value
displayed on the NT20S in numeral memory table entry #1 increases by 1
each second.
(2) When the counter in (1) above causes an increase in the most significant dig-
its, the contents of word DM0001 are incremented by 1 each second. The val-
ue displayed on the NT20S in numeral memory table entry #1 most significant
digits increases by 1.
Содержание NT20S
Страница 1: ...Cat No V020 E1 04 NT20S Programmable Terminal OPERATION MANUAL ...
Страница 2: ...i ...
Страница 3: ...ii ...
Страница 4: ...iii NT series Programmable Terminal Operation Manual Revised August 1997 ...
Страница 5: ...iv ...
Страница 7: ...vi ...
Страница 11: ...x ...
Страница 19: ...xviii ...
Страница 129: ...110 ...
Страница 169: ...150 ...
Страница 253: ...234 ...