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.
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...
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.
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.
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.
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.
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.
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...
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.
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.
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 ...
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.
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.
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.
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.
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.
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.
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:...
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...
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)
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.
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....
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.
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.
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....
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....
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.
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 →...
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:...
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.
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)
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).
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.
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".
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.
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...
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 ® •...
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...
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.
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...
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.
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...
Need help?
Do you have a question about the UNIGATE CX Series and is the answer not in the manual?
Questions and answers