User's Manual

7 Modbus/TCP Communications
7 - 82
UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
Function
This command is used to check the Gen2 session that is set in the Reader/Writer.
Command Format
Response Formats
Normal Response
Error Response
Execution Examples
Execution When S2 Is Set as the Gen2 Session for the Reader/Writer
TX: 000000000006FF03C3000001
RX: 000000000005FF03020002
GET 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 0006 hex FF hex 03 hex C300 hex 0001 hex
Parameter Description
Register address The register address (C300 hex) that specifies the Gen2 session
setting
Word count The number of words in the Gen2 session setting to read (0001
hex)
Byte-0 Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Byte-7 Byte-8 Byte-9 Byte-10
Transaction identi-
fier
Protocol identifier Field length Unit
identifier
Func-
tion code
Byte
count
Gen2 session
X X 0000 hex 0005 hex FF hex 03 hex 02 hex 2 bytes
Parameter Description Default setting
Byte count The number of bytes in the Gen2 session setting that was read (02 hex)
Gen2 session Gives the session that is being used for RF Tag communications in
4-digit hexadecimal.
0000 hex: S0 flag (default)
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
Transaction identifier Protocol identifier Field length Unit iden-
tifier
Function
code
Excep-
tion code
X X 0000 hex 0003 hex FF hex 83 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.