2-3 lamps and touch switches, Lamp and touch switch display (bit specification) – Omron NT-series Programmable Terminal V022-E3-1 User Manual
Page 226

Bit
Parameter
&
Section 6-2
7-2-3
Lamps and Touch Switches
The procedure for changing/checking the display status of lamps and touch
switches, and that for disabling input from the touch switches using commands
from the Host are described below.
For the functions of lamps and touch switches, refer to 5-6 Lamps (page 135) and
5-7 Touch Switches (page 138), respectively.
Changing the Display Status It is possible to turn lamps and touch switches on or cause them to flash using
commands from the Host.
Two methods can be used to turn specified lamps and touch switches ON/OFF
using the Host: bit specification and number specification. (page 205).
The commands are described below.
Lamp and Touch Switch Display (Bit Specification)
Format
1B
[ESC]
4B
K
m0
1
m0
2
m1
2
m2
1
m2
2
m3
1
m1
1
m4
1
m4
2
m3
2
m13
1
m13
2
[CR]
...
0D
m0,
…
m13: Specification of lamps and touch switches (2-digit hexadecimal)
The relationship between the lamp and touch switch number and an
expression of m0 to m13 in bits is given in the following table.
mx
1
mx
2
7
6
5
4
3
2
1
0
m0
07
06
05
04
03
02
01
00
m1
15
14
13
12
11
10
09
08
m2
23
22
21
20
19
18
17
16
m3
31
30
29
28
27
26
25
24
m4
39
38
37
36
35
34
33
32
m5
47
46
45
44
43
42
41
40
m6
55
54
53
52
51
50
49
48
m7
63
62
61
60
59
58
57
56
m8
71
70
69
68
67
66
65
64
m9
79
78
77
76
75
74
73
72
m10
87
86
85
84
83
82
81
80
m11
95
94
93
92
91
90
89
88
m12
103
102
101
100
99
98
97
96
m13
111
110
109
108
107
106
105
104
mx1: Higher 4 bits of mx (x: 0 to 13)
mx2: Lower 4 bits of mx