Line 1 qty. 800 unit, Defect limit 30 unit – Omron NT-series Programmable Terminal V022-E3-1 User Manual

Page 205

Advertising
background image

 

' 4  - 4     

Section 5-3

Application Example

This example shows the reading of the numeral memory table number after a val-
ue has been changed by inputting numerical data at the NT600S.



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”

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 +/--



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



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 003 or 004).

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 memory table #4 are stored in DM 0006.

Advertising