Omron V680 Series User Manual page 186

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

Advertisement

Section 7
Host Communications Specifications
 GET TCP/IP COMMUNICATIONS CONDITIONS
This query reads the TCP/IP information that is set in the Reader/Writer.
 Query Format
Byte 0
Byte 1
Transaction
identifier
X
Parameter
Register address
Word count
 Response Format
Normal Response
Byte 0
Byte 1
Transaction
identifier
X
X
Byte count
TCP/IP communications
conditions
Error Response
Byte 0
Byte 1
Transaction
identifier
X
Parameter
Exception code
 Execution Example
Reading the TCP/IP Communications Conditions When the IP Address Is 192.168.1.200, the Subnet
Mask Is 255.255.255.0, and the Gateway Address Is 192.168.1.1
TX: 000000000006FF03B8000006
RX: 00000000000FFF030CC0A801C8FFFFFF00C0A80101
RFID System
184
User's Manual
(Modbus TCP)
Byte 2
Byte 3
Byte 4
Protocol identifier
Field length
X
0000 hex
0006 hex
The register address (B800 hex) that specifies the TCP/IP communications conditions.
The number of words in the TCP/IP communications conditions information to read (0006 hex)
Byte 2
Byte 3
Byte 4
Byte 5
Byte 6
Protocol
Unit
Field length
identifier
identifier
0000 hex
0013 hex
FF hex
Byte 9
Parameter
IP address
Subnet mask
Gateway address
Byte 2
Byte 3
Byte 4
Protocol identifier
Field length
X
0000 hex
For details, refer to Exception Code Table in this section.
p.167
Byte 5
Byte 6
Byte 7
Unit
Function
identifier
code
FF hex
03 hex
Description
Byte 7
Byte 8
Byte 9
TCP/IP communications
Function code
Byte count
03 hex
0C hex
Byte 10
Byte 11
Byte 12
Byte 13
Byte 14
IP address
Subnet mask
4 bytes
The number of bytes in the TCP/IP communications conditions that was read
(0C hex)
Contains the IP address that was read in 8-digits hexadecimal.
Example: C0A801C8 hex (192.168.1.200)
Contains the subnet mask that was read in 8-digits hexadecimal.
Example: FFFF FF00 hex (255.255.255.0)
Contains the gateway address that was read in 8-digits hexadecimal.
Example: C0A80101 hex (192.168.1.1)
Byte 5
Byte 6
Byte 7
Unit
Function
identifier
code
0003 hex
FF hex
83 hex
Description
Byte 8
Byte 9
Byte 10 Byte 11
Register address
Word count
B800 hex
···
Byte 20
conditions
12 bytes
Byte 15
Byte 16
Byte 17
Byte 18
Byte 19
Gateway address
4 bytes
4 bytes
Description
Byte 8
Exception
code
1 byte
0006 hex
Byte 20

Advertisement

Table of Contents
loading

Table of Contents