User manual Gateway component Modbus TCP PR100088 • 1/17/2019
Table of Contents KUNBUS Table of Contents 1 General Information ........................................................................................................................ 3 1.1 Disclaimer.................................................................................................................................. 3 1.2 Notes Regarding this User Manual............................................................................................ 3 1.3 Validity ...............................
General Information 1 General Information 1.1 Disclaimer © 2019 KUNBUS GmbH, Denkendorf (Deutschland) The contents of this user manual have been compiled by KUNBUS GmbH with the greatest possible care. Due to technical developments, KUNBUS GmbH reserves the right to change or exchange the contents of this user manual without prior notice. You can always obtain the latest version of the user manual from our homepage: www.kunbus.
This document describes the application of the KUNBUS Gateway with the product number: – PR100088, Release 00 – PR100088, Release 01 1.4 Limitation of Liability Warranty and liability claims will lapse if: – the product has been used incorrectly, – damage is due to non-observance of the operating manual, – damage is caused by inadequately qualified personnel, – damage is caused by technical modification to the product (e.g. soldering). 1.
Safe Use 2 Safe Use 2.1 User The Gateway may only be assembled, installed and put into operation by trained, qualified personnel. Before assembly, it is absolutely essential that this documentation has been read carefully and understood. Expertise in the following fields is assumed: – electronic circuits, – basic knowledge of Modbus TCP, – work in electrostatic protected areas, – locally applicable rules and regulations for occupational safety. 2.
Safe Use 2.3 Data safety Please note that Gatewayis not suitable for use in unprotected networks (e.g. the Internet). Use Gateway in a secured network: . ◦ Seal off your network so that no direct access via the Internet is allowed. ◦ Immediately change the default password for the web server. You can find out how to do this in the chapter "Changing the password". Select a secure new password. ◦ Check our website regularly for the latest software security alerts and updates for your product.
Overview 3 Overview 3.1 Functionality The KUNBUS Gateway is a protocol converter. It allows communication between networks with different protocols. Illustration 1: Functionality as a slave A Gateway consists of 2 gateway components that master one specific protocol each. You can combine these gateway components as you wish. This design offers you a high degree of flexibility, since you can exchange the individual gateway components at any time.
Overview In addition, you can combine the gateway components with the RevPi Core. 3.2 Control Elements Front view 1 2 3 Illustration 2: Front view 1 2 3 Gateway component ModbusTCP Status LEDs Coding switch 8-pin DIP switch for setting the IP address. Fieldbus connection RJ45 socket for the connection to the fieldbus (2 sockets in all, s.
Overview Top view 1 2 3 Illustration 3: Top view 1 2 3 Gateway component ModbusTCP Fieldbus connection RJ45 socket for the connection to the fieldbus (total 2 pieces, see picture front view) Interconnect ports for connecting the gateway components to each other Locking clamp for secure fastening of the gateway component on the top-hat rail 9 / 30
Overview Bottom view 1 2 Illustration 4: Bottom view 1 2 Gateway component ModbusTCP Power supply with 24 V supply voltage Locking clamp for secure mounting of the gateway component on the top-hat rail 10 / 30
Overview 3.3 Status LEDs The signals of the status LEDs for Modbus TCP have the following meaning: LED designation Signal Power off blinks, green on, green flashes, red MS NS on, red off blinks, green on, green off blinks, green on, green L/A 1 + 2 off green blinks, green Gateway component ModbusTCP Meaning Gateway component not running Initialization phase not yet completed Operational Correctable error (e.g.
Installation 4 Installation 4.1 Preparations for Trouble-free Operation In the following section we have compiled some general information for you that is important for trouble-free operation. If you are already acquainted with this topic, you can skip to the next section. There, you will learn about which conditions are necessary for installing the gateway. Cable routing Route your cables separately in cable groups. This will protect your gateway from any unintended electromagnetic interferences.
Installation To prevent malfunctions, you have to route an equipotential equalization conductor. When doing so, bear in mind the following points: – Select an equipotential equalization conductor with low impedance.
Installation 4.2 Requirements The Gateway was designed for use in a control cabinet. ü The protection class of the control cabinet must be equivalent to at least IP54. ü For installation in the control cabinet you need a DIN rail 35 x 7.5 mm (EN50022). ◦ Install the DIN rail horizontally in the control cabinet according to the manufacturers' specifications. When doing so, make sure that the Gateway is at a sufficient distance from other devices.
In order to attain a fully functional gateway, you have to interconnect both gateway components. ◦ Connect an interconnect port to each gateway component using the plug-in jumper provided. Illustration 6: Connecting gateway components ð You can now install the gateway in the control cabinet. NOTICE Only ever interconnect 2 gateway components. If you connect additional components, severe defects could result on all devices. Gateway component ModbusTCP 15 / 30 Installation 4.
◦ Hold the raster element of the gateway on the DIN rail. ◦ Press down the locking elements towards the gateway. ◦ Make sure that the gateway is firmly attached to the DIN rail. Gateway component ModbusTCP 16 / 30 Installation 4.
To connect the gateway component to the power supply, you need a spring-loaded terminal (e.g. Metz-Connect SP995xxVBNC). You have to connect each gateway component separately to a power supply. Never interconnect functional earth and GND, otherwise the galvanic isolation between gateway GND and fieldbus ground will be removed. Instead, connect the functional earth with low impedance to the potential equalization.
To connect the gateway component to Modbus TCP, you need Two RJ45 connectors. The pin assignment complies with the Ethernet standard. Gateway component ModbusTCP 18 / 30 Installation 4.
Configuration 5 Configuration 5.1 Supported size of Process Data The gateway component for Modbus TCP supports process data up to a length of 512 bytes per direction. Bear in mind that the maximum length of the process data is always determined by the fieldbus with the shorter data length. NOTICE 5.2 Address Assignment Set IP address With the 8-pole address switch you can set the IP address of the Gateways. You can set values in binary format between 0-255.
Modbus TCP - Addresses and access functions Memory areas Predefined memory areas are available for addressing the process data. Optionally, you can access the input and output data areas bit by bit (using coils) or word by word.
Write Timeout Read/Write Holding 4108/0x100c Reset Read/Write Holding The Write-Timeout function is active if this register contains a value > 0. It indicates the time interval at which at least one of the output registers must be written. As soon as the time has passed since the last write, all output registers are set to the default value 0.. Restarts the gateway component if 0x4b42 is written here. *Input and holding registers are not distinguished. They can be read via function code 0x04.
6.1 FTP-Server The FTP server is necessary to update HTML files of the web server and to transfer firmware updates to the module. You can access the FTP server from user level 2. The same credentials are valid as for the web server. The "Level" is defined in the file "password.xml". You can find out how to do this in the section „Logging on to the web server“. [} 22] Web server files The files for the web server can be found in the subfolder "Web"“. 6.2 Webserver The Gateway has a web server.
Integrated servers Create user To be able to check and manage login data, you must create a file named "password.xml" in the main directory of the module. In this file, define the following 3 XML elements for each user: – , – , – . X represents a digit between 0 and 9. Assign a digit to each user. Make sure that the digit is not already used for another user. User name and password may consist of up to 20 characters. Spaces are allowed.
The following pages describe how to install a firmware update on a gateway component with a web server. We use the program "WinSCP" for this purpose: However, you can also use another FTP program for this purpose.. Conditions: ü Your gateway is on your network. ü The network interface is correctly configured. ü You have installed an FTP program on your PC. ◦ Open your FTP program. ◦ Click on "New connection destination"..
Password for the web server. The following password is used on delivery: „1701“ Safe For reasons of data security, we recommend that you change your password as quickly as possible and do not continue to use the stored values. You can change your password via the web server. You can optionally save these settings. This allows you to access the gateway component more quickly via FTP in the future.
Integrated servers ◦ Select in the kfu file from your local resources (window 1). ◦ Drag and drop the kfu file into the root directory of your gateway component (window 2). The following window opens: ◦ Click on ok.
Integrated servers The update file will now be copied. After successful copying, the file appears in the root directory of the gateway component.. ◦ Restart the gateway component.
Integrated servers ◦ Log on to the web server. Here you can check whether the software version has changed.
Technical Data 7 Technical Data 7.1 Technical Data Dimensions Width Height Depth Weight 22.5 mm 96 mm 110.4 mm 90 g Electrical data Power supply 24 V DC Power consumption during operation 100 mA (cyclical data exchange) Status display LED Environmental conditions Ambient temperature Storage temperature Humidity Condensing Protection class 0 – 60 °C - 25 – 60 °C 93% (at 40 °C) Not allowed Control cabinet IP54 Housing IP20 Terminal area IP20 Assembly data DIN rail Height Depth 35 x 7.
Technical Data Illustration 7: Side dimensions Illustration 8: Front dimensions Gateway component ModbusTCP 30 / 30