![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543312.webp)
3-4
Section
Display and Control of Windows
303
Reference:
S
When a window control area is allocated to a host, window screen number and
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.
3-4-2 Checking the Display Status of a Window
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.)
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 10 9 8 7 6 5 4 3 2 1 0 Bit
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)
Word
k
k+1
k+2
k+3
k+4
k+5
k+6
k+7
k+8
Global window
Local Window1
Local Window2
To check the display status of a window, operate as follows.
Setting
Operation
electronic components distributor
Содержание NT21 Series
Страница 3: ...iv Downloaded from Elcodis com electronic components distributor...
Страница 5: ...vi Downloaded from Elcodis com electronic components distributor...
Страница 367: ...3 12 Section Enabling Disabling PT Operations 358 Downloaded from Elcodis com electronic components distributor...
Страница 399: ...4 4 Section Memory Link Online Transfer Function 390 Downloaded from Elcodis com electronic components distributor...
Страница 431: ...6 2 Section Responding to Displayed Error Messages 422 Downloaded from Elcodis com electronic components distributor...
Страница 463: ...Downloaded from Elcodis com electronic components distributor...
Страница 465: ...Downloaded from Elcodis com electronic components distributor...