Read (Rd) - Omron V670-H11 User Manual

V670 series id controller, antenna, and id tag
Table of Contents

Advertisement

5-6 Communication Command

5-6-1 Read (RD)

Reads a data in a area specified by the first address and the number of bytes.
<Command>
Command
Communication
Data
code
designation
desig-
nation
"RD"
Communication designation
Data designation
Antenna designation
First address of read area
Number of read bytes
<Response>
Command
Termination
Retrans-
code
code
mission
"RD"
"00"
flag
Read data
Data read from a tag. For the ASCII code, the number of characters is the number of read bytes.
For the hexadecimal code, the number of characters is the number of read bytes x 2.
Example: Reading 8 bytes of data from the address 0000h
(Single trigger, hexadecimal code)
Sent data: RDSTH 1 0 0 0 0 0 8 * [CR]
Received data: RD 0 0 0 0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 * [CR]
Specify the number of read bytes so that the sum of the number of read bytes and the first address of read area cannot
exceed the tag memory capacity (128 bytes).
Example: For the address 0010h, the range between 00h and 70h can be specified.
5-10
Antenna
First address of read area
designa-
tion
Specifies how to communicate with a tag.
For details, refer to the communication designation list.
Specifies a type of transmitted code of read data at the response.
"A": ASCII code
"H": Hexadecimal code
Fixed to "1".
Specifies the first address of area, where data is read from a tag, in four hexadecimal
digits.
Available designation range: 0000h to 007Fh.
Specifies the number of bytes to be read in HEX code.
The number of bytes that can be read at a time is as follows:
-ASCII:256 bytes (256 characters)
-HEX : 128 bytes (256 characters)
Available designation range: 01h to 80h.
Status
Read data
flag
Number of specified bytes
Correct Usage
Number of read
bytes

Advertisement

Table of Contents
loading

This manual is also suitable for:

V670-h51V670-h51q

Table of Contents