Omron NT20S-ST121B-EV3 User Manual page 222

Programmable terminal
Table of Contents

Advertisement

Lamps, Touch Switches, Numeral Setting
1,2,3...
Example of Reading a Numeral Memory Table Entry into Which a Numerical Value Has Been Input
11211
Numeral setting
strobe flag
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.
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"
Numeral memory table entry number 3 (4-digit input)
Line 1
Qty.
Defect limit
1
2
3
4
Numeral memory table entry number 4 (4-digit input)
• PLC Program
Create the following PLC ladder program.
@MOV(21)
111
DM0105
• Program Operation
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.
800
unit
30
unit
5
6
7
8
9
0
CLR +/−
Notification word for upgraded memory table entry
Word that stores the numeral memory table entry number
Section 5-3
(1)
201

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt20Nt series

Table of Contents