![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543416.webp)
5-2
Section
Examples of Actual Applications of Memory Link
407
•
Explanation
•
Numeral memory table number: 142
•
Input numeral:
00000000F0
H
(240 in decimal)
•
Check sum:
19H
It is ascertained that 240 is input to numeral memory table No.142. With numeral
input notify command, input numeral data is expressed as binary. Here, input
data (240) is expressed as binary (000000F0
H
).
2. When numeral is written to PT (numeral memory table write command (sent
from host to PT) )
•
Command
8
1B
57
[ESC]
W
31
30
0
34
4
4E
N
0
30
38
1
0
30
0
0
4
34
42
B
0
30
30
30
0D
[CR]
(3)
(1)
0
30
32
2
(2)
•
Explanation
•
Check sum present/absent:
None (writing 1 word)
•
First numeral memory table No. written: 142
•
Data of written numeral memory table:
000004B0
H
(1200 in decimal)
In this way, numeral data which is input from the PT is processed at the host and
the result is notified to the PT.
Suggestions
•
Same as numeral, character string input notify command (sent from PT to
host) is issued from the PT for the character string which is input at PT. (See
page 380.)
•
Character string which is input from bar code reader is also notified to the host.
(See page 201.)
•
Data of numeral/character string memory table can be cleared by memory
table clear command. (Numerals are cleared to 0, and character strings are
cleared to the space code 20 H.) (See pages 376 and 377.)
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...