![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543384.webp)
4-3
Section
Commands/Responses
375
Reference:
The maximum number which can be specified for bit memory table depends on
the setting for numbers of bit memory table entries (256/1000) made at the Sup-
port Tool.
Response
Only if Yes is set for the Response memory switch, the response indicated below
is returned on normal completion.
Format
1B
57
[ESC]
[CR]
W
34
30
31
0D
42
B
30
0
0
s1
s2
s
1
, s
2
:
Check sum (2 hexadecimal digits)
This is always added (fixed as 14H)
Function
•
Writes the data of the specified number of bit memory tables, starting from the
specified bit memory table.
•
A maximum of 100 tables can be written at one time.
•
If numbers of table entries which is not multiple of 16 is specified, insert 0 in
remaining bit (leftmost bit).
•
The number (n) of 4 hexadecimal digits value to be specified is as follows:
n=(number of written bit memory tables–1)
O
16
)
1
(
O
indicates the subtraction of the integer.)
Example
Writing the bit memory table from No.51 to No. 70
Contents to be written to bit
memory
Changing to Bit data
Changing to Hexadecimal
(Remaining left most bit 0)
Data to be specified
ASCII code
68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51
ON ON ON OFF ON ON OFF ON ON OFFOFF ON OFFOFFOFFOFF ON ON
1
1
1
0
1
1
0
1
1
0
0
1
0
0
0
0
1
1
F
B
6
4
3
0
0
0
46
F
30
0
30
0
30
0
2C
,
33
3
34
4
36
6
42
B
70 69
ON ON
1
1
4-3-11 PT Memory Batch Write (FILL) Command
(Sent from Host to PT)
Command
Format
m
1B
46
[ESC]
F
e3
b3
e4
4D
M
b1
d1
b2
0D
b4
e1
e2
d4
(s1)
(s2)
[CR]
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
m
:
Check sum present/absent (1 BCD digit)
0 : Absent
1 : Present
b
1
to b
4
:
First written word number (4 BCD digits)
0000 to 9999
e
1
to e
4
:
Final written word number (4 BCD digits)
0000 to 9999
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...