Commands/Responses; Pt Memory 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

4-3

Commands/Responses

4-3-1 PT Memory Read Command
Command
Format
Response
Format
Function
This section describes the commands used with the memory link and their re-
sponses.
[ESC]
R
1B
52
(l1)
* *
m:
Checksum present/absent (1 BCD digit)
0: Absent
1: Present
8: Absent (1 word read)
9: Present (1 word read)
c
to c
:
First word address read (4 BCD digits)
1
4
0000 to 9999
l
, l
:
Number of read words (2 BCD digits)
1
2
00:
01 to 99:
When m is 8 or 9, omit this setting.
s1, s2:
Checksum (2 hexadecimal digits)
When m is 0 or 8, omit this setting.
R
M
[ESC]
1B
52
4D
* *
Data of 1 word
d11
d1m
2C
* *
* *
c
to c
:
First word address read (4 BCD digits)
1
4
0000 to 9999
l
, l
:
Number of read words (2 BCD digits)
1
2
01 to 50:
d1
to d1
, ..., dn
to dn
1
m
1
Contents of the read words (1 to 4 hexadecimal digits)
0 to FFFF
Since initial zeroes are omitted, there may be less than 4 digits.
Individual words of data are delimited by commas.
s
, s
:
Checksum (2 hexadecimal digits)
1
2
This is always added.
Reads the contents of the specified number of words from the specified word of
the PT memory.
Used to read the statuses of the PT notify area, window control area, lamps,
touch switches and bit memory table entries allocated PT memory, and the
contents of numeral and character string memory table entries.
(Sent from Host to PT)
M
m
c1
c2
4D
* *
* *
* *
(l2)
(s1)
(s2)
[CR]
0D
* *
* *
* *
100 words
1 to 99 words
c1
c2
c3
c4
* *
* *
* *
Data of 1 word
,
dn1
* *
1 to 50 words
:
m
H
Section
c3
c4
* *
* *
l1
l2
* *
* *
* *
dnm
s1
s2
[CR]
0D
* *
* *
* *
4-3
375

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents