User's Manual

7 - 61
7 Modbus/TCP Communications
UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7-6 V780 Command Details
7
7-6-5 Reader/Writer Setting Commands: Network Settings
Function
This command sets the Modbus/TCP communications conditions of the Reader/Writer.
Command Format
Response Formats
Normal Response
Error Response
SET MODBUS/TCP COMMUNICATIONS CONDITIONS
Byte-0 Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Byte-7 Byte-8 Byte-9 Byte-10 Byte-11
Transaction identi-
fier
Protocol identifier Field length Unit
identifier
Function
code
Register address Word count
X X 0000 hex 0009 hex FF hex 10 hex B200 hex 0001 hex
Byte-12 Byte-13 Byte-14
Byte
count
Modbus/TC com-
munications condi-
tions
Port number
02 hex 2 bytes
Parameter Description Default setting
Register address The register address (B200 hex) that specifies the Modbus/TCP communications conditions
Word count The number of words in the Modbus/TCP communications conditions (0001 hex)
Byte count The number of bytes in the Modbus/TCP communications conditions (02 hex)
Mod-
bus/TC
com-
muni-
cations
condi-
tions
Port
num-
ber
Specify the Modbus/TCP communications port number in 4-digit hexadeci-
mal.
Setting range: 01F6 hex or 0400 to FFFF hex
Example: 01F6 hex (502)
IANA manages ports 000 to 03FF hex.
01F6 hex (502)
Byte-0 Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Byte-7 Byte-8 Byte-9 Byte-10 Byte-11
Transaction identi-
fier
Protocol identifier Field length Unit
identifier
Function
code
Register address Word count
X X 0000 hex 0006 hex FF hex 10 hex B200 hex 0001 hex
Parameter Description
Register address The register address from the command is set.
Word count The word count from the command is set.
Byte-0 Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Byte-7 Byte-8
Transaction identi-
fier
Protocol identifier Field length Unit
identifier
Function
code
Excep-
tion code
X X 0000 hex 0003 hex FF hex 90 hex 1 byte
Parameter Description
Exception code For details, refer to Exception Code on page 7-7 under Response Format for Error
Completion on page 7-7.