Numeral Memory Table Read Command (Sent From Host To Pt) - Omron NT21 Reference Manual

Programmable terminals
Hide thumbs Also See for NT21:
Table of Contents

Advertisement

Commands/Responses
Example
Reading the PT Status in the PT Notify Area (Allocated Words: 0010 to 0011)
4-3-2 Numeral Memory Table Read Command
Command
Format
Reference: The maximum number that can be specified for first numeral memory table
376
A maximum of 100 words can be read at one time.
In the response, maximum of 50 words can be returned at one time. If reading
of more than 50 words is specified, the response is split into two parts. In this
case the first part always contains 50 words of data. Note also that the first
word address read in the second part of the responses will be the word address
of the first word in the response data.
Assume that the following data is stored for PT notify area:
Command
[ESC]
R
M
1B
52
4D
No checksum (2 word read), first word read = 0010
Response
R
M
0
[ESC]
1B
52
4D
30
1
2
3
31
32
33
[ESC]
R
1B
52
(l1)
* *
m:
Checksum present/absent (1 BCD digit)
0: Absent
1: Present
8: Absent (1 table entry read)
9: Present (1 table entry read)
t
to t
:
First numeral memory table entry read (4 BCD digits)
1
4
0000 to 1999
l
, l
:
Number of read table entries (2 BCD digits)
1
2
00:
01 to 99:
When m is 8 or 9, omit this setting.
s
, s
:
Checksum (2 hexadecimal digits)
1
2
When m is 0 or 8, omit this setting.
entry read depends on the setting for numbers of numeral table entries
(512/1000/2000) made at the Support Tool.
0123H
Wd 0010
Wd 0011
8000H
0
0
0
1
30
30
30
31
0
1
0
0
30
31
30
30
,
8
0
0
2C
38
30
30
(Sent from Host to PT)
N
m
t1
t2
4E
* *
* *
* *
(l2)
(s1)
(s2)
[CR]
0D
* *
* *
* *
100
1 to 99
Section
4-3
0
0
2
[CR]
30
30
32
0D
2
32
0
6
7
[CR]
30
36
37
0D
t3
t4
* *
* *

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents