226
Lamps, Touch Switches, Numeral Setting
Section 6-5
Touch Switch Number Output (from NT20 to Host)
Format
Description
If a touch switch is pressed while the screen for which the “Bit In = Off”
attribute is set is displayed, the address of the pressed touch switch is
reported to the Host.
Reference:
If more than one touch switch is pressed at the same time, only the address of
the touch switch which was pressed first is reported to the Host.
Notification of numeral setting is not executed in the case of touch switches
which have been allocated as ten keys.
Touch Switch Bit Output (from NT20 to Host)
Format
sx1:
Higher 4 bits of sx (x: 0 to 3)
sx2:
Lower 4 bits of sx
Bit ON:
The touch switch is on.
Bit OFF:
The touch switch is off.
Example
Touch switches at addresses 0, 3, 21, and 27 are ON
s01s02s11s12s21s22s31s32=09002008
Description
• If the touch switch status is changed while the screen for which the “Bit
Input, Touch Switch” attribute is set is displayed, the status of the corre-
sponding bit is reported to the Host.
• This report is made each time a touch switch is turned ON or OFF.
1B
[ESC]
48
H
m
1
* *
m
2
* *
0D
[CR]
m
1
m
2
: Address of the pressed touch # (2-digit hexadecimal)
00 to E2
H
(0 to 226)
Bit
sx
1
sx
2
Parameter
7
6
5
4
3
2
1
0
s0
07
06
05
04
03
02
01
00
s1
15
14
13
12
11
10
09
08
s2
23
22
21
20
19
18
17
16
s3
31
30
29
28
27
26
25
24
1B
[ESC]
4A
J
s0
1
* *
s0
2
* *
s1
2
* *
s2
1
* *
s2
2
* *
s3
1
* *
s1
1
* *
0D
[CR]
s3
2
* *
s0,... s3: Status of the touch switch (2-digit hexadecimal value for each switch)
The relationship between the touch switch number and an expression
of s0 to s3 in bits is given in the following table.
Содержание NT20
Страница 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Страница 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Страница 3: ...iv ...
Страница 5: ...vi ...
Страница 9: ...x TABLE OF CONTENTS ...
Страница 15: ...xvi ...
Страница 21: ...xxii EC Directives 6 ...
Страница 37: ...16 Before Operating Section 1 6 ...
Страница 153: ...132 Transferring the Resource Data Section 3 11 ...
Страница 185: ...164 Numeral Setting Section 4 8 ...
Страница 267: ...246 Key to Programs Section 6 8 ...
Страница 281: ...260 Specifications Appendix A ...
Страница 285: ...264 Transporting and Storing PTs Appendix C ...
Страница 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Страница 307: ...286 Index ...
Страница 309: ...288 Revision History ...