
39
V700-L11
User's Manual
Section 4
4
.2
Comma
nd/res
pons
e fr
ame st
ruc
tur
e
Section 4
Data Read/Write with ID Tag
4.2 Command/response frame structure
➀
Direct connection to IDRW head-OMRON original 1:1 protocol
■
Command frame structure
∗
Arrange data transmission so that an inter-character spacing is less than 2 seconds. A spacing in
excess of 2 seconds will trigger a command error.
●
Command code
A command code determines the action taken by an IDRW head. The available command codes are
as follows:
●
Parameter
A parameter defines details of an action being taken. Necessary parameter varies from command to
command.
■
Response frame structure
●
Response code
A response code represents the run result of an executed command. The normally completed run is
indicated as "00". When an error has occurred, an error code is returned.
●
Parameter
A run result is returned. A parameter being returned varies from command to command.
Name
No.
Description
Read
"0100"
Once receiving this command, the IDRW head communicates with an ID tag and reads the
data of a specified page. It is possible to select up to 16 arbitrary pages.
Write
"0200"
Once receiving this command, the IDRW head communicates with an ID tag and writes
the data into a specified page. It is possible to select up to 16 arbitrary pages.
Same write
"0300"
Once receiving this command, the IDRW head communicates with an ID tag and writes
same data page by page into specified pages.
Byte write
"0400"
Once receiving this command, the IDRW head communicates with an ID tag and writes
the data into an area that is defined by a starting address and number of bytes. The maxi-
mum allowable bytes are 128 bytes.
Test
"10"
The IDRW head transmits received data to the upstream controller without modifying it.
NOTE) A test command is composed of two characters.
Name
Description
Read
Read page
Write
Write page, write data
Same write
Write pages, write data
Byte write
Write start address, write data
Test
Test data
Name
Description
Read
Read pare
Write
None
Same write
None
Byte write
None
Test
Test data received based on the command
Command code
Parameter 1
Parameter n
CR
ODh
Response
code
Parameter 1
Parameter n
CR
$0D