Omron V680 Series User Manual page 177

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

Advertisement

 DATA FILL
This query writes the specified data to the specified number of words beginning from the specified start
address. The specifications are made in the query.
 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
Fill
Fill address
information
Number of fill
words
Fill 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
Filling 5A5A Hex to Four Words Starting from Word Address 1234 Hex in the RF Tag
TX: 00000000000DFF10A100000306123400045A5A
RX: 000000000006FF10A1000003
Byte 4
Byte 5
Byte 6
Byte 7
Unit
Field length
Function code
identifier
000D hex
FF hex
10 hex
The register address (A100 hex) that specifies filling data.
Number of words of fill information (0003 hex)
Number of bytes of fill information (06 hex)
Specify in 4-digit hexadecimal the start address for writing 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 fill.
Setting range: 0001 to FFFF hex (Specify 0000 hex to fill the entire area.)
Specify in 4-digit hexadecimal the data to write to the RF Tag.
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
Word count
Byte count
address
A100 hex
0003 hex
Byte 14
Byte 13
Fill address
Number of fill words
2 bytes
Description
Byte 8
Byte 9
Byte 10
Byte 11
Register address
Word count
A100 hex
0003 hex
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 18
Fill information
06 hex
6 bytes
Byte 18
Byte 5
Byte 16
Byte 17
Fill data
2 bytes
2 bytes
RFID System
User's Manual
(Modbus TCP)
175

Advertisement

Table of Contents
loading

Table of Contents