497
Display and Control of Windows
Section 8-4
[Operation]
To check the display status of a window, operate as follows.
S
Reading out the opening/closing status of a window
The bit for notifying the PT status (PT status notify bit) is provided at the second
word (word m + 1) from the beginning of the PT status notify area.
0
0
1 (ON)
Run
Low
Printing
Off
Open
Open
Open
0 (OFF)
Stop
Normal
Stopped
Lit/Flashing
Closed
Closed
Closed
0
0
0
0
Notified Information
PT operation status
Battery status
Screen switch strobe
Numeral setting strobe flag
Character string setting strobe flag
Printer operating status
Backlight status
Global window open status
Local window1 open status
Local window2 open status
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Bit
15
13
12
11
10
7
6
5
4
3
(1) Check the bits from 3 to 5 of the second word (word m + 1) from the beginning
of the PT status notify area with the program in the host.
The status of each bit and the correspondence to a window are as follows.
Bit
Name
1 (ON)
0 (OFF)
5
Global window open status
Open
Closed
4
Local window 1 open status
Open
Closed
3
Local window 2 open status
Open
Closed
By checking the status of the bit shift, it is possible to know the occurrence of
opening/closing of the window.
S
Notification of window screen number and coordinates
In the window control area, the following three words are provided for each glob-
al window, local window 1 and local window 2.
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
Summary of Contents for NT31 Series
Page 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Page 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Page 41: ...30 Before Operating Section 1 5...
Page 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Page 160: ...149...
Page 174: ...163...
Page 193: ...182...
Page 211: ...200...
Page 235: ...224 c Return to the screen on which screens are specified...
Page 262: ...251...
Page 360: ...349 It is not possible to control a gloval window by touch switch operation...
Page 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Page 476: ...465 Special Functions Section 7 16...
Page 495: ...484 OFF...
Page 610: ...599 Commands Responses Section 9 3...
Page 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...