DEUTSCHMANN AUTOMATION UNIGATE EL PROFIBUS DP Instruction Manual

DEUTSCHMANN AUTOMATION UNIGATE EL PROFIBUS DP Instruction Manual

Universal fieldbus-gateway
Table of Contents

Advertisement

Quick Links

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

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for DEUTSCHMANN AUTOMATION UNIGATE EL PROFIBUS DP

  • Page 1 Instruction Manual Universal Fieldbus-Gateway ® UNIGATE EL PROFIBUS DP Deutschmann Automation GmbH & Co. KG www.deutschmann.com | wiki.deutschmann.de...
  • Page 2 Manual Art.-No. V4055E...
  • 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 Connectors ....... . 23 9.2.1 Connector to the external device (RS-interface) .
  • Page 5 Deutschmann Automation GmbH & Co. KG 14 Ethernet ....... . . 39 14.1 Network-addresses, network-connections .
  • Page 6 Deutschmann Automation GmbH & Co. KG 17.12 Project planning ......60 17.13 Literature .
  • 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.
  • 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 EL-PROFIBUS DP module serves to adapt an Ethernet port to the PROFIBUS DP to EN 50 170. In this application, it functions as a Gateway and operates as the PROFIBUS DP Slave.
  • Page 11: Unigate ® El Software Flow-Chart

    Deutschmann Automation GmbH & Co. KG Introduction ® UNIGATE EL software flow-chart ® ® 23.6.17 UNIGATE fieldbus gateway UNIGATE EL - PROFIBUS DP V. 1.7...
  • Page 12: Unigate ® Block Diagram

    Introduction Deutschmann Automation GmbH & Co. KG ® UNIGATE block diagram ® The following picture shows a typical UNIGATE -module design. ® UNIGATE EL application diagram The following graph shows a typical connection scheme. ® ® UNIGATE fieldbus gateway UNIGATE EL - PROFIBUS DP V.
  • 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 •...
  • Page 14: Test Mode

    Operation modes of the Gateway Deutschmann Automation GmbH & Co. KG Test mode Setting of the test mode The test mode is set by bringing the switches S4 and S5 in position "E". All other switches will not be taken into consideration for the setting of the test mode. Now the Gateway has to be restarted with these settings (by a short disconnection from the power supply).
  • Page 15: Rs-Interface

    Deutschmann Automation GmbH & Co. KG RS-interface RS-interface ® RS-interfaces at the UNIGATE ® The UNIGATE EL - PROFIBUS DP has the interfaces RS232, RS422 and RS485 available. The hardware always features a DEBUG-interface, see chapter 6. ® Buffer sizes at the UNIGATE ®...
  • Page 16: The Debug-Interface

    The Debug-interface Deutschmann Automation GmbH & Co. KG The Debug-interface Overview of the Debug-interface ® The UNIGATE 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 17 Deutschmann Automation GmbH & Co. KG The Debug-interface If debugging is redirected to the application, no script or command that wants to carry out com- munication via the application interface is supported. These are e.g.:  SendRS and ReceiveSomeCharRS. ®...
  • 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 blank, and Layer 7 is converted in accordance with chapter 7.3.
  • Page 19: Generating A Script

    Deutschmann Automation GmbH & Co. KG Generating a Script Generating a Script Note: All commands relating to the extension do not work in the debug mode! (see Chapter 6.5) 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 is the adjustment of the IP-address and the net-mask of an Ethernet-Gateway. Another reason for the configuration of the values in WINGATE is the following: After an update of the Script these values remain untouched, i.
  • 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: Hardware Ports, Switches And Leds

    Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs Device labeling  Picture 1: Terminal labeling and termination  Picture 2: Front panel: Rotary switches, LEDs and termination PB In case the front panel should pop out it does not affect the device’s function or quality.
  • Page 23: Connectors

    Deutschmann Automation GmbH & Co. KG Hardware ports, switches and 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. Pin assignment X1 (3-pole and 4-pole screw-type plug connector) Pin No.
  • Page 24: Profibus Dp-Connector

    Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 9.2.4 PROFIBUS DP-connector The plug (labeled: PROFIBUS) for the connection to PROFIBUS is available on the front side of the device. Pin assignment (9-pole D-SUB, socket) Pin No. Name...
  • Page 25: Leds 1 / 2 / 4 / 8 (Error No. / Select Id)

    Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs More conditions in Configuration-, Test- or Update-Mode ® green/red flashing UNIGATE is in test mode ® red flashing UNIGATE is in configuration mode / error (see error table chapter 10) CL basis stopped, PC connection with Ext.-Board active (Firmware...
  • Page 26: Rotary Coding Switches S4 + S5 (Serial Interface)

    Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG If the integrated resistor is used, please allow for the fact that this also activates a pull-down resistor (390 ) to ground and a pull-up resistor (390) to VCC.
  • Page 27: Rotary Coding Switches High + Low (Profibus-Id)

    Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 9.4.4 Rotary coding switches High + Low (PROFIBUS-ID) With these two switches the Gateway’s PROFIBUS-ID (00... 7D) is set in hexadecimal notation. Please refer to the Annex for a conversion table from decimal to hexadecimal. This value is read in only once when the Gateway is activated.The value can also be read-out or analyzed through...
  • Page 28: Error Handling

    Error handling Deutschmann Automation GmbH & Co. KG 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.
  • Page 29: Error On The Extension

    Deutschmann Automation GmbH & Co. KG Error handling ® UNIGATE is turned ON (START)0x00 IP Adresse at Ethernet port (EL-IP:172.016.048.203)0x00 Info for internal purposes (EL-ComChl:00)0x00 State of the 4 Ethernet ports (EL-State:202010E2)0x00 Ethernet port initialized (EL-online)0x00 Configured transport protocol EL-TCP server (port23)0x00 ...
  • Page 30: Installation Guidelines

    Installation guidelines Deutschmann Automation GmbH & Co. KG 11 Installation guidelines 11.1 Installation of the module The module with the dimensions 23 x 117 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 31: Equipotential Bonding Connection

    Deutschmann Automation GmbH & Co. KG Installation guidelines 11.2.1.2 Equipotential bonding connection The connection to the potential equalization automatically takes place it is put on the DIN-rail. 11.2.2 PROFIBUS DP communication interface 11.2.2.1 Bus line with copper cable This interface is located on the module in the form of a 9-pin D-SUB socket on the front side of the housing.
  • Page 32: Shielding Of Lines

    Installation guidelines Deutschmann Automation GmbH & Co. KG 11.2.4.1 Shielding of lines Shielding is intended to weaken (attenuate) magnetic, electrical or electromagnetic interference fields. Interference currents on cable shields are discharged to earth via the shielding bus which is con- nected conductively to the chassis or housing.
  • Page 33: Firmware Update

    Deutschmann Automation GmbH & Co. KG Firmware Update 12 Firmware Update ® The UNIGATE EL consists of a basic hardware and an ext. board. The firmware versions are output in the configuration mode (see Chapter 4.1). The start-up message of the basic appears, following the message of the ext.
  • Page 34: Profibus Dp

    PROFIBUS DP Deutschmann Automation GmbH & Co. KG 13 PROFIBUS DP 13.1 Description of the DPV1-/DPV2-functions 13.1.1 DPV1 Die DPV1-Erweiterung besteht aus folgenden Funktionen: 1. Acyclic data exchange with Class1-Master (e. g.: PLC) This function is optional for a DPV1-Slave. Our gateways support this function as a default. By means of this function the Class1-Master can read and write data from the slave acyclically.
  • Page 35: Configuration Telegram

    Deutschmann Automation GmbH & Co. KG PROFIBUS DP 13.2.1 Configuration telegram After programming, the Master must send a configuration telegram to the corresponding Slave. The configuration telegram provides the Slave with information on the length of the input/output data. If the user has set the ’Length byte’ flag, this means the maximum data lengths. Otherwise, it means the actual lengths.
  • Page 36 PROFIBUS DP Deutschmann Automation GmbH & Co. KG The diagnostic information of a DP Slave consists of standard diagnostic information items (6 bytes) and a user-specific diagnostic information item. (Error number) Telegram for diagnostic request: Octet 1 Diag.station does not exist (sets Master) Diag.station not_ready: Slave is not ready for...
  • Page 37: Diagnosis In Dpv1

    Deutschmann Automation GmbH & Co. KG PROFIBUS DP Octet 3 reserved Diag.ext_overflow Octet 4 Diag master_add: Master address after programming (FF without programming) Octet 5 Ident. number high byte Octet 6 Ident. number low byte Octet 7 External diagnosis: header, length entry...
  • Page 38: Data Exchange

    PROFIBUS DP Deutschmann Automation GmbH & Co. KG 13.2.4 Data exchange After the Master, in the diagnostic, detects that the Slave is ready for data exchange, it sends data exchange telegrams. Either the Master stores the data in the input/output direction in the address area specified during project planning or the control program must fetch or retrieve the data using specific function blocks.
  • Page 39: Ethernet

    Deutschmann Automation GmbH & Co. KG Ethernet 14 Ethernet Each Ethernet-Client processor with TCP/IP network-protocol in a 10/100 Mbaud Ethernet can exchange data with the Gateway. 14.1 Network-addresses, network-connections After switching on, the Gateway is waiting for data communication with a network-participant. In this case the Gateway is always prepared to react to ICMP messages (e.
  • Page 40: Unigate -Scan-Function

    Ethernet Deutschmann Automation GmbH & Co. KG ® 14.5 UNIGATE -SCAN-function ® The Gateway has the support of the UNIGATE -SCAN-tool integrated. Which means that by default a channel is established in the Fast Ethernet that procresses these scan requests. Thus, a channel is already activ immediately after switching on.
  • Page 41: Implemented Protocols In Unigate ® El

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL ® 15 Implemented protocols in UNIGATE ® On delivery the UNIGATE EL is supplied with the Script “Universalscript Deutschmann EL“. The configuration is carried out in the configuration mode (see chapter 4.1) with the software WINGATE from Version V2.82 and wcf-file from 403.
  • Page 42: Configuration Options For The Individual Transport Protocols

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.2 Configuration options for the individual transport protocols Universal (EL) Modbus Modbus Universal Transport Modbus server Modbus protocol server client  (port 23) server client TCP client server Parameter (EL) IP address ...
  • Page 43: Operation Of Individual Transport Protocols

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL 15.3 Operation of individual transport protocols 15.3.1 TCP server TCP (server), Send + Receive Port 23 Transparent data exchange with fieldbus (PROFIBUS) Data structure 15.3.2 UDP Data structure 15.3.2.1 UDP (with one remote participant) Configuration: (EL) IP Address Target = 0 ®...
  • Page 44: Udp (With More Than One Remote Participant)

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.3.2.2 UDP (with more than one remote participant) Configuration: (EL) IP Address Target = 0   ® The UNIGATE keeps sending back to IPx till IPy sends a UDP packet to the UNIGATE 2x consecutively.
  • Page 45: Tcp (Server)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL 15.3.3 TCP (server) ® Once a remote participant starts a connection to the UNIGATE as Client, the status switches to data exchange (the green Power/State LED changes from flashing green to bright green.) With this type of connection, it is irrelevant who sends a packet first, as the Client actively produ- ced a connection to the UNIGATE.
  • Page 46: Tcp (Client)

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.3.4 TCP (client) Configuration: (EL) IP Address Target: >0 ® During startup (Power ON) the UNIGATE tries to establish a TCP/IP connection with the remote participant configured under the IP Address Target....
  • Page 47: Modbus Tcp (Server)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL 15.3.5 Modbus TCP (server) ® The UNIGATE is Server on the Ethernet side and waiting for a connection. ® ® 23.6.17 UNIGATE fieldbus gateway UNIGATE EL - PROFIBUS DP V. 1.7...
  • Page 48: Modbus Tcp (Client)

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.3.6 Modbus TCP (client) After switching on the same behaviour as under TCP/IP (Client) beschrieben (see chapter 15.3.4). Explanation  The fieldbus SPS sends a request in Modbus RTU format, without checksum ...
  • Page 49: Universal Modbus Tcp Server

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL 15.3.7 Universal Modbus TCP Server ® The UNIGATE acts as Dual-Port-RAM.  Note: Modbus Slave ID is not evaluated.  Maximum query length: => 125 - 3 = 122 Byte = 61 registers...
  • Page 50 Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG Storage division at Universal Modbus TCP (Server) Example: Description of last Reg.Adr. (511) FC16: [Slv ID] [FC] 01 FF 00 01 02 xx yy ... Note: In configuration tools (e.g. Modscan) or descriptions, the address is provided with an Offset of +1, i.e.: 0200.
  • Page 51: Universal Modbus Tcp (Client)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL 15.3.8 Universal Modbus TCP (client) Modbus Timeout: 0 (not allowed) The [EL] TCP response time is adjustable from 1 to 65 Sekunden (0 = without Response Time). It is recommended to set a time.
  • Page 52: Configuration: Via Wingate Since Wcf File Version 403

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.3.8.3 Configuration: via WINGATE since wcf file Version 403 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 53: Delivery Status (Factory Setting)

    Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® EL For more information see figure 2. Universal Modbus Figure 2: Universal Modbus TCP client protocol 15.4 Delivery status (factory setting) - TCP server (port 23), Protocol description (see Chapter 15.3.1).
  • Page 54: Trigger Byte

    Implemented protocols in UNIGATE® EL Deutschmann Automation GmbH & Co. KG 15.5 Trigger Byte Since the data is always transferred cyclically on PROFIBUS, the gateway must detect when the user wishes to send new data via the serial interface. This is normally done by the gateway com- paring the data to be transferred via the PROFIBUS with the old data stored internally - data exchange on change (Fieldbus Data exchange ->...
  • Page 55: Technical Data

    Deutschmann Automation GmbH & Co. KG Technical data 16 Technical data 16.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 56: Interface Data

    Technical data Deutschmann Automation GmbH & Co. KG 16.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 PROFIBUS DP RS232-C...
  • Page 57 Deutschmann Automation GmbH & Co. KG Technical data    Transmit range    (SPACE): - Voltage level - 0.2 ... + 0.2 V + 3 ... + 15 V - 0.2 ... + 0.2 V - Logic level ...
  • Page 58: Commissioning Guide

    Commissioning guide Deutschmann Automation GmbH & Co. KG 17 Commissioning guide 17.1 Note ® Only trained personnel following the safety regulations may commission the UNIGATE 17.2 Components ® You will require the following components to commission the UNIGATE ® •...
  • Page 59: Setting The Profibus Address

    Deutschmann Automation GmbH & Co. KG Commissioning guide 17.6 Setting the PROFIBUS address Set the PROFIBUS address at the fieldbus end of the module on the two rotary switches desig- nated "PROFIBUS-ID High" and "PROFIBUS-ID Low" This adjustment is carried out in a hexa- decimal way.
  • Page 60: Profibus Connection

    Commissioning guide Deutschmann Automation GmbH & Co. KG Attention: The PROFIBUS address set must correspond to the planned address under COM PROFIBUS! It is read in only on power-up of the gateway! 17.7 PROFIBUS connection Connect the device to the Profibus at the interface labelled "PROFIBUS".
  • Page 61: Servicing

    Deutschmann Automation GmbH & Co. KG Servicing 18 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 62: Annex

    Annex Deutschmann Automation GmbH & Co. KG 19 Annex 19.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 63: Hexadecimal Table

    Deutschmann Automation GmbH & Co. KG Annex PROFINET 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 =...

Table of Contents