![background image](http://html1.mh-extra.com/html/omron/nt21-series/nt21-series_reference-manual_744543381.webp)
4-3
Section
Commands/Responses
372
•
AND attribute: The result after executing the AND operation on the present
data of the PT and the written data is written.
•
OR attribute:
The result after executing the OR operation on the present
data of the PT and the written data is written.
•
XOR attribute: The result after executing the XOR operation on the present
data of the PT and the written data is written.
Example:
Write attribute
Written
data
Present data of the PT
memory
Result
SET attribute
1234
H
3456
H
1234
H
AND attribute
1234
H
3456
H
1014
H
OR attribute
1234
H
3456
H
3676
H
XOR attribute
1234
H
3456
H
2662
H
4-3-8 Numeral Memory Table Write Command
(Sent from Host to PT)
Command
Format
Data of 1 word
Data of 1 word
m
1B
57
[ESC]
W
t3
t4
4E
N
t1
(l1)
(l2)
t2
2C
0D
d11
d1m
,
dn1
dnm
(s1)
(s2)
[CR]
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
* *
m
:
Check sum present/absent (1 BCD digit)
0 : Absent
1 : Present
8 : Absent (only 1 table written)
9 : Present (only 1 table written)
t
1
to t
4
:
First numeral memory number written to (4 BCD digits)
0000 to 1999 (excluding 0247 to 0253)
l
1
, l
2
:
Number of written tables (2 BCD digits)
01 to 20:1 to 20 tables
When m is 8 or 9, omit this setting.
d1
1
to d1
m
, ..., dn
1
to dn
m
:
Contents of the written numeral memory tables (1 to 8 hexade-
cimal digits)
0 to FFFFFFFF
H
It is possible to omit initial zeroes so that there are less than 8
digits.
s
1
, s
2
:
Check sum (2 hexadecimal digits)
When m is 0 or 8, omit this setting.
Reference:
The maximum number which can be specified for numeral memory table de-
pends on the setting for numbers of numeral table entries (512/1000/2000) made
at the Support 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
30
30
32
0D
4E
N
30
0
0
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...