Modbus/TCP Communications This section provides an overview of Modbus/TCP communications and describes the communications format, communications commands, and communications procedure. 7-1 Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 7-1-1 7-1-2 7-1-3 Modbus/TCP Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 Modbus/TCP Function Codes Supported by the V780 . . . . . . . . . . . . . . . .
7 Modbus/TCP Communications 7-1 7-1-1 Outline Modbus/TCP Communications • A V780 Reader/Writer can perform Modbus/TCP-compliant message communications with the host device (PLC). • Communications between the host device (PLC) and the V780 Reader/Writer are performed on a client-server basis using the TCP/IP protocol. The computer, PLC, or other host device is the client and the Reader/Writer is the server. • The message that the host device (PLC) sends to the Reader/Writer is called a command.
7 Modbus/TCP Communications 7-1-3 Communications System There are two communications systems used by the V780 depending on the function codes that are used. Modbus/TCP Communications System (FC03 and FC16) The communications system that uses normal commands that are compliant with Modbus/TCP Class 0 is shown below. Refer to 7-2 Message Formats on page 7-5 for details on the normal commands.
7 Modbus/TCP Communications Precautions for Correct Use Communications Units and communications commands that support the Modbus/TCP protocol support only function codes that comply with Modbus/TCP Class 0. Therefore, the function code FC100 for expanded commands cannot be used. IP Address Settings of the Reader/Writer You can set any IP address for the V780 Reader/Writer.
7 Modbus/TCP Communications 7-2 Message Formats 7-2-1 Byte-0 Command Format Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Transaction identifier Protocol identifier Field length Unit identifier XXXX hex Always 0000 hex. XXXX hex Always FF hex. Byte-7 Function code 03 hex, 10 hex, or 64 hex Byte-8 Byte-9 … Byte-n Data XX...XX hex X: Any value, n: 4,351 max. Range included in the field length.
7 Modbus/TCP Communications Data Specify the data that is relevant to the function code. The format of the data depends on the function code. 7-2-2 Byte-0 Response Format for Normal Completion Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Byte-6 Transaction identifier Protocol identifier Field length Unit identifier XXXX hex Always 0000 hex. XXXX hex Always FF hex. Byte-7 Function code 03 hex, 10 hex, or 64 hex Byte-8 Byte-9 … Byte-n Data XX...XX hex X: Any value, n: 9,215 max.
Modbus/TCP Communications 7-2-3 Response Format for Error Completion Byte-0 Byte-1 Byte-2 Byte-3 Byte-4 Byte-5 Transaction identifier Protocol identifier Field length Byte-6 Unit identifier XXXX hex Always 0000 hex. Always 0003 hex. Always FF hex. Byte-7 Function code 83 hex, 90 hex, or E4 hex Byte-8 Exception code XX hex X: Any value Range included in the field length. Transaction Identifier The value that was specified in the command is set.
7 Modbus/TCP Communications 7-2-4 Read Multiple Resisters Command/Response (FC03) Command Format Byte-7 Function code Byte-8 Byte-9 Register address 03 hex XXXX hex Byte-10 Byte-11 Word count 0001 to 0078 hex (1 to 120) Normal Response Format Byte-7 Function code 03 hex 7-2-5 Byte-8 Byte count XX hex Byte-9 … Byte-n Read holding register data XX...
7 Modbus/TCP Communications 7-3 RF Communications Command Options This section describes the options that you can use together with RF communications commands (multiaccess or Modbus expansion). You can specify options to get the EPC of the RF Tag, the reception level, or other communications information together with the normal data for the command.
7 Modbus/TCP Communications Options Classification Communications command, Modbus expansion 7 - 10 Reserved Command EXTENDED DATA READ EXTENDED DATA WRITE EXTENDED MULTIACCESS ID READ EXTENDED MULTIACCESS DATA READ Bits 5 to 15 --------- Diagnostic results Reserved RSSI EPC Bit 1 Bit 0 OK OK No Bits 2 and 3 ------- OK OK OK OK OK No No --- OK OK Bit 4 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications 7-4 Communications Procedure In the computer, PLC, or other host devices, write the program to communicate with the Reader/Writer using TCP sockets. If you use an Modbus/TCP master device, follow the communications procedure for the device you are using. 7-4-1 Command Communications Procedure A connection is required between the host device and Reader/Writer to communicate with the Reader/Writer. After you establish a connection, send commands and receive the responses.
7 Modbus/TCP Communications Precautions for Correct Use Access to a Reader/Writer is possible from only one host device at a time. If a host device B connects to a Reader/Writer while another host device A is already connected to it, the connection between host device A and the Reader/Writer will be automatically disconnected and a connection with host device B will be established.
7 Modbus/TCP Communications 7-4-3 RF Tag Communications Command Procedure for Single-access Communications When you send an RF Tag communications command with single-access communications, the Reader/Writer communicates with only one RF Tag in the communications field. Using a Normal Command (FC03 or FC16) With a normal command, the maximum size of data that you can read from an RF Tag is 120 words.
7 Modbus/TCP Communications If you want to check the EPC code or reception level when communications with the RF Tag are successful, send a GET RF TAG ADDITIONAL INFORMATION command after the response to the communications command has been received. The reception level from the RF Tag that was just communicated with will be returned. Host device (client) Reader/Writer (server) READ DATA communications command sent. Communications field Command execution RF Tag memory read/written.
7 Modbus/TCP Communications Using a Normal Command (FC03 or FC16) With a normal multiaccess RF Tag command, two commands are used to exchange the data, one to set communications and another to get the results. 1 Sending the Command to Set Communications First, send the command to set communications. If the Reader/Writer detects even one RF Tag, the results of execution are returned as a normal response. If no RF Tags were detected, an RF Tag missing error is returned.
7 Modbus/TCP Communications Precautions for Correct Use If you execute another communications command (e.g., a single-access read, write, or fill command or a multiaccess read command) before you execute the commands to get the results, the multiaccess communications results held in the Reader/Writer will be cleared. Using an Expanded Command (FC100) With an expanded command, you can execute one multiaccess RF Tag command to get the communications results from more than one RF Tag with only one command.
7 Modbus/TCP Communications 7-5 Commands The commands that you can send to a Reader/Writer are listed below. The command codes are used to identify the commands and they are recorded in the most recent command error information and command error log with an error response is returned. (This information is not included in the Modbus/TCP message format.
7 Modbus/TCP Communications Reader/Writer Control Commands Command name INITIALIZE RESET STOP RESET FOCUS Function code FC16 FC16 FC16 FC16 Register address A000 hex A100 hex A200 hex A300 hex Command code 1001 hex 1002 hex 1003 hex 1004 hex Reader/Writer Setting Commands: Network Settings Command name SET TCP/IP COMMUNICATIONS CONDITIONS GET TCP/IP COMMUNICATIONS CONDITIONS SET DEVICE NAME GET DEVICE NAME SET MODBUS/TCP COMMUNICATIONS CONDITIONS GET MODBUS/TCP COMMUNICATIONS CONDITIONS SET WEB COMMUNI
7 Modbus/TCP Communications Command name GET GEN2 SESSION SET ACCESS PASSWORD GET ACCESS PASSWORD SET RF TAG SELECTION FILTER CONDITIONS GET RF TAG SELECTION FILTER CONDITIONS SET RSSI FILTER CONDITIONS GET RSSI FILTER CONDITIONS SET TRANSMISSION TIME GET TRANSMISSION TIME Function code FC03 FC16 FC03 FC16 Register address C300 hex C400 hex C400 hex C500 hex Command code 3008 hex 3009 hex 300A hex 300B hex FC03 C500 hex 300C hex FC16 FC03 FC16 FC03 C600 hex C600 hex C700 hex C700 hex 300D hex 300E
7 Modbus/TCP Communications 7-6 V780 Command Details 7-6-1 Single-access Communications Commands READ ID Function This command reads the ID (i.e., the EPC code) of the RF Tag in the communications field.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications WRITE ID Function This command writes the ID (i.e., the EPC code) to the RF Tag in the communications field.
7 Modbus/TCP Communications Execution Examples Writing the ID Data to an RF Tag (EPC Length: 0006 Hex, EPC Code: 111122223333444455556666 Hex) TX: 000000000015FF10400000070E0006111122223333444455556666 RX: 000000000006FF1040000007 7-6 V780 Command Details 7 7-6-1 Single-access Communications Commands UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 23
7 Modbus/TCP Communications READ DATA Function This command reads data from the RF Tag in the communications field.
7 Modbus/TCP Communications Execution Examples Reading Four Words of Data (1111222233334444 Hex) Starting from Word Address 0123 Hex (User Area) in the RF Tag TX: 000000000006FF0331230004 RX: 000000000013FF03081111222233334444 7-6 V780 Command Details 7 7-6-1 Single-access Communications Commands UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 25
7 Modbus/TCP Communications WRITE DATA Function This command writes data to the RF Tag in the communications field.
7 Modbus/TCP Communications Parameter Exception code Description For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications LOCK Function This command locks or unlocks the memory of the RF Tag in the communications field.
7 Modbus/TCP Communications Note If the reception level is required, use GET RF TAG ADDITIONAL INFORMATION on page 7-121. • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 90 hex 1 byte Description For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications DATA FILL Function This command writes the specified data to the specified number of words beginning from the specified write start address. The specifications are made in the command.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 90 hex 1 byte Description For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications 7-6-2 Multiaccess Communications Commands SET MULTIACCESS ID READ Function This command specifies reading the IDs (i.e., the ECP codes) of the RF Tags in the communications field.
7 Modbus/TCP Communications Execution Examples Specifying Multiaccess Reading of the IDs by the Reader/Writer with No Options Example 1: Execution when an RF Tag Is in the Communications Field TX: 000000000009FF1090000001020000 RX: 000000000004FF100001 Example 2: Execution When an RF Tag Is Not in the Communications Field (Exception Code: 04 Hex (Failure in Device)) TX: 000000000009FF1090000001020000 RX: 000000000003FF9004 GET MULTIACCESS ID READ RESULTS This command reads data from the RF Tag in the c
7 Modbus/TCP Communications Parameter Description Gives the total number of bytes starting from the unit identifier in 4-digit hexadecimal. Field length 0047 hex + Option size • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9. Gives the total number of bytes starting from the number of RF Tags in 2-digit hexadecimal. Byte count 44 hex + Option size • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9.
7 Modbus/TCP Communications *Number of RF Tags: 3, RF Tag A error code + StoredPC + EPC code (The six words of the EPC length are all AAAA hex.) Getting the Second Results (Getting the Communications Results for RF Tag B) TX: 000000000006FF0391000022 RX:000000000047FF0344000200003000BBBB…BBBB0000…0000 *Number of RF Tags: 2, RF Tag A error code + StoredPC + EPC code (The six words of the EPC length are all BBBB hex.
7 Modbus/TCP Communications SET MULTIACCESS DATA READ Function This command specifies reading data from the RF Tags in the communications field.
7 Modbus/TCP Communications Execution Examples Specifying to the Reader/Writer a Multiaccess Data Read of Four Words Starting from Word Address 0123 Hex (User Area) with No Options Example 1: Execution when an RF Tag Is in the Communications Field TX: 00000000000DFF109200000306312300040000 RX: 000000000004FF100003 Example 2: Execution When an RF Tag Is Not in the Communications Field (Exception Code: 04 Hex (Failure in Device)) TX: 00000000000DFF109200000306312300040000 RX: 000000000003FF9004 7-6 V780 C
7 Modbus/TCP Communications GET MULTIACCESS DATA READ RESULTS Function This command specifies getting the results of reading data from the RF Tags in the communications field. To enable identifying the RF Tags that were read, the StoredPC and EPC code are attached to the read data. The number of results data from RF Tag communications stored in the Reader/Writer is decremented when a command response is returned.
7 Modbus/TCP Communications Parameter Byte count Description Gives the total number of bytes starting from the number of RF Tags in 2-digit hexadecimal. 06 to 44 hex + Option size • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9. Gives the number of RF Tags that were read in 4-digit decimal. (0001 to 001F hex) Number of RF Tags The number of RF Tags is decremented when a command response is returned. Gives the RF Tag access results in 4-digit hexadecimal.
7 Modbus/TCP Communications Execution Examples Specifying Getting the Results of Multiaccess Reading of Four-word Data by the Reader/Writer with No Options There are three RF Tags in the communications field. Getting the First Results (Getting the Communications Results for RF Tag A) TX: 000000000006FF0393000006 RX: 00000000000FFF030C00030000AAAA…AAAA *Number of RF Tags: 3, RF Tag A error code + Read data (All four words are AAAA hex.
7 Modbus/TCP Communications 7-6-3 Modbus Expansion Communications Commands EXTENDED DATA READ Function This command reads data from the RF Tag in the communications field. You can specify reading up to 2,048 words with one EXTENDED DATA READ command.
7 Modbus/TCP Communications Parameter Description 0008 to 1006 hex + Option size Field length StoredPC • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9. The data that was read from the RF Tag is attached. (Range: 0001 to 0800 hex, in words) These parameters may be omitted depending on the option value. Gives the StoredPC data in 4-digit hexadecimal. EPC code The upper 5 bits are the EPC word length.
7 Modbus/TCP Communications EXTENDED DATA WRITE Function This command writes data to the RF Tag in the communications field. You can specify writing up to 2,048 words with one EXTENDED DATA WRITE command.
7 Modbus/TCP Communications Parameter Description Normal completion: 0006 hex + Option size Field length StoredPC • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9. For details, refer to ?9-2-1 ?????? (P.9-3)?. These parameters may be omitted depending on the option value. Gives the StoredPC data in 4-digit hexadecimal. EPC code The upper 5 bits are the EPC word length. Gives the Tag-specific information according to Gen2 standards.
7 Modbus/TCP Communications EXTENDED MULTIACCESS ID READ Function This command reads the IDs (EPC codes) of multiple RF Tags in the communications field. You can get the IDs (EPC codes) of more than one RF Tag with one EXTENDED MULTIACCESS ID READ command.
7 Modbus/TCP Communications • Error Response: Command Error Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex E4 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications EXTENDED MULTIACCESS DATA READ Function This command reads data from multiple RF Tags in the communications field. You can get data from more than one RF Tag with one EXTENDED MULTIACCESS DATA READ command.
7 Modbus/TCP Communications Parameter Field length Description 000A to 2106 hex + (Option size × m) Number of RF Tags • For details on option sizes, refer to 7-3 RF Communications Command Options on page 7-9. Gives the number of RF Tags that were detected in 4-digit decimal. 0000 to 0040 hex (0 to 64) For details, refer to ?9-2-1 ?????? (P.9-3)?. The data that was read from the RF Tag is attached.
7 Modbus/TCP Communications 7-6-4 Reader/Writer Control Commands INITIALIZE Function This command initializes the Reader/Writer settings. (That is, it returns them to the default settings.
7 Modbus/TCP Communications Execution Examples Execution to Initialize the Reader/Writer Settings TX: 000000000009FF10A0000001020000 RX: 000000000006FF10A0000001 7 - 50 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications RESET Function This command restarts the entire Reader/Writer.
7 Modbus/TCP Communications STOP Function This command stops RF Tag communications command execution by the Reader/Writer.
7 Modbus/TCP Communications RESET FOCUS Function This command initializes the target level information of all the RF Tags that are being monitored by the Reader/Writer in Focus Mode.
7 Modbus/TCP Communications 7-6-5 Reader/Writer Setting Commands: Network Settings SET TCP/IP COMMUNICATIONS CONDITIONS Function This command sets the TCP/IP communications conditions of the Reader/Writer. Command Format Byte-0 Byte-1 Byte-2 Transaction identifier X X Byte-12 Byte-13 Byte-6 Byte-7 Protocol identifier Field length Unit identifier Function code Register address Word count 0000 hex 0015 hex FF hex 10 hex B000 hex 0007 hex Byte-14 Byte-3 Byte-15 Byte-4 ...
7 Modbus/TCP Communications Parameter Register address Word count Description The register address from the command is set. The word count from the command is set.
7 Modbus/TCP Communications GET TCP/IP COMMUNICATIONS CONDITIONS Function This command is used to check the TCP/IP communications conditions that are set in the Reader/Writer.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications SET DEVICE NAME Function This command is used to set or clear a name for the Reader/Writer. Command Format Byte-0 Byte-1 Byte-2 Transaction identifier X X Byte-12 Byte-13 Byte-6 Byte-7 Protocol identifier Field length Unit identifier Function code Register address Word count 0000 hex 0047 hex FF hex 10 hex B100 hex 0020 hex ...
7 Modbus/TCP Communications Execution Examples Execution to Set the Reader/Writer Device Name to V780-A001 TX: 000000000047FF10B10000204056363830532D413030310000000000…00 RX: 000000000006FF10B1000020 7-6 V780 Command Details 7 7-6-5 Reader/Writer Setting Commands: Network Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 59
7 Modbus/TCP Communications GET DEVICE NAME Function This command is used to check the name that is set in the Reader/Writer.
7 Modbus/TCP Communications SET MODBUS/TCP COMMUNICATIONS CONDITIONS Function This command sets the Modbus/TCP communications conditions of the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Set the Following Modbus/TCP Communications Conditions in the Reader/Writer Port number: 502 TX: 000000000009FF10B20000010201F6 RX: 000000000006FF10B2000001 7 - 62 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET MODBUS/TCP COMMUNICATIONS CONDITIONS Function This command is used to check the Modbus/TCP communications conditions of the Reader/Writer.
7 Modbus/TCP Communications SET WEB COMMUNICATIONS CONDITIONS Function This command sets the Web browser communications conditions of the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Set the Following Web Communications Conditions in the Reader/Writer Port number: 7090 TX: 000000000009FF10B3000001021BB2 RX: 000000000006FF10B3000001 7-6 V780 Command Details 7 7-6-5 Reader/Writer Setting Commands: Network Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 65
7 Modbus/TCP Communications GET WEB COMMUNICATIONS CONDITIONS Function This command is used to check the Web browser communications conditions of the Reader/Writer.
7 Modbus/TCP Communications SET WEB PASSWORD Function This command sets or clears the Reader/Writer login password for the Web browser interface. Command Format Byte-0 Byte-1 Transaction identifier X X Byte-12 Byte-13 Byte-2 Byte-6 Byte-7 Protocol identifier Field length Unit identifier Function code Register address Word count 0000 hex 0017 hex FF hex 10 hex B400 hex 0008 hex ...
7 Modbus/TCP Communications Execution Examples Setting the Reader/Writer Web Password to “password” TX: 000000000017FF10B40000081070617373776F72640000000000000000 RX: 000000000006FF10B4000008 7 - 68 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET WEB PASSWORD Function This command is used to check the login password that is set in the Reader/Writer for the Web browser interface.
7 Modbus/TCP Communications 7-6-6 Reader/Writer Setting Commands: Communications Settings SET TAG COMMUNICATIONS CONDITIONS Function This command sets the communications conditions for the Reader/Writer.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 90 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications GET TAG COMMUNICATIONS CONDITIONS Function This command is used to check the RF communications conditions that are set in the Reader/Writer.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications SET TRANSMISSION POWER Function This command sets the transmission powers of the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Set the Following Transmission Powers in the Reader/Writer Read transmission power: 27 dBm, Write transmission power: 27 dBm TX: 00000000000BFF10C100000204001B001B RX: 000000000006FF10C1000002 7-6 V780 Command Details 7 7-6-6 Reader/Writer Setting Commands: Communications Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 75
7 Modbus/TCP Communications GET TRANSMISSION POWER Function This command is used to check the transmission powers that are set in the Reader/Writer.
7 Modbus/TCP Communications SET CHANNEL Function This command sets the channel in the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Set Channel 2 for the Reader/Writer TX: 000000000009FF10C2000001020002 RX: 000000000006FF10C2000001 7 - 78 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET CHANNEL Function This command is used to check the channel that is set in the Reader/Writer.
7 Modbus/TCP Communications SET GEN2 SESSION Function This command sets the Gen2 session for the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Set S2 as the Gen2 Session for the Reader/Writer TX: 000000000009FF10C3000001020002 RX: 000000000006FF10C3000001 7-6 V780 Command Details 7 7-6-6 Reader/Writer Setting Commands: Communications Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 81
7 Modbus/TCP Communications GET GEN2 SESSION Function This command is used to check the Gen2 session that is set in the Reader/Writer.
7 Modbus/TCP Communications SET ACCESS PASSWORD Function This command sets the access password for RF Tag communications of the Reader/Writer. Command Format Byte-0 Byte-1 Transaction identifier X Byte-12 Byte-2 Byte-6 Byte-7 Protocol identifier Field length Unit identifier Function code Register address Word count 0000 hex 000B hex FF hex 10 hex C400 hex 0002 hex X Byte-13 ...
7 Modbus/TCP Communications Execution Examples Execution to Set the Reader/Writer Access Password to “12345678 hex” TX: 00000000000BFF10C40000020412345678 RX: 000000000006FF10C4000002 7 - 84 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET ACCESS PASSWORD Function This command reads the access password that is set for RF Tag communications in the Reader/Writer.
7 Modbus/TCP Communications SET RF TAG SELECTION FILTER CONDITIONS Function This command sets the RF Tag selection filter conditions for the Reader/Writer. Command Format Byte-0 Byte-1 Byte-2 Transaction identifier X Byte-12 Byte-6 Byte-7 Protocol identifier Field length Unit identifier Function code Register address Word count 0000 hex 002D hex FF hex 10 hex C500 hex 0013 hex X Byte-13 Byte-3 Byte-14 Byte-4 Byte-15 Byte-5 Byte-16 Byte-17 Byte-18 Byte-8 Byte-19 Byte-9 .
7 Modbus/TCP Communications Parameter Register address Word count Description The register address from the command is set. The word count from the command is set.
7 Modbus/TCP Communications GET RF TAG SELECTION FILTER CONDITIONS Function This command reads the RF Tag selection filter conditions that are set in the Reader/Writer.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications SET RSSI FILTER CONDITIONS Function This command sets the RSSI filter conditions for the Reader/Writer.
7 Modbus/TCP Communications Parameter Exception code Description For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications GET RSSI FILTER CONDITIONS Function This command is used to check the RSSI filter conditions that are set in the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution When RSSI Filter Conditions for the Reader/Writer Are Enabled with the Following Settings High threshold: -40 dBm (FFD8 hex), Low threshold: -64 dBm (FFC0 hex) TX: 000000000006FF03C6000003 RX: 000000000009FF03060001FFD8FFC0 7-6 V780 Command Details 7 7-6-6 Reader/Writer Setting Commands: Communications Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 93
7 Modbus/TCP Communications SET TRANSMISSION TIME Function This command sets the time to stop the transmission power.
7 Modbus/TCP Communications Parameter Exception code Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications GET TRANSMISSION TIME Function This command is used to check the transmission times that are set in the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution When the Following RF Transmission Times Are Set in the Reader/Writer Stop time: 10 ms (000A hex), Continuous transmission time: 400 ms (0190 hex) TX: 000000000006FF03C7000002 RX: 000000000007FF0304000A0190 7-6 V780 Command Details 7 7-6-6 Reader/Writer Setting Commands: Communications Settings UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 97
7 Modbus/TCP Communications 7-6-7 Reader/Writer Setting Commands: Device Settings SET OPERATION INDICATOR CUSTOM CONDITIONS Function This command sets the colors of the NORM/ERR indicators during command execution.
7 Modbus/TCP Communications Precautions for Correct Use If you set all of the conditions to “Do not flash,” the NORM/ERR indicators will not light at all even during operation in Focus Mode.
7 Modbus/TCP Communications GET OPERATION INDICATOR CUSTOM CONDITIONS Function This command is used to check the NORM/ERR indicator lighting colors for communications results that are set in the Reader/Writer.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications 7-6-8 Maintenance Commands: Device Information GET MODEL INFORMATION Function This command is used to check the model number of the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Read the Model Number When a V780-HMD68-ETN Reader/Writer Is Being Used TX: 000000000006FF03D0000010 RX: 000000000023FF0320563738302D484D4436382D45544E0000000000000000000000000000000 00000 7-6 V780 Command Details 7 7-6-8 Maintenance Commands: Device Information UHF RFID System V780-series Reader/Writer User’s Manual (Z389) 7 - 103
7 Modbus/TCP Communications GET FIRMWARE VERSION Function This command reads the firmware version of the Reader/Writer.
7 Modbus/TCP Communications Parameter Exception code Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7. Execution Examples Execution with the Following Firmware Versions in the Reader/Writer Run Mode program version: 1.2.3, Safe Mode program version: 1.2.
7 Modbus/TCP Communications GET MAC ADDRESS Function This command is used to check the MAC address from the Reader/Writer.
7 Modbus/TCP Communications GET OPERATING STATUS Function This command is used to check the operating status from the Reader/Writer.
7 Modbus/TCP Communications Parameter Exception code Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications GET TIME INFORMATION Function This command is used to check the time information from the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution When the Time Information in the Reader/Writer Is 09:30:10 TX: 000000000006FF03D4000002 RX: 000000000007FF030400091E0A 7 - 110 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications SET TIME INFORMATION Function This command sets the time information in the Reader/Writer. When the Reader/Writer is restarted, the time information is reset. (All zeros will be set for the actual time flag, hour, minutes, and seconds.
7 Modbus/TCP Communications Execution Examples Execution to Set the Time Information in the Reader/Writer to 09:30:10 TX: 00000000000BFF10D40000020400091E0A RX: 000000000006FF10D4000002 7 - 112 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications 7-6-9 Maintenance Commands: Log Information GET SYSTEM ERROR LOG Function This command is used to check the log of system errors that have occurred in the Reader/Writer. The system error log is retained even when the Reader/Writer is restarted.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Field length Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Parameter Exception code Byte-3 Byte-4 Byte-5 Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications CLEAR SYSTEM ERROR LOG Function This command clears the log of system errors (fatal errors) that is stored in the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution to Clear the System Error Log in the Reader/Writer TX: 000000000009FF10D7000001020000 RX: 000000000006FF10D7000001 7 - 116 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET COMMAND ERROR LOG Function This command is used to check the log of command errors that have occurred in the Reader/Writer. The command error log information is cleared when the Reader/Writer is restarted.
7 Modbus/TCP Communications Parameter --Newest record 1 in the command error log ... ... Newest record -7 --in the command error log Description --- ...
7 Modbus/TCP Communications GET MOST RECENT COMMAND ERROR INFORMATION Function This command is used to check the most recent command error information from the Reader/Writer. The most recent command error information is cleared when the Reader/Writer is restarted.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications 7-6-10 Maintenance Commands: RF Communications Information GET RF TAG ADDITIONAL INFORMATION Function This command us used to check the attached information (i.e., the EPC code and reception level) that resulted from communications for a single-access command with the immediately preceding RF Tag. If communications for the immediately preceding single-access command ended in an error, attached information of 00 hex will be returned.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 83 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications GET NOISE LEVEL Function This command measures the ambient noise level around the Reader/Writer.
7 Modbus/TCP Communications Execution Examples Execution When the Reader/Writer Measures the Following Noise Levels Channel 1 noise level: -40 dBm (FFD8 hex), Channel 2 noise level: -77 (FFB3 hex), … , Channel 15 noise level: -77(FFB3 hex) TX: 000000000006FF03DB00000F RX: 000000000021FF031EFFD8FFB3…FFB3 7 - 124 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)
7 Modbus/TCP Communications GET COMMUNICATIONS DIAGNOSTIC INFORMATION Function This command gets the most recent communications diagnostic information.
7 Modbus/TCP Communications Parameter Byte count Most recent communications diagnostic information Time information Command code Error code Diagnostic results Description The number of bytes in the most recent communications diagnosis information (5C hex) Gives the time information in 8-digit hexadecimal (actual time flag, hour, minutes, and seconds). Gives the command code in 8-digit hexadecimal. For details, refer to Exception Code on page 7-7 under Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications • Error Response Byte-0 Byte-1 Transaction identifier X X Parameter Exception code Byte-2 Byte-6 Byte-7 Byte-8 Protocol identifier Byte-3 Byte-4 Field length Byte-5 Unit identifier Function code Exception code 0000 hex 0003 hex FF hex 90 hex 1 byte Description For details, refer to Exception Code on page 7-7 under 7-2-3 Response Format for Error Completion on page 7-7.
7 Modbus/TCP Communications 7 - 128 UHF RFID System V780-series Reader/Writer User’s Manual (Z389)