DEUTSCHMANN AUTOMATION UNIGATE CX Series Instruction Manual

DEUTSCHMANN AUTOMATION UNIGATE CX Series Instruction Manual

Universal fieldbus-gateway
Table of Contents

Advertisement

Quick Links

Instruction Manual
Universal Fieldbus-Gateway
®
UNIGATE
CX
Deutschmann Automation GmbH & Co. KG
www.deutschmann.com | wiki.deutschmann.de

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UNIGATE CX Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for DEUTSCHMANN AUTOMATION UNIGATE CX Series

  • Page 1 Instruction Manual Universal Fieldbus-Gateway ® UNIGATE Deutschmann Automation GmbH & Co. KG www.deutschmann.com | wiki.deutschmann.de...
  • Page 2 Manual Art.-No.: V3792E...
  • Page 3: Table Of Contents

    Deutschmann Automation GmbH & Co. KG Information on CE marking of the module ....8 EU Directive EMC ......8 Scope of application .
  • Page 4 Deutschmann Automation GmbH & Co. KG 7.4.3.2 Conflicts ........26 7.4.3.3...
  • Page 5 Deutschmann Automation GmbH & Co. KG Fieldbus parameters / Ethernet parameters ....46 10 Hardware connections, switches and LEDs ... . . 47 10.1 Device label .
  • Page 6 Deutschmann Automation GmbH & Co. KG 14 Service Interface (RS232) ......57 14.1 Service interface (RS232) - Connection ....57 14.2 Service interface (RS232) –...
  • Page 7 We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 - 2019. All rights reserved. This document may not be passed on nor duplicated, nor may its contents be used or disclosed unless expressly permitted.
  • Page 8: Information On Ce Marking Of The Module

    The EU Declarations of Conformity are available at the following location for perusal by the responsible authorities in accordance with the EU Directive, Article 10: Deutschmann Automation GmbH & Co. KG, Carl-Zeiss-Str. 8, 65520 Bad Camberg, Germany Scope of application...
  • Page 9: Information For The Machine Manufacturer

    Deutschmann Automation GmbH & Co. KG Information for the machine manufacturer Information for the machine manufacturer Introduction ® The UNIGATE module does not constitute a machine as defined by the EU "Machinery“ Directive. Consequently, the module does not have a Declaration of Conformity in relation to the EU Machinery Directive.
  • Page 10: Introduction

    Introduction Deutschmann Automation GmbH & Co. KG Introduction In the field of automatic control many different Fieldbuses and Industrial Ethernet became estab- lished worldwide. Again and again the ask of interconnecting these incompatible networks ® comes up. The NIGATE CX-series was created exactly for that task. The series contains Field- bus-Slave as well as Industrial Ethernet versions.
  • Page 11: Hardware-Design

    Deutschmann Automation GmbH & Co. KG Hardware-design Hardware-design ® The UNIGATE CX acts as gateway between two bus- respectively Ethernet systems. Both bus connections are usually realized as slave. Excluded are CANopen (master) as well as Ethernet or ModbusTCP (client). Each bus can be operated by a standard-compliant master.
  • Page 12: Hardware Structure

    Hardware-design Deutschmann Automation GmbH & Co. KG Fieldbus/Ethernet B CANopen (Slave), CANopen Modbus MPI Profibus Profinet DeviceNet EtherCAT Ethernet EtherNet/IP LONWorks (Master), CAN Layer  CANopen           (Slave), CANopen (Master), CAN Layer 2 ...
  • Page 13: Unigate ® Cx Block Diagram

    Deutschmann Automation GmbH & Co. KG Hardware-design UNIGATE ® CX block diagram 2.10.19 UNIGATE CX V. 1.4 ®...
  • Page 14: Unigate ® Cx Design

    Hardware-design Deutschmann Automation GmbH & Co. KG UNIGATE CX design ® Operation modes 4.5.1 RUN-operation (data exchange mode) In the ex-works condition the device is set to RUN-operation. ® In RUN-operation it is possible to use the Debug-interfaces of the UNIGATE CLs.
  • Page 15 Deutschmann Automation GmbH & Co. KG Hardware-design Mode of operation of the test mode After the restart in the test mode the Gateway will be sending the values 0-15 in hexadecimal representation ("0".."F") in ASCII-coding on the serial side (Debug-interface) every second.
  • Page 16: Script-Programming

    Script-Programming Deutschmann Automation GmbH & Co. KG Script-Programming What is a script? A script is a sequence of commands, that are executed in that exact order. Because of the fact that also mechanisms are given that control the program flow in the script it is also possible to assemble more complex processes from these simple commands.
  • Page 17: Protocol Configuration

    Deutschmann Automation GmbH & Co. KG Protocol Configuration Protocol Configuration ® The UNIGATE CX is delivered with the script "Universalscript Deutschmann". The delivery state is with transparent data exchange, so only the fieldbus-specific parameters must be configured. The fieldbus-specific parameters include, for example, data exchange ( byte), Fieldbus length byte (Chapter 7.11, The length byte), Swap word (Chapter 7.12, Swap word) and the settings for...
  • Page 18: Configuration Options Of The Available Protocols

    Protocol Configuration Deutschmann Automation GmbH & Co. KG Configuration options of the available protocols The configuration options of the protocols are highlighted with green checkmarks in the tables. For each application example, you will find a diagram for graphical illustration.
  • Page 19: Configuration Overview With Ethernet Resp. Modbus Tcp Interface

    Deutschmann Automation GmbH & Co. KG Protocol Configuration 6.2.2 Configuration overview with Ethernet resp. Modbus TCP interface UNIGATE CX Ethernet (ModbusTCP) UNIGATE Seite B Modbus TCP request Modbus RTU request data fieldbus Fieldbus Modbus Modbus Master TCP Server RTU slave...
  • Page 20: Configuration Overview With Two Ethernet Resp. Modbus Tcp Interfaces

    Protocol Configuration Deutschmann Automation GmbH & Co. KG Configuration overview with two Ethernet resp. Modbus TCP  6.2.3 interfaces UNIGATE CX Ethernet (ModbusTCP) A Ethernet (ModbusTCP) B data fieldbus data fieldbus TCP Client TCP Client data filedbus data fieldbus UNIGATE CX V.
  • Page 21: Implemented Protocols In Unigate ® Cx

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX Implemented protocols in UNIGATE ® ® UNIGATE CX is supplied with the Script “Universal Script Deutschmann“. The configuration of the protocols is carried out in the configuration mode with the software ...
  • Page 22: Fieldbus Parameters

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG 7.2.2 Fieldbus parameters Trigger byte: See „The trigger byte“, chapter 8.1 Length byte: See „The length byte“, chapter 8.2 7.2.3 RS232 parameter table 7.2.3.1 Start character (232 Start character) If this character is defined, the gateway evaluates only the data at the RS232 interface following this start character.
  • Page 23: Protocol "Cx (Pseudo)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX If the "Trigger byte“ (see chapter 8) is active, data is sent only on a change of this byte. If the "Length byte" (see chapter 8.11) is active, only as many of the following bytes as specified there are transferred.
  • Page 24: Data Communication

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG 7.4.3 Data communication 7.4.3.1 Initiation of data communication by the low-priority user If the low-priority user also receives an STX in response to a transmitted STX, it interrupts its transmit request, reverts to Receive mode and acknowledges the received STX with DLE.
  • Page 25: Data Structure

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX In addition, a "Response time" which corresponds to the maximum time up to which the Modbus ® Slave responds after a request must be set. UNIGATE multiplies the value entered in WINGATE by 10 ms.
  • Page 26: Unigate ® As Modbus-Slave

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG ® 7.5.3 UNIGATE as MODBUS-Slave 7.5.3.1 Preparation Before data exchange is commenced, the parameters "Trigger byte" and "Length byte", "Baud rate", "Parity", "Start bits", "Stop bits" and "Data bits" must be set.
  • Page 27: Data Structure On The Fieldbus Side E.g.: Profibus

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX 7.7.1 Data structure on the fieldbus side e.g.: PROFIBUS Applies to In and Out 1. Byte: trigger byte, optional (see chapter 8.1 "The trigger byte") 2. Byte: fieldbus length byte, optional (see chapter 8.2, The length byte) 3.
  • Page 28: Example: Fc3 (Read Holding Register) + Fc4 (Read Input Register)

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG Display of the data in the Modbus Master (FC1): Example: StartAddress 0008, Length 80, FC2 (Read Input Status) [01] [02] [00] [07] [00] [50] [c9] [f7] ® UNIGATE sends response via RS232/485:...
  • Page 29: Example: Write Single Coil Fc5

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX 7.7.1.3 Example: Write Single Coil FC5 ® The Fieldbus Master sent the following data to the UNIGATE once: 07 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12 13 14 15 16 17 18 19 1A 20 20 20...
  • Page 30: Example: Write Single Register Fc6

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG In the following example the Bit (Coil) in Address 0002 is set to High (1):  The fieldbus data is updated: 02 03 04 05 06 07 00 00 00 00 00 The internal buffer reserves this value, which means it can be read back by the Master via FC1 Read Coil status:...
  • Page 31: Example: Force Multiple Coils Fc 15

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX This leads to the Byte-Offset for the fieldbus output data => 14. You start counting with the first process data value with Index NULL. 1F 03 02 …. +---- 1. process value +-------- fieldbus length byte 7.7.1.5...
  • Page 32: Protocol „Universal Modbus Rtu Master

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG Protocol „Universal Modbus RTU Master“ ® The UNIGATE is Modbus-Master on the Application side. 7.8.1 Data structure Fieldbus side (e.g. PROFIBUS): Applies to In and Out Byte: Trigger-Byte, optional (see chapter 8.1, The trigger byte) Byte: Fieldbus length byte, optional (see chapter 8.2, The length byte)
  • Page 33: Configuration: Via Wingate Since Wcf Datei Version 396

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX 7.8.3 Configuration: via Wingate since wcf Datei Version 396 Parameter Name value range Explanation Modbus Timeout (10ms) 1 ... 255 (10ms ... 2550ms) Max. Waiting time for the "Response" before an error 9 is generated by timeout.
  • Page 34: Example: Read Coil Status Fc1

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG 7.8.3.1 Example: Read coil status FC1 Configuration Data content Modbus Slave ® UNIGATE reads Address 5 + 6 and copies it into the 6. byte of the output buffer....
  • Page 35: Example: Read Input Status Fc2

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX AD 07 00 00 00 00 00 00 01 00 00 00 00 00 00 00 AE 07 00 00 00 00 00 00 03 00 00 00 00 00 00 00...
  • Page 36: Example: Read Multiple Register Fc3

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG Here the content of the address 10009 is changed from 0 -> 1 In the following example only the "No. Of Points" is switched to 10. Which means that now 10 Bits => 2 Byte are read out. This is also the reason why the fieldbus length byte (2.
  • Page 37: Example: Read Input Registers Fc4

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX Thereby the addressed slave holds the following data in its registers.: register address value(hex) 40000 0x0000 40001 0x0202 40002 0x0303 40003 0x0000 40004 0x0000 register = 1 Word = 2 Byte In the documentation of some applications, an Offset + 1 at the address is assu- med.
  • Page 38: Example: Preset Single Register Fc6

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG 7.8.3.6 Example: Preset single register FC6 Configuration ® SPS sends to UNIGATE 00 FF 00 00 00 00 00 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 ... ...
  • Page 39: Example: Preset Multiple Register Fc16

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX Storage content of Modbus Slave after response: Please keep in mind that No. Of coild = 10, hence, only the lower bit in address 0011 is written at the value 0x05. Address 0013 would already be bit No. 11, which is not transmitted anymore....
  • Page 40: Protocol „Universal Modbus Ascii Master/Slave

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG Protocol „Universal Modbus ASCII Master/Slave“ ® The fieldbus data exchange for Modbus ASCII is identical with RTU. The UNIGATE automati- cally transmits the data in ASCII format on the serial side....
  • Page 41: Protocol Modbus Tcp Client Encapsulation

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CX 7.10 Protocol Modbus TCP client encapsulation The "Modbus TCP client encapsulation" fieldbus transport protocol can only be used in conjunc- tion with the "Modbus RTU Slave" application transport protocol.
  • Page 42: Unigate ® Cx

    Implemented protocols in UNIGATE® CX Deutschmann Automation GmbH & Co. KG ® 7.10.1.2 UNIGATE • FE or ModTCP side: Ethernet TCP/IP (Modbus TCP) Transport protocol: Modbus TCP client encapsulation • FE or ModTCP side: Application protocol: Modbus RTU Slave (set Modbus RTU Slave ID via rotary coding switches S4+S5) •...
  • Page 43: Optional Bus Parameter

    Deutschmann Automation GmbH & Co. KG Optional bus parameter Optional bus parameter The trigger byte If the data is always transmitted cyclically, the gateway must recognize when the user wants to send new data. This is usually done by having the gateway compare the data being transferred with the old data stored internally - data exchange on change (Fieldbus Data Exchange →...
  • Page 44: Fieldbus Parameters / Ethernet Parameters

    Fieldbus parameters / Ethernet parameters Deutschmann Automation GmbH & Co. KG Fieldbus parameters / Ethernet parameters The data of fieldbus A is passed on to fieldbus B depending on the handling of the scripts Here the following basic requirement have to be considered:...
  • Page 45: Hardware Connections, Switches And Leds

    Deutschmann Automation GmbH & Co. KG Hardware connections, switches and LEDs 10 Hardware connections, switches and LEDs 10.1 Device label Picture 1: Connection labelling Note:  X1 + X2 are always available. X3 and maybe X4 depend on the combination of the Fieldbuses.
  • Page 46: Connector Output Voltage And Debug-Interface 2

    Hardware connections, switches and LEDs Deutschmann Automation GmbH & Co. KG 10.2.2 Connector output voltage and DEBUG-interface 2 Pin assignment X2 (4-pole screw-plug connector, on the bottom side, left at the back) Pin No. Name Function UB (Out) 10..33 V output (dependenton supply voltage X1)
  • Page 47: Installation Guidelines

    Deutschmann Automation GmbH & Co. KG Installation guidelines 11 Installation guidelines 11.1 Installation of the module The module with the maximum dimension (46 x 100 x 117 mm W x H x D) has been developed for switch cabinet use (IP 20) and can thus be mounted only on a standard mounting channel (deep top-hat rail to EN 50022).
  • Page 48: Communication Interface

    Installation guidelines Deutschmann Automation GmbH & Co. KG 11.2.2 Communication interface 11.2.2.1 CANopen Slave, CANopen Master / CAN Layer 2 This interface is located on the module in the form of a 9-pin D-SUB plug on the front side of the housing.
  • Page 49: Lonworks

    Deutschmann Automation GmbH & Co. KG Installation guidelines 11.2.2.6 LONWorks This interface is located on the module in the form of a 4-pin screw-plug-connector on the lower side of the housing. • Plug the LONWorks connecting plug onto the socket labelled "LONWorks".
  • Page 50: General Information On Line Routing

    Installation guidelines Deutschmann Automation GmbH & Co. KG 11.2.4 General information on line routing - Inside and outside of cabinets In order to achieve EMC-compliant routing of the lines, it is advisable to split the lines into the fol- lowing line groups and to lay these groups separately.
  • Page 51 Deutschmann Automation GmbH & Co. KG Installation guidelines If there are potential differences between the earthing points, a compensating current may flow via the shield connected at both ends. In this case, you should lay an additional equipotential bonding line.
  • Page 52: Technical Data

    Technical data Deutschmann Automation GmbH & Co. KG 12 Technical data 12.1 Device data The technical data of the module is given in the table below. No. Parameter Data Explanations Location Switch cabinet DIN-rail mounting Enclosure IP20 Protection against foreign bodies...
  • Page 53: Commissioning Guide

    Deutschmann Automation GmbH & Co. KG Commissioning guide 13 Commissioning guide 13.1 Note ® Only trained personnel following the safety regulations may commission the UNIGATE 13.2 Components ® You will require the following components to commission the UNIGATE ® •...
  • Page 54: Unigate ® Cx (All Versions With Canopen Slave, Canopen Master, Can Layer 2, Mpi Or Profibus Dp)

    Commissioning guide Deutschmann Automation GmbH & Co. KG 13.4.2 UNIGATE ® CX (all versions with CANopen Slave, CANopen Master, CAN Layer 2, MPI or PROFIBUS DP) 13.5 Commissioning It is essential that you perform the following steps during commissioning in order to ensure that...
  • Page 55: Service Interface (Rs232)

    Deutschmann Automation GmbH & Co. KG Service Interface (RS232) 14 Service Interface (RS232) ® Das UNIGATE CX has 2 Service interface (RS232). These may only be used as follows: Update firmware (*.hex) file Reset device A service interface is available for each of the 2 bus sides. In order to use these, the device must be opened at the top.
  • Page 56: Service Interface (Rs232) - Access

    Service Interface (RS232) Deutschmann Automation GmbH & Co. KG UNIGATE ® Service interface (RS232) - Bus B Pin 1 = Rx232 Pin 2 = Tx232 Pin 3 = AP-GND Pin 4 = n.c. Pin 5 = n.c. Pin 6 = n.c.
  • Page 57 Deutschmann Automation GmbH & Co. KG Service Interface (RS232) The housing can be opened by hand or with a screwdriver. Then the upper cover plate can be removed. 2.10.19 UNIGATE CX V. 1.4 ®...
  • Page 58 Service Interface (RS232) Deutschmann Automation GmbH & Co. KG There are two 7-pin power strips located under the upper cover plate. Of those only pins 1 to 3 can be used for serial RS232 communication. A service interface (RS232) is available...
  • Page 59: Servicing

    Deutschmann Automation GmbH & Co. KG Servicing 15 Servicing Should questions arise that are not covered in this manual you can find further information in our • FAQ/Wiki area on our homepage www.deutschmann.com or directly in our Wiki on www.wiki.deutschmann.de If your questions are still unanswered please contact us directly.
  • Page 60: Annex

    Annex Deutschmann Automation GmbH & Co. KG 16 Annex 16.1 Explanations of the abbreviations General Product group CL (Compact Line) Product group CX Galvanic separation RS-side Housing color gray Product group RS Product group SC (Script) 232/485 = Interface RS232 and RS485 switchable...
  • Page 61: Hexadecimal Table

    Deutschmann Automation GmbH & Co. KG Annex 16.2 Hexadecimal table Decimal Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 2.10.19 UNIGATE CX V. 1.4 ®...

Table of Contents