2-2SectionAreas for Control/Notification
65
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.
2-2-3 Window Control Area (Host ↔ PT)
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 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
Reference: It is not necessary to allocate words in the host for window control area when the
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.
Symbol C-series PCs Allocation CV-series PCs Allocation CS/CJ-series PCs Allocation
None IR Area OK CIO Area OK CIO Area OK
H HR Area OK --- --- HR Area
Not for
Host Link
A AR Area OK Auxiliary Area No Auxiliary Area OK
L LR Area OK --- --- LR Area
*1
Not for
Host Link
Words Allocated for the
Window Control Area