Omron V680 Series User Manual page 176

Modbus tcp reader/writer
Hide thumbs Also See for V680 Series:
Table of Contents

Advertisement

Section 7
Host Communications Specifications
 Query Format
Byte 0
Transaction identifier
X
Parameter
Register address
Word count
Byte count
Copy address
Copy word count
IP address
 Response Format
Normal Response
Byte 0
Byte 1
Transaction
identifier
X
X
Parameter
Register address
Word count
Error Response
Byte 0
Byte 1
Transaction
identifier
X
Parameter
Exception code
 Execution Example
Copying Four Words of Data Starting from Word Address 1234 Hex in the RF Tag to the RF Tag in the
Communications Field of the Reader/Writer at IP Address 192.168.1.201
TX: 00000000000FFF10A80000040812340004C0A801C9
RX: 000000000006FF10A8000004
RFID System
174
User's Manual
(Modbus TCP)
Byte 1
Byte 2
Byte 3
Byte 4
Protocol identifier
Field length
X
0000 hex
000F hex
The register address (A800 hex) that specifies the copying query.
The number of words of data to read (0004 hex)
The number of bytes of data to read (08 hex)
Specify in 4-digit hexadecimal the start address for writing the copied data in the RF Tag.
Setting range: 0000 to 9FFF hex (Specify a word address.)
Specify in 4-digit hexadecimal the number of words of data to copy.
Setting range: 0001 to 0066 hex (1 to 102)
The IP address of the copy destination Reader/Writer in 32 bits
Example: C0A801C8 hex (192.168.1.200)
Byte 2
Byte 3
Byte 4
Byte 5
Protocol
Field length
identifier
identifier
0000 hex
0006 hex
Contains the register address that was specified in the query.
Contains the word count that was specified in the query.
Byte 2
Byte 3
Byte 4
Protocol identifier
X
0000 hex
For details, refer to Exception Code Table in this section.
p.167
Byte 5
Byte 6
Byte 7
Unit
Function code
identifier
FF hex
10 hex
Byte 13
Byte 14
Byte 15
Byte 16
Copy address
Copy word count
2 bytes
2 bytes
Description
Byte 6
Byte 7
Byte 8
Byte 9
Unit
Function code
Register address
FF hex
10 hex
A800 hex
Description
Byte 5
Byte 6
Unit
Function
Field length
identifier
0003 hex
FF hex
Description
Byte 8
Byte 9
Byte 10
Byte 11
Register address
Word count
A800 hex
0004 hex
Byte 17
Byte 18
Byte 19
IP address
4 byte (32 bits)
Byte 10
Byte 11
Word count
0004 hex
Byte 7
Byte 8
Exception
code
code
90 hex
1 byte
Byte 12
Byte count
08 hex
Byte 20

Advertisement

Table of Contents
loading

Table of Contents