Omron NT20S Operation Manual page 232

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

Advertisement

Lamps, Touch Switches, Numeral Setting
Touch Switch Number Output (from NT20S to Host)
Format
Description
Reference: If more than one touch switch is pressed at the same time, only the address of the
Touch Switch Bit Output (from NT20S to Host)
Format
Example
Description
m
m
: Address of the pressed touch # (2-digit hexadecimal)
1
2
00 to E2
(0 to 226)
H
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.
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.
[ESC]
J
s0
1
1B
4A
* *
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.
Bit
7
Parameter
s0
07
s1
15
s2
23
s3
31
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.
Touch switches at addresses 0, 3, 21, and 27 are ON
s0
s0
s1
s1
s2
s2
s3
1
2
1
2
1
2
S 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 corresponding bit is
reported to the Host.
S This report is made each time a touch switch is turned ON or OFF.
[ESC]
H
m
1
1B
48
* *
s0
s1
s1
2
1
2
* *
* *
* *
sx
1
6
5
4
06
05
04
14
13
12
22
21
20
30
29
28
s3
=09002008
1
2
Section 6-4
[CR]
m
2
0D
* *
s2
s2
s3
s3
1
2
1
* *
* *
* *
* *
sx
2
3
2
1
03
02
01
11
10
09
19
18
17
27
26
25
[CR]
2
0D
0
00
08
16
24
213

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents