Touch Switch Bit Output (From Nt600S To Host) - Omron NT-series Operation Manual

Programmable terminal
Hide thumbs Also See for NT-series:
Table of Contents

Advertisement

    
Notifying that a Touch Switch Has Been Pressed

Touch Switch Bit Output (from NT600S to Host)

Format
Example
Description
When "On" is set for "Bit In" when setting the screen attribute with the support tool,
the "touch switch pressed" status is sent to the Host in the bit information.
If "Off" is set for "Bit In", the address corresponding to the touch switch is sent to the
Host in a 3-digit hexadecimal value when the touch switch is pressed.
The commands used for this report are described below.
[ESC]
J
s0
1
 
1B
4A
s4
s4
s5
1
2
1
 
 
 
s0, s7: 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 s7 in bits is given in the following table.
Bit
7
6
Parameter
s0
07
06
s1
15
14
s2
23
22
s3
31
30
s4
39
38
s5
47
46
s6
55
54
s7
63
62
sx1: Higher 4 bits of sx (x: 0 to 7)
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
1

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.

This report is made each time a touch switch is turned ON or OFF.
s0
s1
s1
s2
2
1
2
 
 
 
 
s5
s6
s6
2
1
2
 
 
 
sx
1
5
4
05
04
03
13
12
21
20
19
29
28
27
37
36
35
45
44
43
53
52
51
61
60
59
s3
s7
s7
=0900200800000000
2
1
2
Section 6-3
s2
s3
s3
1
2
1
2
 
 
 
[CR]
s7
s7
1
2
 
 
0D
sx
2
3
2
1
02
01
11
10
09
18
17
26
25
34
33
42
41
50
49
58
57
0
00
08
16
24
32
40
48
56

Advertisement

Table of Contents
loading

Table of Contents