82
Section 3 Communications Commands
RFID System
User's Manual
Section 3
Commands
Calculation Write (CW)
The Data Carrier's memory data and calculation data is calculated in hexadecimal and the result is
written to the Data Carrier. If an overflow during addition or underflow during subtraction occurs, the
data will not be written and an error response (end code: 76 = Data check error) will be returned.
Processing specification Specifies the calculation method.
A: Add hexadecimal
S: Subtract hexadecimal
Processing area number
setting
Always 1.
Calculation area start
address
Specifies the start address of the area to be written to in 4-digit hexadecimal.
Setting range: 0000h to 1FFFh
Number of calculation
area bytes
Specifies the number of bytes in the area for calculating data in 2-digit hexadecimal.
Setting range: 01h to 04h
Calculation data Specifies the numerical values to be calculated in hexadecimal.
Calculation data Returns the calculation result data written to the Data Carrier.
If an overflow during addition or underflow during subtraction occurs, the end code 76 (data check
error) will be returned. The data prior to the calculation will not be added to the response.
Command
××
CW
××
A/S 1
××
211 4
Calculation area
start address
Terminator
Specified number of bytes
Calculation data
2
Number of
calculation
area bytes
CR
2
Command
code
Data
setting
Processing
area
number
setting
Response
CW
00
22
2
CR
S