DEUTSCHMANN AUTOMATION UNIGATE CL EtherCAT Instruction Manual

DEUTSCHMANN AUTOMATION UNIGATE CL EtherCAT Instruction Manual

Universal fieldbus-gateway
Table of Contents

Advertisement

Quick Links

Instruction Manual
Universal Fieldbus-Gateway
®
UNIGATE
CL - EtherCAT
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 CL EtherCAT and is the answer not in the manual?

Questions and answers

Summary of Contents for DEUTSCHMANN AUTOMATION UNIGATE CL EtherCAT

  • Page 1 Instruction Manual Universal Fieldbus-Gateway ® UNIGATE CL - EtherCAT Deutschmann Automation GmbH & Co. KG www.deutschmann.com | wiki.deutschmann.de...
  • Page 2 Manual Art.-No.: V3679E...
  • 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 Further settings at the Gateway ..... . 19 The use of the Protocol Developer ....20 Accuracies of the baud rates .
  • Page 5 Deutschmann Automation GmbH & Co. KG 11.3 LEDs ........40 ®...
  • Page 6 Deutschmann Automation GmbH & Co. KG ® ® ® UNIGATE Feldbus-Gateway UNIGATE CL - EtherCAT V. 2.6 29.6.20...
  • Page 7 We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 – 2020. 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-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...
  • Page 9: Information For The Machine Manufacturers

    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.
  • Page 10: Introduction

    Introduction Deutschmann Automation GmbH & Co. KG Introduction ® ® ® The UNIGATE CL-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 CL-EtherCAT essentially consists of the following hardware components: ®...
  • Page 11: Unigate ® Cl Software Flow-Chart

    Deutschmann Automation GmbH & Co. KG Introduction UNIGATE ® CL software flow-chart ® ® ® 29.6.20 UNIGATE Fieldbus Gateway UNIGATE CL - EtherCAT V. 2.6...
  • Page 12: Unigate ® Application Diagram

    Introduction Deutschmann Automation GmbH & Co. KG UNIGATE ® application diagram The following graph shows a typical connection scheme. ® ® ® UNIGATE Fieldbus Gateway UNIGATE CL - EtherCAT V. 2.6 29.6.20...
  • Page 13: Operation Modes Of The Gateway

    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 (e. g. by means of the software WINGATE with "Write Script" under "File")
  • Page 14: Rs-Interface

    RS-interface Deutschmann Automation GmbH & Co. KG RS-interface RS-interfaces at the UNIGATE ® ® ® The UNIGATE CL - EtherCAT has the interfaces RS232, RS422 and RS485 available. The hardware always features a DEBUG-interface, see chapter 7. Buffer sizes at the UNIGATE ®...
  • Page 15: Ssi-Interface

    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.
  • Page 16: Parameter Encoder Monitoring (Check Encoder)

    SSI-interface Deutschmann Automation GmbH & Co. KG 6.2.4 Parameter Encoder monitoring (Check Encoder) An encoder monitoring can be activated via the parameter "Check encoder", as long as the used SSI-encoder supports this function. After the last read encoder bit it is verified if the data line is ®...
  • Page 17: The Debug-Interface

    Deutschmann Automation GmbH & Co. KG The Debug-interface The Debug-interface Overview of the Debug-interface ® The UNIGATE IC features a Debug-interface, that allows a step-by-step processing of a Script. Normally this interface is only required for the development of a Script.
  • Page 18: Mode Of Operation Of The System

    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 empty. Layer 7 is converted in accordance with chapter 8.3.
  • Page 19: Generating A Script

    Deutschmann Automation GmbH & Co. KG Generating a Script Generating a Script 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 20: The Use Of The Protocol Developer

    Generating a Script Deutschmann Automation GmbH & Co. KG The use of the Protocol Developer software tool Protocol Developer downloaded from website http://www.deutschmann.de It is a tool for an easy generation of a Script for our Script Gateways. Its operation is exactly aimed at this use.
  • Page 21: Script Processing Times

    Deutschmann Automation GmbH & Co. KG Generating a Script In the following please find a listing of baud rates at a 40 MHz-crystal frequency with the corre- sponding errors: 4800 baud: 0.16% 9600 baud: 0.16% 19200 baud: 0.16% 38400 baud: 1.35%...
  • Page 22: Implemented Protocols In Unigate® Cl With Universal Script

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 10 Implemented protocols in UNIGATE CL with Universal ® Script ® UNIGATE CL is supplied with the Script “Universal Script Deutschmann“. The configuration of ® the protocols is carried out by means of the software WINGATE. See "Instructions UNIGATE - Configuration with WINGATE".
  • Page 23: Data Structure

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.2.1 Data structure 10.2.2 Fieldbus parameters Trigger byte: See „The trigger byte“, chapter 10.7 Length byte: See „The length byte“, chapter 10.8 10.2.3 RS232 parameter table 10.2.3.1 Start character (232 Start character)
  • Page 24: Communication Sequence

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.2.4 Communication sequence The useful data (data area) arriving via the fieldbus is copied in accordance with chapter 10.2.1 transparently into the RS232 data field and transferred via the RS interface, whereby the protocol is supplemented in accordance with the configuration (start character, end character...).
  • Page 25: Example: Fc3 (Read Holding Register) + Fc4 (Read Input Register)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script Configuration:  ®  Fieldbus sends to UNIGATE 08 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...
  • Page 26: Example: Write Single Coil Fc5

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG Display of the process data in the Modbus Master: 10.3.1.3 Example: Write Single Coil FC5 ® The Fieldbus Master sent the following data to the UNIGATE once:...
  • Page 27: Example: Write Single Register Fc6

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ... ...
  • Page 28: Example: Force Multiple Coils Fc 15

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG The 1st row shows the fieldbus data BEFORE the write command: 1F 03 02 03 04 05 06 07 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00..
  • Page 29: Example: Preset Multiple Register Fc16

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.3.1.6 Example: Preset multiple register FC16 Only the content of the register address 0005 and 0006 was changed.  The 1st row shows the fieldbus BEFORE the request:...
  • Page 30 Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG Force single coil FC5 (No. of Points – not used = fix 1 Bit) Preset single register FC6 (No. of Points – not used = fix 1 Word) Force multiple coils FC15 (No.
  • Page 31: Configuration: Via Wingate Since Wcf Datei Version 396

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.4.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 32: Example: Read Coil Status Fc1

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.4.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 33: Example: Read Input Status Fc2

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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 34: Example: Read Multiple Register Fc3

    Implemented protocols in UNIGATE® CL with Universal Script 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....
  • Page 35: Example: Read Input Registers Fc4

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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 36: Example: Preset Single Register Fc6

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.4.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 37: Example: Preset Multiple Register Fc16

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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.
  • Page 38: Protocol „Universal Modbus Ascii Master/Slave

    Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.5 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 39: Hardware Ports, Switches And Leds

    Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11 Hardware ports, switches and LEDs 11.1 Device labeling Picture 1: Terminal labeling and termination Picture 2: Front panel: Rotary switches and LEDs 11.2 Connectors 11.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.
  • Page 40: Connector Supply Voltage And Debug-Interface

    Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11.2.2 Connector supply voltage and DEBUG-interface 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...
  • Page 41: Led "Link / Act. In

    Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11.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).
  • Page 42: Leds (Error No. / Select Id)

    Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11.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".
  • Page 43: Error Handling

    Deutschmann Automation GmbH & Co. KG Error handling 12 Error handling 12.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.“ (flashing frequency 1 hertz) as shown in the table below.
  • Page 44 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).
  • Page 45: Installation Guidelines

    Deutschmann Automation GmbH & Co. KG Installation guidelines 13 Installation guidelines 13.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).
  • Page 46: Ethercat ® Communication Interface

    Installation guidelines Deutschmann Automation GmbH & Co. KG ® 13.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 47 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.
  • Page 48: Technical Data

    Technical data Deutschmann Automation GmbH & Co. KG 14 Technical data 14.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...
  • Page 49: Interface Data

    Deutschmann Automation GmbH & Co. KG Technical data 14.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 ®...
  • Page 50: Commissioning Guide

    Commissioning guide Deutschmann Automation GmbH & Co. KG 15 Commissioning guide 15.1 Note Only trained personnel following the safety regulations may commission the UNIGATE. 15.2 Components ® You will require the following components to commission the UNIGATE ® • UNIGATE •...
  • Page 51: Ethercat ® Connection

    Deutschmann Automation GmbH & Co. KG Commissioning guide 15.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). 15.7 Connection to the process device Please also read the manual for the process device when commissioning the process device.
  • Page 52: Servicing

    Servicing Deutschmann Automation GmbH & Co. KG 16 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...
  • Page 53: Annex

    Deutschmann Automation GmbH & Co. KG Annex 17 Annex 17.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...
  • Page 54: Hexadecimal Table

    Annex Deutschmann Automation GmbH & Co. KG product) ® PBDPX ProfibusDP-version X (see comparison table UNIGATE IC for the respective product) PBDPV0 = ProfibusDPV0 PBDPV1 = ProfibusDPV1 Serial RS232/485/422 17.2 Hexadecimal table Decimal Binary 0000 0001 0010 0011 0100 0101...

Table of Contents