EasyManua.ls Logo

Omron NT20S - Page 189

Omron NT20S
308 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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.

Table of Contents

Related product manuals