Omron NT620S Operation Manual page 208

Programmable terminals
Hide thumbs Also See for NT620S:
Table of Contents

Advertisement

Outline of Host Link/NT Link Operation
Example of Reading the Number of Currently Display Screen
11212
Screen switch
strobe flag
For this function, refer to the "Stand Alone Function" (page 154) or "Switching the
Screen Display (by Using the Allocated Bit of a Bit Memory Table)" (page 193).
S Continuous screens and overlapping screens
When a continuous or overlapping screen is displayed, the number of the par-
ent screen is written to the "currently displayed screen word".
For the continuous and overlapping screens, refer to the "Classification of
screens" (page 129).
This example gives a PC program that reads the screen number each time the
screen is switched. In this example, the number of the previous screen is also
stored.
S Support tool settings
Make the following settings with the support tool:
PT status notify area: CH 0110
S PC ladder program
@MOV(21)
DM0100
Word for storing the number of the previous screen
DM0101
@MOV(21)
Word for notifying the number of the currently
110
displayed screen
DM0100
Word for storing a new screen number
S Program operation
(1) When the NT620S/620C 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 notified by the NT620S/620C is read and trans-
ferred to DM0100. The number of the currently displayed screen is stored in
DM0100.
Section
5-1
(1)
(2)
197

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt620c

Table of Contents