Table of Contents

Advertisement

RESI®
Date:
RESI
Version:
Informatik &
Edited by:
Automation
Reviewed by:
GmbH
Reviewed by:

RESI-KNX-MODBUS

RESI-KNX-ASCII

Great care has been taken in the creation of the text, illustrations and
program examples in this manual. The editors and publishers accept
no responsibility for any inadvertent omission of entries or for
typographical or other errors herein. Nor can they be held responsible
or liable for consequences arising from any errors herein.
This manual is subject to copyright law. All rights are reserved.
This manual may not be copied in part or whole in any form including
electronic media without the written consent of RESI. Neither may it be
transferred in any other language suitable for machines or data
processing facilities. Also rights for reproduction through lecture, radio
This documentation and the accompanying software are copyrighted
© Copyright 2005 – 2019 by RESI Informatik & Automation GmbH
12.12.2018
Customer:
02.00
Title:
DI HC Sigl, MSc
DI HC Sigl, MSc
Project:
-

RESI-KNX-ETH

or television transmission are reserved.
by RESI.
RESI-KNX-xxx manual
Pages
60

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RESI-KNX-MODBUS and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Resi RESI-KNX-MODBUS

  • Page 1: Resi-Knx-Modbus

    This manual is subject to copyright law. All rights are reserved. This manual may not be copied in part or whole in any form including electronic media without the written consent of RESI. Neither may it be transferred in any other language suitable for machines or data processing facilities.
  • Page 2: History

    Editor Description 13.01.10 DI HC Sigl Initial release 05.05.15 DI HC Sigl Correction to the query group function 22.09.15 DI HC Sigl First version for KNX-MODBUS and KNX-ASCII 12.12.18 DI HC Sigl Adding RESI-KNX-ETH Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 3: Table Of Contents

    1 HISTORY ................................2 2 CONTENT ................................3 3 IMPORTANT SECURITY NOTES ........................5 4 GENERAL INFORMATION..........................7 5 TECHNICAL DATA FOR RESI-KNX-MODBUS AND RESI-KNX-ASCII ............8 6 TECHNICAL DATA FOR RESI-KNX-ETH ......................9 7 MOUNTING AND CONNECTIONS ........................10 ............................10...
  • Page 4 RAWING OF THE MODULES 11.3 RESI-KNX-ETH..................51 IMENSIONS OF THE MODULE 11.4 3D D RESI-KNX-ETH ..................52 RAWING OF THE MODULE 12 RESI-XXX-ETH OPERATION MODES ......................53 13 RESI-XXX-ETH WEB CONFIGURATION ...................... 54 13.1 ........................55 OWTO SETUP ADDRESS 13.2 ......................56 OWTO CHANGE SOCKET NUMBER 13.3...
  • Page 5: Important Security Notes

     Operating our device close to equipment, which do not comply with EMC directives, can influence the functionality of our device, leading to malfunction or in worst case to a breakdown of our device! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 6  Dimensions of the enclosures or enclosures accessories may show slight tolerances on the specifications provided in these instructions!  Modifications of this documentation is not allowed!  In case of a complaint, only complete devices returned in original packing will be accepted! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 7: General Information

    RESI® 4 General Information With the RESI-KNX-MODBUS, RESI-KNX-ASCII gateways, the KNX can be integrated in almost every system with a RS232 or RS485 interface and a MODBUS/RTU master protocol or serial ASCII text based protocol. The RESI-KNX-ETH gateway offers an integration with MODBUS/TCP server protocol over Ethernet.
  • Page 8: Technical Data For Resi-Knx-Modbus And Resi-Knx-Ascii

    RESI® 5 Technical data for RESI-KNX-MODBUS and RESI-KNX-ASCII Technical data Power supply 12…48 V= +/-10% Supply voltage Storage temperature -20...85 °C Power LED indicator Operation 0...60°C temperature Power consumption <0.5W Humidity 25...90 % rH not condensing Protection class IP20 (EN 60529) Dimensions LxWxH 17.5mm x 90mm x 58mm...
  • Page 9: Technical Data For Resi-Knx-Eth

    RESI® 6 Technical data for RESI-KNX-ETH Technical data Power supply 12…48 V= +/-10% Supply voltage Storage temperature -20...85 °C Power LED indicator Operation 0...60°C temperature Power consumption <1.1W Humidity 25...90 % rH not condensing Protection class IP20 (EN 60529) Dimensions LxWxH 35.8mm x 90mm x 58mm...
  • Page 10: Mounting And Connections

    7 Mounting and Connections Assembling Our RESI-KNX-xxx gateways are designed for mounting on a 35mm DIN-EN50022 rail. Please note, that there are symbol photos used in the mounting pictures below. At first, put the gateway with the top side on the DIN rail (1).
  • Page 11: Clamps And Leds For Resi-Knx-Modbus And Resi-Knx-Ascii

    KNX connection has an error KNX activity LED, this LED is on while the gateway send or receives KNX telegrams HOST HOST-LED, flashes, when host sends/receive telegrams Table: Description of connectors and LEDs of the RESI-KNX-MODBUS/RESI-KNX-ASCII gateway Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 12: Dip Switch Settings For Resi-Knx-Modbus And Resi-Knx-Ascii

    RESI® DIP switch settings for RESI-KNX-MODBUS and RESI-KNX-ASCII Baudrate DIP Switch #1 Baudrate DIP Switch #2 Interface RS232-RS4895 Function Definition Illustration: Description of the DIP switch settings and LED status displays DIP Switch RESI-KNX-MODBUS/RESI-KNX-ASCII Baudrate Use DIP Switches 1+2 to select baud rate:...
  • Page 13: Clamps And Leds For Resi-Knx-Eth

    LINK This LED is on if Ethernet port is connected correctly to network DATA The LED shows the data flow on the Ethernet port Table: Description of connectors and LEDs of the RESI-KNX-ETH gateway Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 14: Dip Switch Settings For Resi-Knx-Eth

    RESI® DIP switch settings for RESI-KNX-ETH Function FUNC1 Function FUNC2 Mode MODE Factory reset Illustration: Description of the DIP switch settings and LED status displays DIP Switch RESI-KNX-ETH Function ON: while restarting the module, the module switches to static IP...
  • Page 15: Wiring Diagram For Resi-Knx-Modbus, Resi-Knx-Ascii

    RESI® Wiring diagram for RESI-KNX-MODBUS, RESI-KNX-ASCII Illustration: wiring diagram of gateway Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 16: Wiring Diagram For Resi-Knx-Eth

    RESI® Wiring diagram for RESI-KNX-ETH Ethernet Power 12-48Vdc Illustration: wiring diagram of gateway Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 17: Configuration With Resi Modbusconfigurator Software

    Download our free software from our homepage www.RESI.cc and install it on your computer. Establish a connection to serial modules Establish a connection between the module and our software tool RESI MODBUSConfigurator. If this is successful, you get the following screen: Date Page...
  • Page 18: Establish A Connection To Ethernet Modules

    Establish a connection between the module and our software tool RESI MODBUSConfigurator. Insert the module RESI-KNX-ETH into your project. Define your IP address and socket. Test the connection with the button Test connection. If this is successful, you get the following screen:...
  • Page 19: Basic Functions

    MODBUS interval: This is for future use and defines the time interval in seconds to request KNX data from the KNX bus automatically. At the moment this feature is not used.  KNX group: this defines the KNX group address, which is used to send/receive KNX data for this MODBUS registers. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 20 It is only stored on the PC if you save your project. If you upload a configuration from a gateway into the software, this comment is lost! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 21: The Context Menu

    If you right click into the table, a local context menu will appear with the following entries: Context menu: Add entry Entry “Add entry…”: If you select this item, a new empty configuration line is added to the configuration list. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 22: Context Menu: Delete Selected Lines

    Entry “Insert entry…”: First select one or more lines. Then choose this function from the local context menu. The system now inserts a new configuration line directly after each selected line in the configuration. The result will be like this: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 23: Context Menu: Copy Entry

    The starting index of the MODBUS register of the first selected line is used for the first entry. The next lines are renumbered depending on the MODBUS datatype of each line. The result will look like this: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 24: Context Menu: Renumber Knx Groups

    If you answer the above question with YES, the system sorts the select line using the MODBUS address as a sort key in ascending order. The result will look like this: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 25: Context Menu: Sort Knx Group

    Enter a valid MODBUS register index and press the OK button. The system will now select all lines, in which the MODBUS register matches the entered number. The result will look like this: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 26: Context Menu: Find Knx Group

    Enter a text part of the desired comment and select the OK button. The system will mark all lines, in which a text part of the comment matches to the entered text. The result will look like this: Another example: The result looks like: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 27: Context Menu: Edit Entry

    The edit areas will disappear. HINT: Don’t forget, that you must download the new configuration to the gateway, before the changes are used by the converter! Here is a zoom into the edit area: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 28 SIXTH byte 3: SEVENTH and EIGHT byte 64 bits 0: FIRST and Currently unused STRING 4 register SECOND byte 1: THIRD and FOURTH byte 2: FIFTH and SIXTH byte 3: SEVENTH and EIGHT byte Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 29 Defines a 32 bit signed integer value in the range of −2.147.483.648 to +2.147.483.647or 32 bits SINT32 0x80000000 to 0x7FFFFFFF 16 bits Defines a 16 bit float value with a 4 bit exponent and a 12 bit mantissa. FLOAT16 Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 30 24 bits Defines a 24 bit value encoded a date information in the following way: DATE 64 bits Defines a 64 bit value encoded a date and time information in the following way: DATETIME Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 31 Field “Comment”: Enter a comment to explain your KNX MODBUS mapping for documentation purpose. Note that the comment in only stored onto the PC, not in the gateway. So if you upload a configuration from the gateway, you will lose all comments. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 32: Testing The Configuration

    MODBUS write command for all necessary registers, depending on the configured MODBUS datatype of the line. Immediately after receiving all MODBUS registers, the converter will send out the corresponding KNX telegram onto the KNX bus, if KNX write is allowed. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 33: Sample Configurations

    Using a KNX actuator with four outputs, e.g. an ABB KNX actuator, is also very simple. Assuming the following KNX group addresses for the four outputs. All of them expect a KNX telegram with bit data. 1.7.10 1.7.12 1.7.11 1.7.13 Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 34: Reading Analogue Knx Values

    That’s the reason, why the first value uses the index 4x1 and the second index uses the index 4x3. So this configurations uses four MODBUS registers with the indices 4x1, 4x2, 4x3 and 4x4. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 35 So the MODBUS register 4x5 stores the value 236 if the current temperature 23.66 is received from the KNX bus. You will also notice, that you can configure more than one line with the same KNX group address, but different MODBUS mappings. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 36: Functional Description

    The RESI-KNX-MODBUS and RESI-KNX-ASCII gateways communicate with a host system with the MODBUS/RTU slave protocol. The RESI-KNX-ASCII version of the module offer an additional protocol: An ASCII slave protocol with simple text string. The communication runs over a RS485 interface (half duplex) or over a RS232 interface (full duplex).
  • Page 37: Communication Sequence

    With broadcast address in decimal and long version:  #0,VERSION  #0,VERSION:3.0.0 With broadcast address in hexadecimal and short version:  #0x00,VER  #0x00,VERSION:3.0.0 With bus address 255 in decimal:  #255,VER  #255,VERSION:3.0.0 Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 38: Request Module Type

    Host long version: #TYPE<CR> or #<ADR>,TYPE<CR> Host short version: #TYP<CR> or #<ADR>,TYP<CR> Answer: #TYPE:<TYP><CR> or #<ADR>,TYPE:<TYP><CR> <TYP> defines the current type of the module. Currently RESI-KNX-ASCII Samples:  #TYPE  #TYPE:RESI-KNX-ASCII  #255,TYP  #255,TYPE:RESI-KNX-ASCII Date Page RESI-KNX-xxx manual Title:...
  • Page 39: Table Of All Ascii Commands

    Returns the owner of the module Host #<BusAdr>,CRE #<BusAdr>,CREATOR Answer #<BusAdr>,CREATOR:DI HC SIGL,MSC Returns the creator of the module Host #<BusAdr>,COPY #<BusAdr>,COPYRIGHT Answer #<BusAdr>,COPYRIGHT:2015 BY RESI AND DI HC SIGL,MSC WWW.RESI.CC Returns a copyright note about the module Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 40 Adds a line to the configuration table AddConfigurationLine See the explanation below for more details Index The number of the new added configuration line in the range of 1..n. ErrorText A text which describes the error in detail Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 41 The number of the requested configuration line in the range of 1..n, where n is the last line of the current converter table. FloatValue The new value for the MODBUS registers formatted as a float number Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 42: The Configuration Line

    <BusAdr> stands for the current MODBUS bus address of the module as a decimal number e.g. 255 <Index> stands for the Index in the configuration table starting with 1 and ending with n according to the actual size of the configuration table size as a decimal number. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 43 <Factor> is a float value defining the multiplication factor for incoming KNX telegrams and the division factor for outgoing KNX telegrams. Use the float format 1234.567. Don’t use a comma as a comma sign! Here is a cut-out of a real configuration from a terminal program: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 44 RESI® Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 45: The Add Configuration Line

    <Factor> is a float value defining the multiplication factor for incoming KNX telegrams and the division factor for outgoing KNX telegrams. Use the float format 1234.567. Don’t use a comma as a comma sign! A simple example for a valid ADD CONFIG command: #AC:1,UINT16,0,1.0.0,BIT,READ,1.0 #255,AC:0,UINT16,0,1.0.1,FLOAT16,RW,1.0 Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 46: Modbus - Register Description

    But it is only one possibility, that we store the high word in the first MODBUS register. With the same right, we can define to store the low word in the first register, and the high word in the second. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 47 MODBUS register. This means the value 0x999A is stored here. 4x00011 The high word of the 32 bit float value 0x41BB999A is stored in the second 16 bit I:10 wide MODBUS register. This means the value 0x41BB is stored here. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 48 The result is 23.407097. This is not far away from the original number of 23.532095! So this massive software error can be undiscovered for a long time. Only if the reverse float value generates numbers which are physically not possible for the measured signal, this error is discovered! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 49: Specifications

    RESI® 11 Specifications 11.1 Dimensions of the modules RESI-KNX-MODBUS, RESI-KNX-ASCII Illustration: dimension illustration in mm Dimensions Enclosure dimensions L x W x H (mm) 17.5 x 90 x 58 Weight 55 g Colour Grey RAL7035 Material PA - UL 94 V0...
  • Page 50: Drawing Of The Modules Resi-Knx-Modbus, Resi-Knx-Ascii

    RESI® 11.2 3D Drawing of the modules RESI-KNX-MODBUS, RESI-KNX-ASCII Illustration: Dimension illustration in 3D Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 51: Dimensions Of The Module Resi-Knx-Eth

    RESI® 11.3 Dimensions of the module RESI-KNX-ETH Illustration: dimension illustration in mm Dimensions Enclosure dimensions L x W x H (mm) 35.8 x 90 x 58 Weight 90 g Color Grey RAL7035 Material PA - UL 94 V0 Protection class...
  • Page 52: Drawing Of The Module Resi-Knx-Eth

    RESI® 11.4 3D Drawing of the module RESI-KNX-ETH Illustration: 3D drawing of the enclosure Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 53: Resi-Xxx-Eth Operation Modes

    IO module connected via Ethernet. MODBUS/TCP Ethernet Socket MODBUS/TCP MODBUS/TCP Request Answer e.g. #1:READ e.g. #1:data for READ HOLDING REGISTER HOLDING REGISTER Power 12-48Vdc Illustration: MODBUS/TCP MODE on RESI-xxx-ETH converters Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 54: Resi-Xxx-Eth Web Configuration

    RESI® 13 RESI-xxx-ETH web configuration All our RESI-xxx-ETH gateways have a build in web server to configure basic access to the Ethernet interface and for MODBUS/TCP readout. Therefore open an Internet explorer and type in the configured IP address of the selected gateway.
  • Page 55: Howto Setup Ip Address

    If you have problems, set the CFG DIP switch to ON and reboot the device. Wait for more than 30 seconds. The gateway will do a factory reset to the standard IP settings defined above. Don’t forget to put the DIP switch to OFF position after successful factory reset. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 56: Howto Change Socket Number

    Socket number: Here you can select your desired socket number, you want to use for the Ethernet connection. Default for our converters is 1024, for MODBUS/TCP is 502 Please let the rest of the parameters unchanged. They are for expert usage only! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 57: Howto Change User Name And Password

    Password: Here you can enter a new password for accessing the web configuration. Don’t forget to save the new settings with the button SAVE below! Please let the rest of the parameters unchanged. They are for expert usage only! Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 58: Howto Restart The Module Via Ethernet

    RESI® 13.4 Howto restart the module via Ethernet First select page Reboot. Then select button Restart Module to perform a software reboot. Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 59: Howto Select Modbus/Tcp Server Mode

    3. Deactivate all DIP switches Now you have done a factory reset to the IP standard settings and you have selected MODBUS/TCP server mode. To test your MODBUS/TCP server functionality use the software MODBUS Poll like shown here: Date Page RESI-KNX-xxx manual Title: 12.12.2018...
  • Page 60 RESI® Now select the range of MODBUS holding registers, you want to display. Select the function Setup/Read- Write Definition.. and configure the following parameters. After pressing OK, you will see the updated values. Date Page RESI-KNX-xxx manual Title: 12.12.2018...

This manual is also suitable for:

Resi-knx-asciiResi-knx-eth

Table of Contents