Kunbus PR100023R03 User Manual

Ic module for ethernet/ip

Advertisement

User Manual
TM
IC Module for EtherNet/IP
100061R00_UM_EN • 03/11/2017

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PR100023R03 and is the answer not in the manual?

Questions and answers

Summary of Contents for Kunbus PR100023R03

  • Page 1 User Manual IC Module for EtherNet/IP 100061R00_UM_EN • 03/11/2017...
  • Page 2: Table Of Contents

    Table of Contents KUNBUS GmbH Table of Contents 1 General information ........................ 4 1.1 Disclaimer.......................... 4 1.2 Notes regarding this user manual.................... 5 1.3 Validity ............................ 5 1.4 Limitation of Liability ........................ 5 1.5 Customer Service ........................ 6 2 Safety Guidelines .......................... 7 2.1 User ............................ 7 2.2 Symbols............................. 7 2.3 General Safety Guidelines...................... 8...
  • Page 3 KUNBUS GmbH Table of Contents 8 CDI .............................. 95 8.1 Setting up a Serial Connection .................... 95 8.2 CDI Menus.......................... 97 9 Integrated Server......................... 131 9.1 FTP Server .......................... 131 9.2 Web Server.......................... 131 10 Disposal ............................ 134 10.1 Dismantling and Disposal ...................... 134 11 Technical data .......................... 135 11.1 Technical data ........................ 135...
  • Page 4: General Information

    © 2016 KUNBUS GmbH, Denkendorf (Deutschland) The contents of this user manual have been prepared by the KUNBUS GmbH with the utmost care. Due to the technical development, the KUNBUS GmbH reserves the right to change or replace the contents of this user manual without prior notice. You can always obtain the latest version of the user manual at our homepage: www.kunbus.de...
  • Page 5: Notes Regarding This User Manual

    This user manual provides important, technical information that can enable you, as a user, efficient, safe and convenient integration of the KUNBUS-IC into your applications and systems. It is intended for trained, qualified personnel, whose sound knowledge in the field of electronic circuits and expertise of EtherNet/IP ...
  • Page 6: Customer Service

    1.5 Customer Service If you have any questions or suggestions concerning this product, please do not hesitate to contact us: KUNBUS GmbH Heerweg 15 C 73770 Denkendorf Germany +49 (0)711 3409 7077 support@kunbus.com www.kunbus.com IC-Module for EtherNet/IP 6 / 137...
  • Page 7: Safety Guidelines

    2 Safety Guidelines 2.1 User The Module 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: –...
  • Page 8: General Safety Guidelines

    Ø Please note that the warranty shall become invalid if the products are changed technically. èSpeak to your contact person at the KUNBUS GmbH about customised solutions. 2.4 Environmental Conditions Operate the KUNBUS-IC only in an environment that complies with the operating conditions in order to prevent any damage.
  • Page 9: Overview

    1. SSC - Serial Shift Chain Very simple shift register modules are connected to the SPI interface of the module. The KUNBUS-IC is the SPI master and reads or writes up to 32 bytes of data from the blocks cyclically into its internal memory.
  • Page 10: Application Interface

    Connection via SSC can be implemented with minimal effort, but this variant is also the least powerful. The variants SPI and SDI are very flexible, as the KUNBUS-IC can also be configured by the application processor. SDI is easier to implement but also slower than SPI.
  • Page 11: Status Leds

    3.3 Status LEDs You have the option to integrate additional LEDs into your application. These LEDs can be activated using the shift register. ü To do this, configure the first output shift register ◦ In register 0x0025 or ◦ in CDI menu "2.3 SSC Communication" The signals have the following meaning: Assignment Signal Meaning...
  • Page 12 Assignment Signal Meaning Module error off No Error. flashes At least one system component does not function due to a configuration error. A fatal error has occurred. Please contact our support. Script pro- flashes Script deactivated or not loaded. green gress Script is running.
  • Page 13: Components

    4 Components 4.1 Module Components The module is divided into independent components to ensure a high level of flexibility in the application. The following pages describe the individual components: 4.2 Storage Unit The storage unit is the central component for all functions of the IC- Module.
  • Page 14: Data Broker

    4.3 Data Broker The Data Broker decouples individual components from each other and distributes the data streams between the interfaces. You can configure any number of data that the Data Broker copies from the data sources to the data sinks. This gives you great flexibility, e. g. you can change the order of the data or merge data from different sources.
  • Page 15 Mapping You have the option to define the allocation (mapping) yourself. This allows you to define which input register the Data Broker should accept data from and which output register it should transfer data to. You can define up to 4 register areas with freely definable lengths in the respective output register area for each of the interfaces.
  • Page 16 You can configure standard values that the Data Broker writes in the relevant output register instead of an input register in the event of a failure of a data provider. That has the advantage that the data processing cannot abort unnoticed. The module uses the Little Endian byte order for the internal processing.
  • Page 17 Extended Mapping Some applications work with data that is viewed bitwise. To make the mapping for such applications even more flexible, an "Extended Mapping" is provided. This mapping basically works in the same way as the mapping described above: Individual areas of the output Memory Register are assigned from areas of the input Memory registers.
  • Page 18 All mapping areas are processed sequentially. The Data Broker first copies all simple mapping areas cyclically. After that, it executes the Extended Mapping. In the course of this, it is quite possible to intentionally overwrite a target area by several sources of data. All copy operations of the Data Broker are carried out one after the other without interruption.
  • Page 19 Validity period of the process data Data sources that write data to the input area of the central memory are called producers because they produce process data. The Data Broker collects this data and copies it into the output area of the central memory.
  • Page 20 – All bytes at 1 – retain the last valid data The set validity periods from KUNBUS-IC are saved permanently in the Memory registers. They are also available after a restart. Likewise, the rule defined for a consumer, as to how to proceed if the validity period is exceeded.
  • Page 21 ◦ Enter the number of the desired menu. ◦ Press the return key. ð The selected menu opens. -------------------------------------------------- KUNBUS-IC– Main Menu -------------------------------------------------- 1 – Module Information 2 – Interface Configuration 3 - Monitor Communication 4 – Module Status 9 –...
  • Page 22 Mapping" menu You can find an overview of the start addresses in the section "Overview of the Memory Register [} 53]". -------------------------------------------------- KUNBUS-IC– Edit one map entry -------------------------------------------------- Source Register: 0x1401 Number of Registers: 3 ◦ Create another mapping at the next free position ◦...
  • Page 23 In the menu for fieldbus outputmapping, you can see the finished mapping. -------------------------------------------------- KUNBUS-IC - Fieldbus Outputmapping -------------------------------------------------- Src Register Number 1 - 1521 (0x1401) | 3 2 - 4097 (0x1001) | 5 3 - 1 (0x0001) | 0 4 - 1 (0x0001) | 0...
  • Page 24: Fieldbus Interface

    4.4 Fieldbus Interface The fieldbus interface for the Module consists of the EtherNet/IP protocol stack. The data areas FBS In and Out can be read and written via the EtherNet/IP protocol. Also see about this 2 Overview of the Memory Register [} 53] IC-Module for EtherNet/IP 24 / 137...
  • Page 25: Cdi - Configuration And Debug Interface

    4.5 CDI - Configuration and Debug Interface The user interface is a serial UART interface with 3.3V logic levels. In order to connect it to the RS232 interface of a PC, an RS-232 driver module is required on the base board, see the example application circuit diagram, Annex 2.
  • Page 26: Sdi - Serial Data Interface

    The serial data interface allows the application to access the individual Memory Register via the Modbus-RTU protocol. This allows you to configure the KUNBUS-IC automatically and to write process data in the input registers or to read it from the output registers.
  • Page 27 NOTICE! During automatic bitrate detection the module does not send a reply to the master until the correct bitrate has been detected. This procedure can require up to 40 polls of the master. TIP: Set a fixed bitrate if the automatic bitrate detection lasts too long for you.
  • Page 28: Spi - Synchronous Serial Interface

    SSC-Master operating mode, the KUNBUS-IC is the master on the SPI bus and communicates with shift register modules. It is possible to let the KUNBUS-IC detect the connected shift registers or to configure the number of shift registers. Output data from the Data Broker is written to the SSC output register area and input data is read from the SSC input register area in both operating modes.
  • Page 29 Clock are used with 3.3 V logic in the usual manner. Here, you can freely select the normally alterable parameters CPOL (Clock polarity) and CPHA (Clock Phase) in KUNBUS-IC and define these permanently via the CDI Menu [} 104] or memory register [} 68].
  • Page 30 Data (Master & Slave) Protocol KUNBUS has defined a separate protocol for the data exchange via the synchronous serial interface. This protocol allows you to perform various read and write access operations. Here, the Master first always sends a transmission block with 5 bytes. The first 3 to 5 bytes of this transmission block consist of meta data (target address, etc.).
  • Page 31 Writing 1 byte This access type is used if 1 byte is written to a memory register of the module by the Master. The Master first sends a transmission block with a fixed length of 5 bytes, which have the following content: Transmission block with fixed length Command Address area...
  • Page 32 The first byte returns the status. If it is set to "0", the Master then indicates that it cannot return any current status information since there was no previous operation (this is usually the response to the very first block transmission). A "1" indicates the successful completion of the previous transmission.
  • Page 33 All 16-bit wide register contents to be written must be prepared by the Master in such a way that the lower-value byte is transmitted as the first byte and the higher-value byte is transmitted as the second byte ("Little-Endian" or "Intel format").The register contents must be sent in ascending address order, i.e.
  • Page 34 Reading 2 bytes (Word) This access type is used if just 1 register is to be read from a memory register of the module by the Master. The Master first sends a data block with a fixed length of 5 bytes, which have the following content: Transmission block with fixed length Command...
  • Page 35 The first byte returns the status. If it is set to "0", the Master then indicates that it cannot return any current status information since there was no previous operation (this is usually the response to the very first block transmission). A "2" indicates the successful completion of the previous transmission.
  • Page 36 Transmission block with fixed length Command Address area Data length Description code (2 bytes) (2 bytes) (1 byte) 0x20 0x0000-0xFFFF 1-16/128 READ_BULK 0x00 0xXXXX 0xXXXX NO_OPERATION* The master sends a block of 0-bytes to the module. The number of bytes is twice the data length of the previous transmission block with the READ_BULK command code.
  • Page 37 Transmission block with fixed length Command code Data length Description (1 byte) used (2 bytes) (2 bytes) 0x40 0xXXXX 1-128 READ_WRITE_BULK 0x00 0xXXXX 0xXXXX NO_OPERATION* Transmission block with variable length (1-16/128 words) Data area 0x0000-0xFFFF" The status response has almost the same structure and meaning as read access with 1 byte.
  • Page 38 Error Codes Error code Designation Description 0x01 INVALID_DATA_ Invalid data address ADDRESS The master tries to access an invalid ad- dress. The slave ignores the instruction. 0x02 INVALID_DATA_ Invalid data length LENGTH The data length predefined by the master is too great.
  • Page 39 EtherNet/IP without using a microprocessor. The KUNBUS-IC with its clock clocks the output data into the input register of the chain via the MOSI line, where it is shifted bit by bit until the end.
  • Page 40 If bit errors occur, the clock rate is reduced in automatic mode by one level. Hence, with such a structure the KUNBUS-IC can find the right setting for the chain lengths and maximum possible transmission rate independently.
  • Page 41 the IC-Module. Its length is determined by the number of cycles and the clock rate. After completion of a shift procedure, the next shift cycle starts with the next work cycle of the module. The maximum delay between the completion and start of a shift cycle is 10 ms. Also see about this 2 Overview of the Memory Register [} 53] IC-Module for EtherNet/IP...
  • Page 42: Scripter

    CDI interface of the module and then always executed there cyclically. KUNBUS provides you with the PC tool “Scripter” for creating and testing such scripts. You can read all the necessary details in the separate manual on the Scripter.
  • Page 43: Commissioning

    5 Commissioning 5.1 Installation The main board is connected to the device controller via a 32-pin connector strip. Thus, you have the option to plug the module directly into your DIL socket. If the module is plugged in and unplugged frequently, mechanical NOTICE stresses may damage the module.
  • Page 44 In the table below, we have compiled the pin assignment on the application interface for you. SSC SSR Master Mode Application Direction Electrical Comment side specifications Min. Typical Max. VCC 5.0 V [IN] 4.75 V 5.0 V 5.25 V current draw: Imax = 150 mA VCC 3.3 V [IN] 3.15 V...
  • Page 45: Specifications

    SPI Slave Mode Application Direction Electrical Comment side specifications Min. Typical Max. VCC 5.0 V [IN] 4.75 V 5.0 V 5.25 V current draw: Imax = 150 mA VCC 3.3 V [IN] 3.15 V 3.3 V 3.45 V current draw Imax = 200 mA Reserved Do not con- nect! Ready [OUT] -0.1 V 2.0 V...
  • Page 46 Connection options to the SDI You can establish the connection to the SDI in RS232 or RS485 interface mode: You need an RS232 level converter for operating in RS232 mode. Illustration 9: Connection for the SDI via RS 232 The SDI TE PIN is not used with this connection. IC-Module for EtherNet/IP 46 / 137...
  • Page 47 Illustration 10: Connection option for the SDI using RS485 You need an RS485 level converter for operating in RS485 mode. IC-Module for EtherNet/IP 47 / 137...
  • Page 48 Connection options to the You can establish the connection to the CDI in RS232 mode: CDI interface Illustration 11: Connection option for the CDI If your application processor is located directly next to the IC on the NOTICE base board, you can do without the level converter and connect TX/ RX lines of the two processors directly.
  • Page 49: Configuration

    5.2 Configuration This section describes how to configure the module and associated components and applications. Ø The module has no undo function. NOTICE èChanges are applied after a reset or start of the operating mode without any further confirmation. ð If you want to reset all values, use the function "Reset to factory settings".
  • Page 50: Firmware Update

    Configuration using the SDI The KUNBUS-IC has a UART interface with 3.3 V logic levels. Your main board must convert these lines to standardised RS-485 signals so that Modbus/RTU devices can access these. Conversion to standardised RS-232 signals is generally necessary for communication with a PC.
  • Page 51: Functions For Ethernet/Ip

    6 Functions for EtherNet/IP 6.1 Connection Types The KUNBUS-IC supports the following connection types of EtherNet/IP. Type Direction Assembly Size Instance Exclusive Owner Output (master -> slave) 100 up to 480 bytes Input (slave -> master) up to 480 bytes Input Only Output (master ->...
  • Page 52: Functions

    – Fieldbus Input Data, Class Code A0 hex With this object you can read data sent from the KUNBUS-IC to the EtherNet/IP master. Application example: The data is copied from the SSC input area (0x1001) via the data-broker to the fieldbus output area (0x2801).
  • Page 53: Memory Register

    7 Memory Register 7.1 Overview of the Memory Register The storage unit is the central component for all functions of the IC- Module. It is subdivided into individual Memory registers with a width of 16 bits each. In these Memory registers the following information is stored: –...
  • Page 54 Bitwise access to input and Optionally, you can address input and output data areas bitwise. The output data functions 01 Read Coil Status, 02 Read Input Status and 05 Force Single Coil are defined in Modbus for this purpose. Since each bit has a separate address, they are assigned to the bits in the registers as follows: coil 0x0001 corresponds to the lowest value bit 0 of register 0x1001, coil 0x0002 corresponds to bit 1, etc.
  • Page 55 Register assignment of the memory area The following table contains a brief overview of the register assignment of the general memory area. You can find a detailed overview of the individual registers on the following pages. Register number Assignment Description 0x0001 –...
  • Page 56 Register Description Access 0x4001 Fieldbus Status Read Only 0x4002-0x4003 Reserved 0x4004 EtherNet/IP Vendor- ID Read/Write 0x4005 Reserved 0x4008 Firmware Revision Read Only 0x4009 SVN-Revision Read Only 0x400a -0x400b Serial Number Read/Write 0x400c-0x400d Reserved 0x400e SSC-Address Read/Write 0x400f-0x4011 Reserved 0x4012 Fieldbus Configuration Read/Write 0x4013-0x4014 Reserved...
  • Page 57: General Device Parameters

    7.2 General Device Parameters 0x0001 Set operating mode In this memory register you have the option, to set the operating mode. Modbus Register 0x0001 Value Range 0x0000-0x0003 Default Value 0x0000 Number of available bytes Permanently stored Access Read/Write Meaning 0x0000 or 0x0001 Operation Cyclical data exchange takes place 0x0002...
  • Page 58 0x0002-0x0003 Current In these memory registers you will find information for the current module status module status. Bit 5 indicates whether there is an error in the configuration of the SSC Master mode. It is only set, however, during the initialisation of the module.
  • Page 59 Bit 7 Fieldbus Communication Configuration Error 1: General configuration error of the FBS interface 0: Configuration is ok Bit 8-13 Reserved Bit 14 Extended Mapping Error 1: Configuration error in the mapping 0: Configuration is ok Bit 15 Script Run Status 1: Script was loaded successfully and is running cyclically.
  • Page 60 A Modbus network (RS485) can consist of several modules. Therefore, the Modbus protocol provides the unique addressing via device addresses. If you want to access the KUNBUS-IC with a Modbus Master (e.g. PC with Modpoll), the Master must use the device address set in this register as the first byte in the send telegram.
  • Page 61 0x0005 Set bitrate for the SDI In this memory register you have the option, to define with which interface bitrate the SDI interface should communicate. Automatic bitrate detection means that the module tests the following bitrates until it has received a correct Modbus-RTU telegram: •...
  • Page 62 0x0006 Set parity bits for the In this memory register you have the option, to set the parity bit for SDI interface the data transmission of the SDI interface. The number of stop bits is adjusted automatically to the parity to ensure that a transmission always contains the same number of bits.
  • Page 63 0x0008 Current Settings of In this register you will find information about the currently used the SDI Parity Bit settings of the parity bit for the data transmission of the serial interface (SDI ). Modbus Register 0x0008 Value Range 0x0000-0x0002 Default Value 0x0000 Number of available Bytes...
  • Page 64 0x0013 Set transmission In this memory register you have the option, to set the format of the format for the CDI interface data transmission for the CDI interface. The new settings are applied after a reset. Modbus Register 0x0013 Value Range 0x00-0x07 Default Value Number of bytes available 1...
  • Page 65 0x0014 Current bitrate of the In this memory register you will find information about the currently used bitrate for the CDI interface. The new settings are applied after a reset. Modbus Register 0x0014 Value Range 0x01-0x07 Number of bytes available 1 Permanently stored Access Read Only...
  • Page 66 0x0015 Current data In this memory register you will find information about the current transmission format of the format of a data byte for the CDI . CDI interface Modbus Register 0x0015 Value Range 0x00-0x07 Number of bytes available Permanently stored Access Read Only Meaning...
  • Page 67 0x0016 Configure SSC mode In this memory register you have the option, to set the SSC mode of the module You can operate the module in slave mode or master mode. Modbus Register 0x0016 Value Range 0x0000-0x0003 Default Value 0x01 Number of bytes available Permanently stored Access...
  • Page 68 0x0018 Configure SPI mode In this memory register you have the option, Clock and data level for the SPI interface to set This setting is only used in the SPI slave mode. In SSC Master Mode the SPI Controller always uses setting 4: "lagging edge, CLK high, MSB first"...
  • Page 69 0x001a Set bitrate on the In this memory register you have the option, to set the bitrate on the SSC interface SPI controller Modbus Register 0x001a Value Range 0x00-0x03 Default Value 0x01 Number of bytes avail- able Permanently stored Access Read/Write Meaning 0x00...
  • Page 70 0x001c Configure number of Prerequisite: You have activated the Master Mode SSC Outputs In this memory register you have the option, to set the number of output shift register modules for the cyclical data exchange. The size of each shift register module is 8 bits. When you carry out a manual configuration here, you must make sure that the automatic register detection is not set, since these values are given priority.
  • Page 71 0x001e Configure number of Prerequisite: You have activated the Master Mode input shift register modules In this memory register you have the option, to set the number of input shift register modules for the cyclical data exchange. The size of each shift register module is 8 bits. When you carry out a manual configuration here, you must make sure that the automatic register detection is not set, since these values are given priority.
  • Page 72 0x0020 Module type This register contains the unique identification number for the module type of the KUNBUS-IC . This module type provides information regarding which product type it is and which fieldbus the module is used for. Modbus Register 0x0020...
  • Page 73 0x0022 Validity period of the In this memory register you have the option, to set the validity period process data on the SSC of the process data on the SSC interface interface The next production must take place within the specified period, otherwise the input data is marked as invalid.
  • Page 74 0x0023 Validity period of the In this memory register you have the option, to define the validity process data on the SDI period of the process data on the SDI interface. interface The next production must take place within the specified period, otherwise the input data is marked as invalid.
  • Page 75 0x0024 Validity period of the In this memory register you have the option, to define the validity process data on the EtherNet/ period of the process data on the EtherNet/IP interface. IP interface The next production must take place within the specified period, otherwise the input data is marked as invalid.
  • Page 76 0x0025 Configure shift chain In this memory register you have the option, to use the first input and output register of the shift chain for connecting additional components (e.g. Status LEDs, Switches). If you do not want to use any further components, all registers can be used for the data transmission.
  • Page 77 0x0032 Script Enable In this register you have the option to activate or to deactivate the Register execution of a script. You will find information about creating a script in the "KUNBUS- Scripter" documentation supplied. Modbus Register 0x0032 Value Range...
  • Page 78 0x0033 Script Port Register In this register you have the option to select the interface by which the script should communicate. Please note that activation of a script influences the individual port. NOTICE E.g.: If the CDI port is used by the script, the CDI menu can no longer be used until you have deactivated the script.
  • Page 79 0x0035 Script Loop Register In this register you have the option to monitor whether your script is running. During each run of the script, the value in the register is incremented. Modbus Register 0x0035 Value Range 0x0000- 0xffff Initial value Number of bytes avail- able Permanently stored...
  • Page 80: Register For The Mapping

    7.3 Register for the Mapping In the following Memory registers you have the option to define the data mapping of the Data Broker for the input and output areas of the interfaces. For each consumer (target register) there is a register area, in which all sources ("producers") are listed from which it obtains data.
  • Page 81 0x0e41-0x0e48 Output Data Modbus Register 0x0e41 – 0x0e48 Mapping Fieldbus Value Range Default Value 0x00 Number of bytes avail- able Permanently stored Access Read/Write 0x0f01-0xf40 Extended In these memory registers have the option, to define a bit-accurate Output Mapping mapping. Individual bits can be mapped from any input data area to the output data area of your choice.
  • Page 82: Memory Of The Communication Channels

    Register 0x0f03, 0x0f07, Bit 0-3: Source bit position 0x0f0b, ..., 0x0f3f Bit 4-7: Target bit position Register 0x0f04, 0x0f08, Bit 0-14: Number of bits to be copied. 0x0f0c,..., 0x0f40 7.4 Memory of the Communication Channels The following memory registers contain the input and output data of the communication channels.
  • Page 83 Modbus Register 0x1401-0x1480 0x1401 Input SDI Coil Address 0x2001 – 0x4000 Value Range 0x0000 - 0xffff Initial value 0x00 Number of bytes available Permanently stored Access Read/Write 0x1801 Input Fieldbus Modbus Register 0x1801-0x18f0 Coil Address 0x4001 – 0x5f00 Value Range 0x0000 - 0xffff Initial value Number of available bytes 480...
  • Page 84: Fieldbus Specific Registers

    7.5 Fieldbus specific Registers 0x4001 Fieldbus Status In this memory register you will find information about the current communication status of the fieldbus interface. This memory register contains a bitfield. Therefore, the values described below can be added in the memory register. Modbus Register 0x4001 Value Range...
  • Page 85 0x4006 Device type This Memory Register contains the device type 43 (Generic Device). The device type cannot be changed. Modbus Register 0x4006 Value Range Default Value Number of Bytes Permanently stored Constant Access Read Only 0x4008 Fieldbus Version In this memory register you will find information for the version number of the software.
  • Page 86 In these memory registers have the option, to change the serial Number number of the IC-Module. In the delivered condition the KUNBUS serial number is stored. The Memory Register 0x400a contains the High Word, register 0x400b contains the Low Word of the serial number.
  • Page 87 In these registers you can define how the KUNBUS-IC receives its IP 0x4012 Fieldbus address configuration. configuration Modbus Register 0x4012 Value Range 0 - 2 Default Value Bitfield Number of available bytes Permanently stored Access Read / Write Meaning Determines from which source the KUNBUS-IC...
  • Page 88 * Bits 8-11 can only be used with the module variant 2 port. 0x4015 Product Code In this memory register you will find the product ID of the module. The KUNBUS ID product number is stored in the delivered condition. Modbus Register 0x4015...
  • Page 89 In these registers you have the option to change the MAC address. Address We provide you the module with a MAC address that was reserved by KUNBUS. When assigning the MAC address, make sure that the address is not NOTICE used by another device.
  • Page 90 0x4044 – 0x4045 IP Address In these registers you have the option to assign the IP address for the module. When assigning the IP address, make sure that the address is not NOTICE used by another device. IP addresses assigned multiple times cause problems in the data communication.
  • Page 91 0x4048 – 0x4049 Setting the In this memory register you have the option, for setting the gateway Gateway IP Address IP address. Modbus Register 0x4047 – 0x4048 Value Range 0.0.0.0 – 255.255.255.255 Default Value 0.0.0.0 Number of available bytes 4 Permanently stored Access Read / Write...
  • Page 92 0x404c-0x404d Current In these memory registers you can find the network mask currently network mask used. Modbus Register 0x404c – 0x404d Value Range 0.0.0.0 – 255.255.255.255 Default Value 0.0.0.0 Number of available bytes 4 Permanently stored Access Read Only 0x404e-0x404f Current In these memory registers you can find the gateway address gateway IP address currently used.
  • Page 93 0x4115 – 0x4119 Quality of These Memory Register contain the data of the attributes 4-8 of the the Data Connection QoS object 0x48. You will find these values in the specification for EtherNet/IP. Modbus Register 0x4115 – 0x4119 Value Range 0-63 Default Value s.
  • Page 94 0x4122-0x4141 Hostname In this memory register you can set the host name of TCP/IP object 0xF5, attribute 6. Each memory register contains the ASCII code of 2 characters. The first character is in the low byte, the second in the high byte. If the name is shorter than 64 bytes, you have to fill up the remaining free space with 0.
  • Page 95: Cdi

    8 CDI 8.1 Setting up a Serial Connection The CDI interface of the IC-Module is a UART interface (asynchronous serial interface) with 3.3V signal level. If you connect a switch with level converter (e.g. "EXAR - SP3232EUEY") to the application connector via the RX and TX connections of this interface, an RS232 interface is available to you for connecting a terminal (you can find details from our sample circuit diagram under "RS232 Interface for CDI"...
  • Page 96 ◦ Change to the "Connection > Serial" view ◦ Select the serial interface that you want to access the CDI with (here: COM1) ◦ Configure the interface with the default settings of the CDI interface (for values see Fig above). Deactivate the dataflow control as well. ◦...
  • Page 97: Cdi Menus

    1.Module Information In this menu you will find general information about the module: – Software revision – Checksum of the firmware – Serial number of the module – Module type (unique throughout KUNBUS) -------------------------------------------------- KUNBUS-IC– Module Information -------------------------------------------------- Revision: 1.2.3953...
  • Page 98 To restart the system, select the menu item "[9 ] Reset Module". The selection "8 – Set Arbitrary Register" allows you write access to all writeable Modbus registers of the module. -------------------------------------------------- KUNBUS-IC– Interface Configuration -------------------------------------------------- 1  - SDI Communication 2  - CDI Communication 3 ...
  • Page 99 The number of stop bits automatically depends on the parity setting. This ensures that a transmission always attaches the same number of bits to one byte. -------------------------------------------------- KUNBUS-IC– SDI Communication: Set Parity -------------------------------------------------- 1 – Even Parity (1 Stopbit) 2 – Odd Parity (1 Stopbit) 3 –...
  • Page 100 Set Parity your application from the displayed values. The default value is "Even Parity (1 stop-bit)". -------------------------------------------------- KUNBUS-IC - CDI Communication: Set Bitrate -------------------------------------------------- 1 - Even Parity, 1 Stopbit 2 - Even Parity, 2 Stopbit 3 - Odd Parity, 1 Stopbit...
  • Page 101 In this menu, you can define how many shift registers are used for Auto detect shift registers configuration switches and status LEDs. -------------------------------------------------- KUNBUS-IC - SSC SSR Master Mode, auto detect shift registers -------------------------------------------------- 1 - No. of Fieldbus Switch Registers: 0 2 - No. of Fieldbus Status-LED Registers: 0 -------------------------------------------------- >...
  • Page 102 In this menu, you can define how many input shift registers are used Switch Registers for configuration switches. Permissible input values: 0-2 ------------------------------------------------------ KUNBUS-IC - SSC No. of Fieldbus Switch registers ------------------------------------------------------ > 2.3.2.2 Number of Status In this menu, you can define how many output shift registers are LED Registers used for status LEDs.
  • Page 103 In this menu, you can define how many output shift registers are Status LED Registers used for status LEDs. Permissible input values: 0-1 ------------------------------------------------------ KUNBUS-IC - SSC No. of Fieldbus Status-LED registers ------------------------------------------------------ > 2.3.3.3 Number of overall In this menu, you can define the number of input shift registers. Valid Input Registers input values are between 0 and 32.
  • Page 104 In the first line you will see the current settings. Using the option [1] "Configure settings" you can configure the settings. -------------------------------------------------- KUNBUS-IC - SSC SPI Slave Settings -------------------------------------------------- Settings: Polarity Normal, Falling Edge, CLK High, MSB first 1 - Configure settings -------------------------------------------------- >...
  • Page 105 6 - Valid Time: disabled -------------------------------------------------- > Configuring Output Mapping -------------------------------------------------- KUNBUS-IC– Edit one map entry -------------------------------------------------- Source Register: ü First determine the start address of the source register. You can get an overview of the start addresses in the chapter Register for the Mapping [} 80].
  • Page 106 If no new data from the producer should arrive in the input registers within the predefined period, the Data Broker uses the data set among the default values. -------------------------------------------------- KUNBUS-IC– Production valid time (0 = disabled) -------------------------------------------------- > IC-Module for EtherNet/IP...
  • Page 107 6 - Valid Time: disabled -------------------------------------------------- > Configuring Output Mapping -------------------------------------------------- KUNBUS-IC– Edit one map entry -------------------------------------------------- Source Register: ü First determine the start address of the source register. You can get an overview of the start addresses in the chapter Register for the Mapping [} 80].
  • Page 108 If no new data from the producer should arrive in the input registers within the predefined period, the Data Broker uses the data set among the default values. -------------------------------------------------- KUNBUS-IC– Production valid time (0 = disabled) -------------------------------------------------- > IC-Module for EtherNet/IP...
  • Page 109 6 - Valid Time: disabled -------------------------------------------------- > Configuring Output Mapping -------------------------------------------------- KUNBUS-IC– Edit one map entry -------------------------------------------------- Source Register: ü First determine the start address of the source register. You can get an overview of the start addresses in the chapter Register for the Mapping [} 80].
  • Page 110 If no new data from the producer should arrive in the input registers within the predefined period, the Data Broker uses the data set among the default values. -------------------------------------------------- KUNBUS-IC– Production valid time (0 = disabled) -------------------------------------------------- > IC-Module for EtherNet/IP...
  • Page 111 In this menu you have the option to configure the network settings of Register setting the module via the Modbus register. -------------------------------------------------- KUNBUS-IC- EthernetIP Modbus Register setting -------------------------------------------------- 1 - MAC Address: c8:3e:a7:00:00:92 2 - IP Address: 192.168.0.10 3 - Netmask: 255.255.255.0 4 - Gateway: 192.168.0.1...
  • Page 112 In this menu you have the option,to make adjustments to the writeable registers that do not have their own menu item. First enter the register number: -------------------------------------------------- KUNBUS-IC – Set Arbitray Register -------------------------------------------------- Register Number: If the register number does not exist or is write-protected, you will receive a corresponding error message.
  • Page 113 Now specify a new value for the register and press [Return] to confirm your entry. -------------------------------------------------- KUNBUS-IC – Set Arbitray Register -------------------------------------------------- Register Number: 0x0013 Current Value : 1 0x0001 0000_0000_0000_0001b Enter New Value: 2 New Value Set : 2 0x0002 0000_0000_0000_0010b...
  • Page 114 2.10 Extended (Bit)Mapping In this menu you will find information about the current settings of the extended Data Broker. You can configure the individual values in the corresponding submenus. The Extended Mapping is executed after the general Mapping. You can combine both mapping functions by copying the larger areas with the standard mapping and change individual bits with the extended mapping afterwards.
  • Page 115 16 - 0x0001 | 0 | 0x0001 | 0 | 0 -------------------------------------------------- > The submenu for entering the mapping is displayed by entering a number from 1 tos 16: -------------------------------------------------- KUNBUS-IC- Extended Mapping, 1 Entry -------------------------------------------------- Entry : 1 Source : 0x1001, Bitpos: 2 Destination: 0x2001, Bitpos: 0 (Bit)Length: 8...
  • Page 116 Source – Specify here which register the data should originate from. -------------------------------------------------- KUNBUS-IC - Extended Mapping, 1 Entry -------------------------------------------------- Entry : 1 Source : 0x1401, Bitpos: 14 Destination: 0x2401, Bitpos: 2 (Bit)Length: 8 1 - change mapping -------------------------------------------------- >1 Source Register >...
  • Page 117 Destination Bit Position – Specify the exact position of the bit that you want to map the data on. -------------------------------------------------- KUNBUS-IC - Extended Mapping, 1 Entry -------------------------------------------------- Entry : 1 Source : 0x1401, Bitpos: 14 Destination: 0x2401, Bitpos: 2 (Bit)Length: 0x2400, Bitpos: 2...
  • Page 118 Here, you will now see the mapping you created in the previous steps: -------------------------------------------------- KUNBUS-IC - Extended (Bit)Mapping -------------------------------------------------- Source | Bitp | Dest. | Bitp | Length 1  - 0x1810 | 5 | 0x2405 | 3 | 27 2 ...
  • Page 119 You can switch the status between disabled and enabled by entering [1]+[Return]. – You can define the SDI or CDI as port. You switch between both options by entering [2]+[Return]. -------------------------------------------------- KUNBUS-IC- Script Interpreter -------------------------------------------------- 1 - State: disabled 2 - Port used by script: SDI -------------------------------------------------- >...
  • Page 120 Menu 3 – "Monitor Communication" 3 Monitor Communication In this menu you have the option to view the current values of the Memory Register. -------------------------------------------------- KUNBUS-IC – Modbus Register Monitor -------------------------------------------------- 1 – SSC In 2 – SDI In 3 - Fieldbus In (from Master) 4 –...
  • Page 121 Press[n] to display the next page with further registers. Press[p] to return to the previous page. For register addresses that are not implemented, points are displayed. -------------------------------------------------- KUNBUS-IC – Monitor SDI Input Registers -------------------------------------------------- b=binary, h=hex, d=decimal, n=next, p=previous <cr>=refresh 0x1401: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000...
  • Page 122 Press[n] to display the next page with further registers. Press[p] to return to the previous page. For register addresses that are not implemented, points are displayed. -------------------------------------------------- KUNBUS-IC – Monitor SSC Output Registers -------------------------------------------------- b=binary, h=hex, d=decimal, n=next, p=previous <cr>=refresh 0x2001: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000...
  • Page 123 Press[n] to display the next page with further registers. Press[p] to return to the previous page. For register addresses that are not implemented, points are displayed. -------------------------------------------------- KUNBUS-IC – Monitor Fieldbus Output (to Master) -------------------------------------------------- b=binary, h=hex, d=decimal, n=next, p=previous <cr>=refresh 0x2801: 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000...
  • Page 124 -------------------------------------------------- KUNBUS-IC – Monitor Arbitray Register -------------------------------------------------- b=binary, h=hex, d=decimal, n=next, p=previous <cr>=refresh 0x4001: .... 0x0490 ..0x002b ..0x0102 0x4009: 0x0ef5 0x0001 0xe240 .... 0x0000 ..0x4011: ..0x0001 .... 0x0004 0x0055 0x004e 0x4019: 0x0042 0x0055 0x0053 0x002d 0x0043 0x004f 0x004d...
  • Page 125 4 Module Status In the following submenu you will get an overview of the current operating state of the module and of all interfaces. -------------------------------------------------- KUNBUS-COM – Module Status -------------------------------------------------- 1 – Common Status 2 – SDI Status 3 - SSC Status 4 –...
  • Page 126 If the interface is running in "Automatic Bitrate detection" mode and no bitrate has been detected yet, the message "Actual Bitrate: undefined" will be displayed instead of the interface parameters. -------------------------------------------------- KUNBUS – SDI Status -------------------------------------------------- <cr> = refresh; <Esc> = return...
  • Page 127 If the number of configured registers does not match the number of connected registers or the shift register chain is not working, you will see the message "Shift Register Chain not working“. -------------------------------------------------- KUNBUS-IC- SSC Status -------------------------------------------------- <cr> = refresh; <Esc> = return SSC SSR Master Mode, configured shift registers Act.
  • Page 128 -------------------------------------------------- <cr> = refresh; <Esc> = return Vendor Id: 1168 Device Type: 43 Fieldbus Revision: 2.1 Firmware Revision: 8452 Product name: KUNBUS-IC EtherNet/IP(tm) 2Port Current IP Address: 192.168.0.24 Status: Owned Configured Extended Status: No Connection -------------------------------------------------- > IC-Module for EtherNet/IP...
  • Page 129 If all four entries are occupied and another error occurs, this error will replace the oldest error in the Error Stack. The latest error is always displayed first. -------------------------------------------------- KUNBUS-IC – Error Stack -------------------------------------------------- <cr> = refresh; <Esc> = return...
  • Page 130 If the error cannot be remedied, please contact our support. Have the number of the error entry ready for this purpose. -------------------------------------------------- KUNBUS-IC- Fatal Error Handler -------------------------------------------------- A severe error occurred. Error Stack: Entry 0: = 0x34030000...
  • Page 131: Integrated Server

    Web Server Files You will find files for the web server in the "Web" subfolder. 9.2 Web Server The KUNBUS-IC has a web server. You can use this from any Browser. Accessing web server ◦ Connect the KUNBUS-IC to the PC.
  • Page 132 – <PasswordX>, – <LevelX>. X represents a number between 0 and 9. Allocate a number to each user. Make sure that the allocated number is not already used for another user. The username and password can each consist of up to 20 characters.
  • Page 133 Click on the "Show" button to view the process data of the required input and output area. The following example shows the process data of the fieldbus. NOTICE! The "DPR" button is not active for KUNBUS-IC. Firmware Update ◦ Request the .kfu file for the update from our support.
  • Page 134: Disposal

    10 Disposal 10.1 Dismantling and Disposal This section contains important information explaining how to safely dismantle, replace and dispose of the KUNBUS-IC correctly. Dismantling Danger of electric shock DANGER Before dismantling, make sure that the device in which your module is installed is no longer connected to the power supply.
  • Page 135: Technical Data

    11 Technical data Dimensions Length 45 mm Width 25 mm Height 15,3 mm with Transformer 11 mm without Transformer Weight Environmental Conditions Operating temperature 0 °C to +60 °C Humidity 0% not 95%, non-condensing Mechanical shock load Max. 4.5 N transversal Permanent mechanical stress Max.
  • Page 136: Appendix

    PC by your application hardware (e.g. a level converter). Tip!: With the KUNBUS-IC Evaluation Board you have a Sub-D connector at your disposal with RS-232 levels that can be connected to a serial COM interface of the PC or to a serial USB converter.
  • Page 137 32-bit module 1000 data type in the input register -t 3:mod table 32-bit float data type in the input register table -t 3:float 16-bit output register (holding) with default value -t 4 16-bit output register (holding) with hexadecimal -t 4:hex display 32-bit integer data type in the output register (hold- -t 4:int...

Table of Contents