Omron NT21 Reference Manual page 394

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

Advertisement

Commands/Responses
Response
Format
[ESC]
R
B
1B
52
42
dn1
* *
Function
Example
Reading bit memory table entries 23 to 40
t1
t2
t3
t4
* *
* *
* *
* *
* *
* *
s1
dn2
dn3
dn4
* *
* *
* *
* *
t
to t
:
First bit memory number table entry read (4 BCD digits)
1
4
0000 to 0999
l
, l
:
Number of read table entries (2 BCD digits)
1
2
00:
01 to 99:
d1
, d1
, d1
, d1
, ..., dn
1
2
3
4
Contents of the read bit memory table entries (4 hexadecimal
digits,
0000 to FFFF
The contents of bit memory table entries are represented as 1
bit data (OFF=0, ON=1) and 16 entries of bit memory table are
read out as 4 hexadecimal digits value. (Table entries with
smaller number is the rightmost bit.)
The bit memory table data is delimited by commas by each 16
table entries.
s
, s
:
Checksum (2 hexadecimal digits)
1
2
This is always added.
Reads the data of the specified number of bit memory table entries, starting
from the specified bit memory table entry.
A maximum of 100 table entries can be read at one time.
If a number of table entries that is not a multiple of 16 is specified, 0 is inserted
in remaining bits (leftmost bits).
The number (n) of 4 hexadecimal digits value to be read out is as follows:
n=(number of bit memory table entries to be read–1)\16)1
(\ indicates the subtraction of the integer.)
40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 25 24 23
OFF ON OFFOFFOFF ON OFF ON ON ON OFF ON OFF ON ON OFF ON ON
0
1
0
0
0
0
0
1
1
1
7
31
37
l1
l2
d11
d12
* *
* *
* *
* *
s2
[CR]
0D
* *
100 table entries
1 to 99 table entries
, dn
, dn
, dn
:
1
2
3
4
n)
H
0
1
0
1
1
1
0 1
0
1
7
5
5
B
0
0
0
,
35
42
2C
30
30
30
Section
,
d13
d14
2C
* *
* *
* *
* *
Bit memory table
Changing to
1
0
1
1
Bit data
Changing to hexa-
B
decimal (Remaining
0)
left most bit
Data to be read out
1
ASCII code
31
4-3
379

Advertisement

Table of Contents
loading

This manual is also suitable for:

Nt631Nt31 seriesNt21 seriesNt631 series

Table of Contents