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 8.3.2 Protocol definitions ....... . 20 8.3.3 Data communication .
Page 5
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs ....43 Device labeling ......43 Connectors .
Page 6
Deutschmann Automation GmbH & Co. KG 14 Servicing ....... . . 56 14.1 Returning a device .
Page 7
We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 – 2017. 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-Straße 8, 65520 Bad Camberg, Ger- many. Scope of application The modules are designed for use in the industrial sector and comply with the following...
Deutschmann Automation GmbH & Co. KG Information for the machine manufacturers Information for the machine manufacturers 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 ® ® ® The UNIGATE MB-EtherCAT module serves to adapt a serial port to EtherCAT networks. The ® terminal unit’s protocol is converted in the UNIGATE via a Script. ® The module MB-EtherCAT essentially consists of the following hardware components: ®...
Deutschmann Automation GmbH & Co. KG Operation modes of the Gateway Operation modes of the Gateway Configuration mode (config mode) The configuration mode serves to configure the Gateway. The following adjustments are possible in this mode. • Loading a Script •...
RS-interface Deutschmann Automation GmbH & Co. KG RS-interface ® RS-interfaces at the UNIGATE ® The UNIGATE MB - EtherCAT has the interfaces RS232, RS422 and RS485 available. ® Buffer sizes at the UNIGATE ® UNIGATE MB features at the serial side a buffer with the size of 1024 bytes for input data and output data each.
Deutschmann Automation GmbH & Co. KG SSI-interface SSI-interface ® The UNIGATE also supports the connection of applications or products, that communicate via SSI. Initiation of the SSI-interface The configuration of the SSI-interface is executed in the config mode with the WINGATE soft- ware, Protocol SSI.
SSI-interface Deutschmann Automation GmbH & Co. KG Hardware-wiring The clock wires of the SSI-interface are placed onto the Tx-wires of the RS422-interface and the ® data wires onto the Rx-wires at the UNIGATE X1 (3pin + 4pin screw-plug-connector): Pin no.
Communication can be split into seven layers, Layer 1 to Layer 7, in accordance with the ISO/OSI model. The Deutschmann Automation Gateways convert Layers 1 and 2 of the customized bus system (RS485 / RS232 / RS422) to the corresponding Fieldbus system. Layers 3 to 6 are blank, and Layer 7 is converted in accordance with chapter 7.3.
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE ® ® UNIGATE MB is supplied with the Script “Universal Script Deutschmann“. The configuration of the protocols is carried out in the configuration mode (see Chapter 4.1) with the software ®...
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG Protocol: 3964(R) The 3964 protocol is used to transfer data between two serial devices. One partner must be a high-priority partner and the other must be a low-priority partner in order to resolve initialisation conflicts.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 8.3.3.4 Retries In the event of negative acknowledgement or timeout, a telegram transmitted by the high-priority user is repeated twice. After this, the gateway signals communication as disturbed but still attempts to re-establish the connection.
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG If the "Length byte“ is activated (see chapter 8.6), the gateway transfers only the number of bytes specified there. The number of received Modbus data items is saved in the direction of the field- bus Master.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 8.4.3.3 Communication sequence The gateway always acts as the Slave with respect to the fieldbus and also acts as Slave at the Modbus end. A data exchange is always initiated by the MODBUS-Master via the RS-interface. If...
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG 8.7.1 Data structure on the fieldbus side e.g.: PROFIBUS Applies to In and Out 1. Byte: trigger byte, optional (see chapter 8.5, The trigger byte) 2. Byte: fieldbus length byte, optional (see chapter 8.6, The length byte) 3.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 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 26
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG Byte = Fieldbus length byte ® The following 7 byte are stored in the UNIGATE , the rest is not overwritten. With FC1 and the coil length = 80 (10 Bytes) a Modbus Master reads out the following data: ...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB The internal buffer reserves this value, which means it can be read back by the Master via FC1 Read Coil status: 8.7.1.4 Example: Write Single Register FC6 Modbus Master sends the value 1234H in Address 0008: ®...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB Protocol „Universal Modbus RTU Master“ ® The UNIGATE is Modbus-Master on the Application side. 8.8.1 Data structure Fieldbus side (e.g. PROFIBUS): Applies to In and Out Byte: Trigger-Byte, optional (see chapter 8.5, The trigger byte) Byte: Fieldbus length byte, optional (see chapter 8.6, The length byte)
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG 8.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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 8.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....
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 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.
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG 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.
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG 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....
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 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 38
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG PROFIBUS Master sends and receives: ® ® ® UNIGATE fieldbus gateway UNIGATE MB - EtherCAT V. 1.4 17.7.17...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB Modbus Slave storage content: 8.9.1.2 Swap Word Configuration with „Swap Word“ = enabled. Fieldbus data is swapped to the Modbus slave. Mea- ning High Byte and Low Byte are switched.
Page 40
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG The swapping is bidirectional Modbus Slave Data content ® ® ® UNIGATE fieldbus gateway UNIGATE MB - EtherCAT V. 1.4 17.7.17...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® MB 8.9.1.3 Example with Fast Ethernet ® ® ® 17.7.17 UNIGATE fieldbus gateway UNIGATE MB - EtherCAT V. 1.4...
Page 42
Implemented protocols in UNIGATE® MB Deutschmann Automation GmbH & Co. KG ® ® ® UNIGATE fieldbus gateway UNIGATE MB - EtherCAT V. 1.4 17.7.17...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs Hardware ports, switches and LEDs Device labeling Picture 1: Terminal labeling and termination Picture 2: Front panel: Rotary switches an LEDs Connectors 9.2.1 Connector to the external device (RS-interface) The serial interface is available at the plug accessible on the upper side of the device.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 9.2.2 Connector supply voltage Pin assignment X2 (4-pole screw-plug connector, on the bottom side, at the back) Pin No. Name Function UB (Pwr) 10..33 V supply voltage / DC...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 9.3.2 LED "Link / Act. In" ® This LED is directly controlled by the EtherCAT controller and shines when the Gateway is located at the RJ45 (In) at a working net (link pulses are received) and flickers during network data traffic (Activity).
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 9.3.7 LEDs (Error No. / Select ID) If these 4 LEDs flash and LED “State“ simultaneously lights red, the error number is displayed in binary notation (conversion table, see Annex) in accordance with the table in chapter "Error handling".
Deutschmann Automation GmbH & Co. KG Error handling 10 Error handling ® 10.1 Error handling at UNIGATE If the Gateway detects an error, the error is signalled by the “State“ LED lighting red and, simulta- neously, the error number being indicated by means of LEDs “Error No.“ as shown in the table below (Flashing frequency 1 Hertz).
Page 48
Error handling Deutschmann Automation GmbH & Co. KG Error- LED8 LED4 LED2 LED1 Protocol Error description all Protocols No Universal script support all Protocols Unknown Protocols Modbus RTU Master Timeout-Modbus Slave Modbus ASCII Master Participant didn’t response in set time frame (response time).
Deutschmann Automation GmbH & Co. KG Installation guidelines 11 Installation guidelines 11.1 Installation of the module The module with the dimensions 23 x 115 x 111 mm (W x D x H) has been developed for switch cabinet use (IP 20) and can thus be mounted only on a standard mounting channel (deep DIN-rail to EN 50022).
Installation guidelines Deutschmann Automation GmbH & Co. KG ® 11.2.2 EtherCAT communication interface This interface is located on the module in the form of two 8-pin RJ45 sockets on the bottom side of the housing. ® • Plug the EtherCAT -connector into one of the RJ45 sockets labeled "In"...
Page 51
Deutschmann Automation GmbH & Co. KG Installation guidelines Wherever possible, use only lines with braided shield. The coverage density of the shield should exceed 80%. Avoid lines with foil shield since the foil can be damaged very easily as the result of tensile and compressive stress on attachment.
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...
Deutschmann Automation GmbH & Co. KG Technical data 12.1.1 Interface data The table below lists the technical data of the interfaces and ports on the device. The data has been taken from the corresponding Standards. Interface designation RS232-C RS485/RS422 ®...
Commissioning guide Deutschmann Automation GmbH & Co. KG 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 ® •...
Deutschmann Automation GmbH & Co. KG Commissioning guide 13.6 EtherCAT ® connection ® Connect the device to the EtherCAT network at the interface labeled "In" (cable from the Mas- ter) or "Out" (further cable to the next Slave). 13.7 Connection to the process device Please also read the manual for the process device when commissioning the process device.
Servicing Deutschmann Automation GmbH & Co. KG 14 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...
Deutschmann Automation GmbH & Co. KG Annex 15 Annex 15.1 Explanations of the abbreviations General Product group CL (Compact Line) Product group CM (CANopen Line) Product group CX Product group EL (Ethernet Line) Product group FC (Fast Connect) Galvanic separation RS-side Housing color gray...
Annex Deutschmann Automation GmbH & Co. KG Profinet-IO PBDP ProfibusDP ® PBDPL ProfibusDP-version L (see comparison table UNIGATE IC for the respective product) ® PBDPX ProfibusDP-version X (see comparison table UNIGATE IC for the respective product) PBDPV0 = ProfibusDPV0 PBDPV1 =...
Need help?
Do you have a question about the UNIGATE MB EtherCAT and is the answer not in the manual?
Questions and answers