User Manual
Table Of Contents
- V670 Series
- Introduction
- Contents
- Structure of This Manual
- Chapter 1 Features and System Configuration
- Chapter 2 Specifications and Performance
- Chapter 3 Setting and Installation
- Chapter 4 Functions
- Chapter 5 Control From Host Device
- Chapter 6 How to Use Self-Execution Mode
- Chapter 7 How to Use Programming Console
- Chapter 8 From Startup to Run
- Chapter 9 Characteristic Data Depending on Operating Condition (Reference)
- Appendix
5-6 Communication Command
5-12
5-6-3 Computation Write (CW)
Performs the computation of data in tag memory and computation data in a hexadecimal number and writes the result into the tag. If
overflow and underflow occurs in addition and subtraction, respectively, no data is written and "1" is returned to the status flag.
Example: Subtracting from 2 bytes of data ("0010") in the computation data ("0002") from the address 0001h and writing the result
(Single trigger, initial value "0010")
Sent data: CWSTS 1 0 0 0 1 0 2 0 0 2 * [CR]
Received data: CW 0 0 0 0 0 0 0 E * [CR]
Communication designation Specifies how to communicate with a tag. For details, refer to the communication desig-
nation list.
Process designation Specifies how to compute.
"A": Hexadecimal addition
"S": Hexadecimal subtraction
Antenna designation Fixed to "1".
First address of read area Specifies the first address of area, where data is computed, in four hexadecimal digits.
Available designation range: 0000h to 007Fh.
Number of written bytes Specifies the number of bytes of area, where data is computed, in two hexadecimal dig-
its.
Available designation range: 01h to 04h.
Computation data Specifies a numerical value to be computed in a hexadecimal number.
Result data Returns a calculation result data written into the tag. If overflow and underflow occurs in addition
and subtraction, respectively, the result data is a data before the calculation. In this case, the sta-
tus flag is "1".
Correct Usage
This command performs the hexadecimal computation. So, you must specify all the data in a hexadecimal code. More-
over, specify an addition area within one page. Otherwise, a command error occurs.
<Command>
Command
code
"CW"
Communication
designation
Process
designa-
tion
Antenna
designa-
tion
The first address of computation
area
The number of
computation
area bytes
Computation data
Number of specified bytes
<Response>
Command
code
"CW"
Termination
code
"00"
Retrans-
mission
flag
Status
flag
Result data
Number of specified bytes










