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.
Summary of Contents for NT20
Page 1: ...Programmable Terminal Cat No V091 E1 01 NT20 USER S MANUAL ...
Page 2: ...NT series Programmable Terminal User s Manual Produced March 2007 ...
Page 3: ...iv ...
Page 5: ...vi ...
Page 9: ...x TABLE OF CONTENTS ...
Page 15: ...xvi ...
Page 21: ...xxii EC Directives 6 ...
Page 37: ...16 Before Operating Section 1 6 ...
Page 153: ...132 Transferring the Resource Data Section 3 11 ...
Page 185: ...164 Numeral Setting Section 4 8 ...
Page 267: ...246 Key to Programs Section 6 8 ...
Page 281: ...260 Specifications Appendix A ...
Page 285: ...264 Transporting and Storing PTs Appendix C ...
Page 303: ...282 Function Restrictions Depending on the Support Tool Appendix I ...
Page 307: ...286 Index ...
Page 309: ...288 Revision History ...