User's Manual

7 Modbus/TCP Communications
7 - 80
UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
Function
This command sets the Gen2 session for the Reader/Writer.
Command Format
Response Formats
Normal Response
Error Response
SET GEN2 SESSION
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 009 hex FF hex 10 hex C300 hex 0001 hex
Byte-12 Byte-13 Byte-14
Byte
count
Gen2 Session
02 hex 2 bytes
Parameter Description Default setting
Register address The register address (C300 hex) that specifies the Gen2 session setting
Word count The number of words in the Gen2 session setting (0001 hex)
Byte count The number of bytes in the Gen2 session setting (02 hex)
Gen2 session Specify the session to use for RF Tag communications in 4-digit
hexadecimal.
0000 hex: S0 flag
0001 hex: S1 flag
0002 hex: S2 flag
0003 hex: S3 flag
0000 hex
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
Func-
tion code
Register address Word count
X X 0000 hex 0006 hex FF hex 10 hex C300 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 identifier Protocol identifier Field length Unit iden-
tifier
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 7-2-3 Response Format for
Error Completion on page 7-7.