Omron NT31 Operation Manuals page 508

Programmable terminal
Hide thumbs Also See for NT31:
Table of Contents

Advertisement

Display and Control of Windows
[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.
15
14
13
12
11
10
9
0
0
(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
5
4
3
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
Word
k
k+1
k+2
k+3
k+4
k+5
k+6
k+7
k+8
8
7
6
5
4
3
2
0
0
Name
Global window open status
Local window 1 open status
Local window 2 open status
13
12
11
10
9
8
7
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)
1
0
Bit
0
0
Notified Information
15
PT operation status
13
Battery status
12
Screen switch strobe
11
Numeral setting strobe flag
10
Character string setting strobe flag
7
Printer operating status
Backlight status
6
Global window open status
5
4
Local window1 open status
3
Local window2 open status
1 (ON)
Open
Open
Open
6
5
4
3
2
1
0
Section 8-4
1 (ON)
0 (OFF)
Stop
Run
Normal
Low
Stopped
Printing
Off
Lit/Flashing
Closed
Open
Closed
Open
Closed
Open
0 (OFF)
Closed
Closed
Closed
Bit
Global window
Local Window1
Local Window2
497

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt31c

Table of Contents