
46
S
E
CTI
O
N 4
Communic
a
tio
n
s
Comma
nds
Electromagnetic Inductive RFID System
User's Manual
SECTION 4
Commands
Computation Write (CW)
Performs a hexadecimal calculation using the data in Tag memory and the calculation data and writes
the result to the Tag. If an overflow occurs for addition or an underflow occurs for subtraction, the data
is not written to the Tag and “1” is returned for the status flag.
Example: Writing 2 Bytes of Data, the Result of Subtracting the Subtraction Data “0002” from “0010”,
the Data Starting at Address 0001h (Single Auto, Initial Value: “0010”)
Send data:
CWSAS10001020002
*
[CR]
Receive data: CW0000000E
*
[CR]
This command performs hexadecimal calculations, so specify hexadecimal for all data being handled. Also, set the cal-
culation area so that it is contained within one page. If the calculation area is not contained within one page, a com-
mand error will occur.
Communications
designation
Specifies the method for communicating with a Tag.
Refer to
for details.
Process designation
Specifies the calculation method.
“A”: Hexadecimal addition
“S”: Hexadecimal subtraction
Antenna designation
Always “1”.
Calculation area start
address
Specifies the start address in the Tag memory area for calculating data in four hexadecimal digits.
Specification range: 0000h to 007Fh
No. of bytes in calculation
area
Specifies the number of bytes of calculation data in the calculation area in two hexadecimal digits.
Specification range: 01h to 04h
Calculation data
Specifies in hexadecimal the number to be used in the calculation.
Results data
Returns the calculation results data written to the Tag.
The data before the calculation was performed will be returned if addition gives an overflow or
subtraction gives an underflow. The status flag will be “1” in these cases.
2
2
2
1
1
4
2
㧖
CR
Command
code "CW"
Proc-
ess
desig-
nation
Antenna
designa-
tion
Calculation area
start address
Communica-
tions desig-
nation
No. of bytes
in calculation
area
Specified number of bytes
Calculation data
Command
2
2
1
1
2
㧖
CR
Command
code "CW"
Retry
flag
Status
flag
End code
"00"
Results data
Specified number of bytes
Response
Summary of Contents for V670-CF01
Page 2: ......