Checking The Display Status Of A Window - Omron NT31 Operation Manuals

Programmable terminal
Hide thumbs Also See for NT31:
Table of Contents

Advertisement

Display and Control of Windows
8-4-2

Checking the display status of a window

Reading Out the Contents of PT Status Notify Area and PT Status Control Area
[Setting]
496
NT31/NT31C has a function to notify the open/close status of a window, the
screen number and the position of presently displayed window to a host when the
display status of a window is switched.
It is possible to know the occurrence of opening/closing of a window, window
screen number and the display position from the host by the following method.
S Reading out the contents of PT status notify area and PT status control area
Display status of a window is always written to the following areas
Opening/Closing status of a window:
"Window open status" in PT status notify area
Screen number of a presently displayed window:
"Window screen number" in window control area
Position of a presently displayed window (bottom left coordinate):
"X coordinate" and "Y coordinate" in window control area
The PT status notify area must be allocated to a word in the host, accordingly, no
special settings are required for the control of a window.
To use a window control area, allocate the window control area to a word in the host
when creating a screen using the Support Tool.
15
14
13
12
11
Word
Screen No. (4-digit BCD or hexadecimal)
k
X coordinate (4-digit BCD or hexadecimal)
k+1
Y coordinate (4-digit BCD or hexadecimal)
k+2
Screen No. (4-digit BCD or hexadecimal)
k+3
X coordinate (4-digit BCD or hexadecimal)
k+4
Y coordinate (4-digit BCD or hexadecimal)
k+5
Screen No. (4-digit BCD or hexadecimal)
k+6
X coordinate (4-digit BCD or hexadecimal)
k+7
Y coordinate (4-digit BCD or hexadecimal)
k+8
10
9
8
7
6
5
4
Section 8-4
3
2
1
0
Bit
Global window
Local Window1
Local Window2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31c

Table of Contents