Omron V680 Series User Manual page 173

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

Advertisement

 WRITE DATA
This query writes data to an RF Tag in the communications field.
 Query Format
Byte 0
Byte 1
Byte 2
Byte 3
Transaction
Protocol
identifier
identifier
X
X
0000 hex
Parameter
Register address
Word count
Byte count
Write data
 Response Format
Normal Response
Byte 0
Byte 1
Byte 2
Byte 3
Transaction
Protocol
identifier
identifier
X
X
0000 hex
Parameter
Register address
Word count
Error Response
Byte 0
Byte 1
Byte 2
Transaction
Protocol identifier
identifier
X
X
0000 hex
Parameter
Exception code
 Execution Example
Writing "1111222233334444" to Four Words Starting from Word Address 1234 Hex in the RF Tag
TX: 00000000000FFF1012340004081111222233334444
RX: 000000000006FF1012340004
Byte 4
Byte 5
Byte 6
Byte 7
Unit
Field length
Function code
identifier
2 bytes
FF hex
10 hex
Specify in 4-digit hexadecimal the start address for writing data to 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 write.
Setting range: 0001 to 0071 hex
Specify in 4-digit hexadecimal the number of bytes of data to write.
Setting range: 02 to E2 hex
Specify the data to write to the RF Tag.
Between 1 and 113 words of data can be written with one query.
Byte 4
Byte 5
Byte 6
Byte 7
Unit
Field length
Function code
identifier
0006 hex
FF hex
10 hex
Contains the register address that was specified in the query.
Contains the word count that was specified in the query.
Byte 3
Byte 4
Byte 5
Field length
0003 hex
For details, refer to Exception Code Table in this section.
p.167
Host Communications Specifications
Byte 8
Byte 9
Byte 10
Byte 11
Register address
Word count
2 bytes
2 bytes
Description
Byte 8
Byte 9
Byte 10
Byte 11
Register address
Word count
2 bytes
2 bytes
Description
Byte 6
Byte 7
Byte 8
Unit
Function
Exception
identifier
code
code
FF hex
90 hex
1 byte
Description
Section 7
Byte 12
Byte 13
···
Byte n
Byte
Write data
count
1 byte
2 to 226 bytes
RFID System
User's Manual
(Modbus TCP)
171

Advertisement

Table of Contents
loading

Table of Contents