![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543378.webp)
4-3
Section
Commands/Responses
369
Response
Format
1B
52
[ESC]
R
t3
t4
42
B
t1
2C
d11
,
t2
dn1
dn2
d12
d13
d14
0D
dn3
dn4
s1
s2
[CR]
l1
l2
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
t
1
to t
4
:
First bit memory number table read (4 BCD digits)
0000 to 0999
l
1
, l
2
:
Number of read tables (2 BCD digits)
00
:100 tables
01 to 99
:1 to 99 tables
d1
1
, d1
2
, d1
3
, d1
4
, ..., dn
1
, dn
2
, dn
3
, dn
4
:
Contents of the read bit memory tables (4 hexadecimal digits,
×
n)
0000 to FFFF
H
The contents of bit memory table 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 num-
ber is the rightmost bit.)
The bit memory table data is delimited by commas by each 16
tables.
s
1
, s
2
:
Check sum (2 hexadecimal digits)
This is always added.
Function
•
Reads the data of the specified number of bit memory tables, starting from the
specified bit memory table.
•
A maximum of 100 tables can be read at one time.
•
If number of table entries which is not multiple of 16 is specified, 0 is inserted in
remaining bit (left most bit).
•
The number (n) of 4 hexadecimal digits value to be read out is as follows:
n=(number of bit memory tables to be read–1)
O
16
)
1
(
O
indicates the subtraction of the integer.)
Example
Reading the bit memory table from No.23 to No.40
Bit memory table
Changing to
Bit data
Changing to hexa-
decimal (Remaining
left most bit
0)
Data to be read out
ASCII code
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
1
0
1
1
0
1
0
1
1
0
1
1
1
1
7
5
B
0
0
0
31
1
30
0
30
0
30
0
2C
,
42
B
35
5
37
7
31
1
1
4-3-5 Screen Data Comment Read Command
(Sent from Host to PT)
Command
Format
1B
46
[ESC]
[CR]
F
0D
52
R
m
(s1)
(s2)
* *
* *
* *
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...