Modbus rtu master to modbus tcp gateway/server (16 pages)
Summary of Contents for Seneca Z-KEY MBUS
Page 1
USER MANUAL Z-KEY MBUS R-KEY MBUS MODBUS (TCP-IP / RTU) TO M-BUS (METER BUS) GATEWAY SENECA S.r.l. Via Austria 26 – 35127 – Z.I. - PADOVA (PD) - ITALY Tel. +39.049.8705355 – 8705355 Fax +39 049.8706287 www.seneca.it ORIGINAL INSTRUCTIONS...
Page 2
Set-up must be performed only after correct installation and the user must follow all the operations described in the installation manual carefully. Seneca is not responsible for failures, breakages and accidents caused by ignorance or failure to apply the stated requirements.
Page 3
13/03/2023 Aligned the chapter “MAPPING OF THE TAG AREA (HOLDING REGISTERS)” with the firmware 110 revision. This document is the property of SENECA srl. Copies and reproduction are prohibited unless authorised. www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
MODBUS REGISTER MAPPING ................25 MAPPING OF THE TAG AREA (HOLDING REGISTERS) ....................26 MAPPING OF THE DIAGNOSTIC AREA (HOLDING REGISTERS) ..................29 RESETTING TO FACTORY CONFIGURATION ............30 www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 4 BE REPRODUCED WITHOUT PRIOR PERMISSION.
Modbus RTU or Modbus TCP-IP protocols (Holding Register-type registers). Seneca devices can be connected to a maximum of 25 M-BUS devices and can manage up to 500 M-BUS variables (tags) (since an M-BUS variable can occupy up to 2 Modbus registers, the device makes available up to 1000 Modbus registers (to which 32 Modbus diagnostic registers must be added).
Page 6
Z-KEY-MBUS User Manual R-KEY-MBUS Below are the connection configurations working simultaneously for both models: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 6 BE REPRODUCED WITHOUT PRIOR PERMISSION.
Ethernet 100 baseT RJ45 front Configuration Through integrated Webserver Industrial communication protocol Modbus TCP-IP server (max 8 simultaneous clients) Ethernet device search Through Seneca Discovery software Factory address Static address 192.168.90.101 RS485/RS232 SERIAL COMMUNICATION PORTS (Z-KEY-MBUS ONLY) Number of ports Type...
MODBUS RTU Master (via RS232 or RS485) ▪ ▪ MODBUS TCP-IP Client (via Ethernet) The following example is related to Z-KEY-MBUS but is interchangeable with R-KEY-MBUS: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 8...
▪ Practically all SCADAs support these protocols. Virtually there are no limits to the number of Z/ R-KEY-MBUS gateways that can be connected to a SCADA: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 9 BE REPRODUCED WITHOUT PRIOR PERMISSION.
STEP 1: POWER AND CONNECT THE ETHERNET PORT STEP 2: SENECA DISCOVERY DEVICE SOFTWARE INSTALLATION Download (from the Seneca website in the Z/R-KEY-MBUS section) the Seneca Discovery Device software. STEP 3: SEARCH FOR THE DEVICE Run the software and press the “SCAN” button: the software will search for the Ethernet devices in the network.
Page 11
THE WEB BROWSERS WHICH HAVE BEEN TESTED FOR COMPATIBILITY WITH THE DEVICE WEBSERVER ARE: MOZILLA FIREFOX AND GOOGLE CHROME. THEREFORE, THE OPERATION WITH OTHER BROWSERS IS NOT GUARANTEED www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 11 BE REPRODUCED WITHOUT PRIOR PERMISSION.
Access to the web server takes place using a web browser and entering the IP address of the device. To find out the IP address of the device, use the "search" function of the "Seneca Discovery Device" software (see chapter 4).
It is the section that allows adding/modifying the tags (that is the variables) of the M-bus devices connected to the gateway. Update It is the section that allows updating the firmware and database for the manual addition of the M-BUS meters. www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 13 BE REPRODUCED WITHOUT PRIOR PERMISSION.
50 tags per page maximum can be displayed, the maximum number of pages is 10. Some basic information among which the device interrogation loop time is displayed in the top part of the page. www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
RESPONSE MODE WHEN RESOURCE IN FAIL (default: EXCEPTION) Selects what answer to give if the M-BUS meter connected does not answer the requests. It is possible to choose between: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
Page 16
Sets the communication port for the web server. IP CHANGE FROM DISCOVERY (default: Enabled) Selects whether or not the device accepts the IP address change from the Seneca Discovery Device software. PORT #1 SLAVE MODBUS ADDRESS (default: 1) Selects the Modbus slave station address of COM #1 port (on IDC10 connector for Z-KEY-MBUS, on terminal for R-KEY-MBUS).
M-BUS DEVICE It can be saved to a file this way: Go to the Setup section and select the file to save, press the "Save config" button www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 17 BE REPRODUCED WITHOUT PRIOR PERMISSION.
M-BUS DEVICE It can be imported from a file this way: Go to the Update section and select the file to load, press the "Load config" button www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 18 BE REPRODUCED WITHOUT PRIOR PERMISSION.
It is possible to delete all the tags related to a device by deleting the device from the list of devices. REPLACEMENT OF AN M-BUS DEVICE It is also possible to change the address (for example in case of replacement) using the "MODIFY" button: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
If you only want to insert the device without the tags, press the "APPLY WITHOUT DATA POINTS SELECTED" button If you only want to insert both the device and the selected tags, press the "APPLY WITH DATA POINTS SELECTED" button www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 20 BE REPRODUCED WITHOUT PRIOR PERMISSION.
As devices are found they appear on the screen, for example: The scan remains saved in the flash memory of the device until a new scan is requested. www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
Once the bus has been scanned, it can be added to the list of M-BUS devices by selecting it from the list and pressing the "Add Selected Device" button: At this point you can choose which device tags to add to the Z/R-KEY-MBUS device: www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
It is possible to delete all the tags related to a device by deleting the device itself from the list in the M- BUS Devices section. “UPDATE” SECTION www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev.
Z-KEY-MBUS User Manual R-KEY-MBUS FIRMWARE UPDATE In order to improve, add, optimize the functions of the product, Seneca releases firmware updates on the device section on the www.seneca.it website Then select the new firmware file and press the "Update firmware" button...
REGISTER 49001 (4x 9001) (offset 9000) DIAGNOSTIC AREA START …. … REGISTER 49032 (4x 9032) (offset 9031) DIAGNOSTIC AREA END www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 25 BE REPRODUCED WITHOUT PRIOR PERMISSION.
MAPPING OF THE TAG AREA (HOLDING REGISTERS) Measurement variables from M-BUS are converted into tags accessible from the Modbus bus. The Seneca product will add the new tags in the area as new M-BUS devices or new tags are entered.
Page 27
REGISTER n+1 Least significant part 32-BIT UNSIGNED INTEGER DATA TYPE RANGE 0 / +4294967295 NUMBER OF HOLDING REGISTER MODBUS REGISTERS www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 27 BE REPRODUCED WITHOUT PRIOR PERMISSION.
Page 28
For online conversion tools, refer to the website: https://www.h-schmidt.net/FloatConverter/IEEE754.html DATE/TIME DATA TYPE RANGE 01/01/2000 / 31 December 2127 NUMBER OF HOLDING REGISTER MODBUS REGISTERS www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 28 BE REPRODUCED WITHOUT PRIOR PERMISSION.
… 49031 4x9031 9031 DIAGNOSTIC TAG 481..496 UNSIGNED 16 BIT 49032 4x9032 9032 DIAGNOSTIC TAG 497..500 UNSIGNED 16 BIT www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 29 BE REPRODUCED WITHOUT PRIOR PERMISSION.
When the device is switched on again, it will start with its factory configuration. ATTENTION! In some models there are 4 dip switches, in this case dip switches 3 and 4 must ALWAYS be kept in the "OFF" state www.seneca.it ALL RIGHTS RESERVED. NO PART OF THIS PUBLICATION MAY Doc: MI-00592-IT Rev. 1 Page 30 BE REPRODUCED WITHOUT PRIOR PERMISSION.
Need help?
Do you have a question about the Z-KEY MBUS and is the answer not in the manual?
Questions and answers