![background image](http://html.mh-extra.com/html/omron/nt20/nt20_user-manual_744538197.webp)
176
Overview of Direct Connection Operations
Section 5-1
2.
Create a PLC program to read the “currently displayed screen word” in the
in the PT status notify area when the “screen switch strobe flag” in the PT
status notify area has turned ON.
Note
The contents of the “currently displayed screen word” are updated also by
switching the screen by pressing a touch switch on the NT20.
For this function (standalone function or screen switch function), refer to the
Standalone Function
on page 154.
• Continuous Screens and Overlapping Screens
When a continuous or overlapping screen is displayed, the number of the
parent screen is written to the “currently displayed screen word”.
For the continuous and overlapping screens, refer to the
4-3-1 Classification
of Screens
on page 140.
Example of Reading the Number of Currently Display Screen
This example gives a PLC program that reads the screen number each time
the screen is switched. In this example, the number of the previous screen is
also stored.
• Support Tool Settings
Make the following settings with the Support Tool:
PT status notify area: Word 0110
• PLC Ladder Program
• Program Operation
1,2,3...
1.
When the NT20 screen display switches and the screen switch strobe flag
(bit 11212) turns ON, the contents of DM0100 are transferred to DM0101.
The number of the previously displayed screen is stored in word 0101.
2.
The new screen number indicated by the NT20 is read and transferred to
DM0100. The number of the currently displayed screen is stored in
DM0100.
@MOV(21)
DM0100
DM0101
11212
@MOV(21)
110
DM0100
(1)
(2)
Word for storing the number of the
previous screen
Word for notification of the number of
the currently displayed screen
Word for storing a new screen number
Screen switch
strobe flag
Summary of Contents for NT20
Page 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Page 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 15: ...xvi ...
Page 21: ...xxii EC Directives 6 ...
Page 37: ...16 Before Operating Section 1 6 ...
Page 153: ...132 Transferring the Resource Data Section 3 11 ...
Page 185: ...164 Numeral Setting Section 4 8 ...
Page 267: ...246 Key to Programs Section 6 8 ...
Page 281: ...260 Specifications Appendix A ...
Page 285: ...264 Transporting and Storing PTs Appendix C ...
Page 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Page 307: ...286 Index ...
Page 309: ...288 Revision History ...