Window Control Area - Omron NT21 Reference Manual

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

Advertisement

Areas for Control/Notification
2-2-3 Window Control Area (Host
Reference: It is not necessary to allocate words in the host for window control area when the
Words Allocated for the

Window Control Area

Symbol
C-series PCs
None
IR Area
H
HR Area
A
AR Area
L
LR Area
Global Window Open Status (Bit 5), Local Window1 Open Status (Bit 4),
Local Window2 Open Status (Bit 3)
This bit is set to 1 (ON) when a corresponding window is open. It is returned to 0
(OFF) when a corresponding window is closed. (It remains 1 (ON) even if the
window screen number is switched in the middle of operation.)
It is possible to know the screen number of the window that is currently open or
the display position (bottom-left coordinate) by checking the window control
area.
Strobes
The screen switching, numeral setting, and character string setting strobes are
automatically returned to 0 (OFF) after notification to the host. The status of op-
erations at the PT can easily be ascertained by detecting the leading edges of
these strobes.
However, when connected to a CVM1/CV-series CPU Unit, if the PC is set for
asynchronous operation, the leading edge may not be detected.
Data is written to the window control area from both the PT and the host. The
status of the window is always written.
When the data is written to this area from the host, the PT reads the data and
display the window with the specified number at the designated position.
When the display status of the window (screen No., display position) is changed
due to the operation at PT, current status of the window is written to the words
allocated in the host. The host can determine the display status of the window by
reading this area.
The window control area is configured as nine consecutive words as shown be-
low. The first word (word k) is set in the Control/Notify Area settings in the PT
configuration settings made with the Support Tool.
15
14
13
12
Word
k
k+1
k+2
k+3
k+4
k+5
k+6
k+7
k+8
window is not controlled from the host or when the window is not used.
Words can be allocated for the window control area (PT to host) in the following
host (PC) data areas.
Allocation
CV-series PCs
OK
CIO Area
OK
---
OK
Auxiliary Area
OK
---
PT)
11
10
9
8
7
6
5
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)
Allocation
CS/CJ-series PCs
OK
CIO Area
---
HR Area
No
Auxiliary Area
---
LR Area
Section
4
3
2
1
0
Bit
Global window
Local Window1
Local Window2
Allocation
Not for
Host Link
Not for
*1
Host Link
2-2
OK
OK
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents