Checking The Display Status Of A Window - Omron NT631 Series Reference Manual

Programmable terminals
Hide thumbs Also See for NT631 Series:
Table of Contents

Advertisement

Display and Control of Windows

3-4-2 Checking the Display Status of a Window

Reading Out the Contents of PT Status Notify Area and PT Status Control Area
Setting
Operation
Downloaded from
Elcodis.com
electronic components distributor
S When a window control area is allocated to a host, window screen number and
Reference:
the bottom left coordinate of the window which is opened are notified to the
window control area. (Refer to page 303)
Also, window open status bit of the corresponding window type in PT status
notify area goes ON. (Refer to page 303)
S When NT30/620 compatible mode is being used, the word containing the PT
status notify bits is shifted down one word. (Refer to page 441.)
3. When the screen is switched to others, the window is closed.
PT 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.
• Reading out the contents of PT status notify area and PT status control area
Reference: When NT30/620 compatible mode is being used, the word containing the PT sta-
tus notify bits is shifted down one word. (Refer to 441.)
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
Word
k
k+1
k+2
k+3
k+4
k+5
k+6
k+7
k+8
To check the display status of a window, operate as follows.
14
13
12
11
10
9
8
7
6
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Screen No. (4-digit BCD or hexadecimal)
X coordinate (4-digit BCD or hexadecimal)
Y coordinate (4-digit BCD or hexadecimal)
Section
5
4
3
2
1
0
Bit
Global window
Local Window1
Local Window2
3-4
303

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31 seriesNt21 seriesNt31c seriesNt631c series

Table of Contents