![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543388.webp)
4-3
Section
Commands/Responses
379
The changed bit in the contents of the word after the change is
set to 1.
s
1
, s
2
:
Check sum (2 hexadecimal digits)
This is always added.
Response
None
Function
•
When the status of a touch switch changes because it has been touched or
released, notifies the change of status to the host.
•
Normally, one command notifies the change in status of one allocated bit only,
but when multiple bits in the same word change simultaneously, those
changes are all notified together with one command.
Reference:
When the screen is switched after pressing a momentary key, this command
goes OFF. The change is also notified to the host.
Example
Command
0
1B
53
[ESC]
S
30
33
3
32
2
54
T
1
31
30
0
0D
3
33
0
1
31
1
0
30
30
0
0
30
30
0
44
D
[CR]
30
31
Changed word number : 0102CH
Contents of the word after the change (hexadecimal):
3013H (binary notation: 0011 0000 0001 0011)
Changed bit information (hexadecimal):
0001H(binary notation: 0000 0000 0000 0001)
Check sum (hexadecimal)
: 0DH
From the changed word number and changed bit information, it is ascertained
that the change relates to the touch switch allocated to bit 00 of word 0102CH,
and because 1 is set at the relevant position in the contents of the word after the
change, it is ascertained that the touch switch has been pressed (if the change is
to OFF, since the operation differs according to the type of touch switch, it cannot
be determined from a change in the bit status alone whether the touch switch
has been touched or released.)
4-3-16 Numerical Input Notify Command
(Sent from PT to Host)
Command
Format
t1
1B
53
[ESC]
S
d4
t4
4E
N
t2
t3
0D
d1
d2
d3
d8
d5
d6
d7
s1
s2
[CR]
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
t
1
to t
4
:
Input numeral memory table number (4 BCD digits)
0000 to 1999
This is the number of numeral memory table for which there has
been numerical input.
d
1
to d
8
:
Input numeric data (8 hexadecimal digits)
00000000 to FFFFFFFF
H
Format
electronic components distributor
Summary of Contents for NT21 Series
Page 3: ...iv Downloaded from Elcodis com electronic components distributor...
Page 5: ...vi Downloaded from Elcodis com electronic components distributor...
Page 463: ...Downloaded from Elcodis com electronic components distributor...
Page 465: ...Downloaded from Elcodis com electronic components distributor...