Omron NT21 Reference Manual page 408

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

Advertisement

Commands/Responses
Example
[ESC]
P
1B
50
Reference: When NT20S or NT30/620 compatible mode is being used, the current screen
For details of direct area, refer to 2-2 Areas for Control/Notification on page
52.
Example 1. Notification of Change in the PT Control Area
Notification of change in the PT control area is issued when screen is switched
by operations at the PT, such as touch switch operation. In the example below, it
is ascertained that the screen has been switched to screen number 21 (BCD) by
a switch screen touch switch.
Command
M
0
1
0
4D
30
31
30
First word address of PT control area:
Number of changed words in PT control area:
Screen number (hexadecimal):
Checksum:
Example 2. Notification of Change in the PT Notify Area
Notification of change in the PT notify area is issued when the status of the PT is
changed (such as screen printing). In the example below, it is ascertained that
the printing is being executed currently from the fact that the bit 7 (screen print-
ing) in the PT notify bit is ON (1).
Command
[ESC]
1B
First word address of PT notify area:
Number of changed words in PT control area:
PT status notify bit (hexadecimal):
Checksum:
number occupies the first word of the PT status notify area and the words con-
taining the updated memory table entry number and PT status notify bits are
shifted down one word.
Example 3. Notification of Change in the Window Control Area
Notification of change in the window control area is issued when a window is
controlled by the operation at the PT. It is possible to know the screen number of
the window that is opened and the display position of the window (bottom left
coordinate (X, Y) of the window). In the example below, it is ascertained that the
window screen No.16 is displayed at the position on X: 160, Y: 99.
0
0
1
1
30
30
31
31
P
M
0
1
50
4D
30
31
8
0
8
0
38
30
38
30
Section
5
4
0
[CR]
35
34
30
0D
Wd 100
1 word
15H (screen No.21 in BCD)
40H
1
1
0
1
31
31
30
31
A
C
[CR]
41
43
0D
Wd 110
1 word
8080
H
(PT operation status bit,
screen printing bit: ON)
AC
H
4-3
393

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents