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
Содержание NT31 Series
Страница 1: ...Cat No V043 E1 2 Programmable Terminal NT31 31C OPERATION MANUAL...
Страница 2: ...iii NT31 31C Programmable Terminal Operation Manual Produced March 1999...
Страница 41: ...30 Before Operating Section 1 5...
Страница 75: ...64 Using a Memory Unit NT31 NT31C without V1 Section 3 6...
Страница 160: ...149...
Страница 174: ...163...
Страница 193: ...182...
Страница 211: ...200...
Страница 235: ...224 c Return to the screen on which screens are specified...
Страница 262: ...251...
Страница 284: ...273 The printer type control protocol and printing method are set with the memory switches of the NT31 NT31C...
Страница 347: ...336 Screen number 5 is set for touch switch 1 To next screen When touch switch 1 is pressed Screen number 5...
Страница 360: ...349 It is not possible to control a gloval window by touch switch operation...
Страница 375: ...364 For details on the method of display depending on the General settings refer to Common Attributes page 358...
Страница 391: ...380 1 The 100 value 0 value and 100 value must comply with the following relationship 100 value 0 value 100 value...
Страница 468: ...457 254 255 0 2 7 1 4 5 3 3 0 0 0 5 9 8 0 3...
Страница 476: ...465 Special Functions Section 7 16...
Страница 495: ...484 OFF...
Страница 610: ...599 Commands Responses Section 9 3...
Страница 630: ...619 Examples of Actual Applications of Memory Link Section 10 2...