Page 7
We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 – 2011. 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, Germany 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 RS232/RS485-ProfibusDP or the SC232/SC485-ProfibusDP module serves to adapt a serial port to the ProfibusDP to EN 50 170. In this application, it functions as a gateway and operates as the ProfibusDP Slave. It can be operated by any standard-compliant Master.
Deutschmann Automation GmbH & Co. KG Introduction UNIGATE block diagram The following picture shows a typical UNIGATE-module design. UNIGATE application diagram The following graph shows a typical connection scheme. 29.4.11 UNIGATE fieldbus gateway for ProfibusDP V. 4.7...
Operation modes of the gateway Deutschmann Automation GmbH & Co. KG Operation modes of the gateway Configuration mode (config mode) The configuration mode serves to configure the gateway. Adjustments at the gateway’s configu- ration are only possible in this mode. The gateway will be starting in this mode in case both switches S4 as well as S5 are set on position "F"...
Deutschmann Automation GmbH & Co. KG Operation modes of the gateway 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 rep- resentation ("0".."F") in ASCII-coding with the current settings for the Baud rate, Parity, Start-, Data-, and Stopbits on the serial side every second.
RS-interface Deutschmann Automation GmbH & Co. KG RS-interface Framing Check - only for UNIGATE RS The length of the stop bit received by the gateway is checked through the function "Framing Check" from the software V 3.0 on. Here the stop bit generated by the gateway is always long enough, so that connected participants can evaluate the stop bit.
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) to the corresponding fieldbus system. Layers 3 to 6 are blank, and Layer 7 is forwarded transparently on the RS-standard gateways.
Mode of operation of the system Deutschmann Automation GmbH & Co. KG Run-up phase The Master programs and configures the gateway in the run-up phase. Data exchange with the external device does not occur until after the run-up phase has been completed with no errors.
Deutschmann Automation GmbH & Co. KG Transparent mode - only at UNIGATE RS Transparent mode - only at UNIGATE RS The data is transferred transparently with no timeout monitoring functions whatsoever. The user presets the data on the Master. This data is then forwarded to the external device with no timeout monitoring functions whatsoever.
Character-Delay-Time mode - only at UNIGATE RS Deutschmann Automation GmbH & Co. KG Character-Delay-Time mode - only at UNIGATE RS The ’Character-delay-time mode’ is not a protocol but a special variant of the “Universal 232“ pro- tocol’ (see corresponding chapter).
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE RS Implemented protocols in UNIGATE RS Protocol ARCNET ARCNET stands for Attached Resource Computer NETwork. It belongs to the group of Token-Bus-Networks. ARCNET is based on a multi master concept, that means every ARCNET participant is in the position to communicate with every other ARC- NET participant without restrictions.
Implemented protocols in UNIGATE RS Deutschmann Automation GmbH & Co. KG 9.1.3.1 ARCNET-ID of the UNIGATE The gateway itself also requires an ARCNET-ID, in order being in the position to exchange data in the net. This ID is set through the rotary switch on the ARCNET side. Here permissible values are 1 to 254 (01H..FEH).
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE RS 9.2.3.3 This byte is present only for reasons of compatibility. It is never activated. 9.2.3.4 Data area The useful data is transferred in this field. 9.2.3.5 Checksum At the universal 232 protocol the following checksums can be selected: XOR, bytewise sum, XOR with negated result and bytewise sum with negated result.
Implemented protocols in UNIGATE RS Deutschmann Automation GmbH & Co. KG 9.3.1 Data structure 3964R 9.3.2 Protocol definitions The telegram format is as follows: Data The received net data is forwarded (transparently) in both directions unchanged. • Attention: The DLE-doubling is excluded from it; that means one DLE (10H) on the bus-side is sent on the RS-side twice.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE RS 9.3.4 State of the 3964R communication The current state of the 3964R communication will be mapped in the fieldbus, if the parameter 3964R is activated in WINGATE. The states can be taken from the below table. This parameter takes effect from software revision 3.41 on and can be adjusted by means of the WINGATE soft-...
Implemented protocols in UNIGATE RS Deutschmann Automation GmbH & Co. KG 9.4.1 Operating sequence of the data transmission The first 6 bytes of the above described data always contain an RK512-command, that is initiated by the sender. The last two bytes either contain 2 byte data (as a reply to a FETCH-command) or 2 byte receipt (as a reply to a SEND-command).
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE RS Since the Modbus operates with a variable data format - dependent on the required function and data length - but since the fieldbus requires a fixed data length, this must be preset by means of a selection in the GSD file (input and output are identical).
Implemented protocols in UNIGATE RS Deutschmann Automation GmbH & Co. KG In addition, a "Response time" which corresponds to the maximum time up to which the field- bus-master responds after a request must be set an dat the rotary switch on the RS-side the MODBUS-ID has to be set, under which the gateway is addressed in the Modbus.
Deutschmann Automation GmbH & Co. KG Generating a script - only for UNIGATE SC 10 Generating a script - only for UNIGATE SC 10.1 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.
Generating a script - only for UNIGATE SC Deutschmann Automation GmbH & Co. KG 10.6 The use of the Protocol Developer The Protocol Developer is a tool for an easy generation of a script for our script gateways. Its operation is exactly aimed at this use. After starting the program the script that was loaded the last time is loaded again, provided that it is not the first start.
Deutschmann Automation GmbH & Co. KG Generating a script - only for UNIGATE SC 4800 baud: 0.16% 9600 baud: 0.16% 19200 baud: 0.16% 38400 baud: 1.35% 57600 baud: 1.35% 62500 baud: 115200 baud: 1.35% 312500 baud: 625000 baud: 10.8 Script processing times The Script is translated by the Protocol Developer and the consequently generated code is loaded into the Gateway.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11 Hardware ports, switches and LEDs 11.1 Drawing of the unit 11.1.1 Model UNIGATE RS / SC 232/485-ProfibusDP UNIGATE fieldbus gateway for ProfibusDP V. 4.7 29.4.11...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11.1.2 Model UNIGATE RS / SC 232/422-ProfibusDP 11.2 Configuration of the UNIGATE RS The gateway is delivered by the manufacturer with the following configuration - Transparent data transmission (i.e. Layer 7 is transferred unchanged).
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11.4 Connectors 11.4.1 Connector to the external device (RS-interface) The connection cable to the external device must be plugged in at the connector accessible on the underside of the device.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG Pin assignment (2-pin screw-type/plug connector; only in conjunction with 9-pin D-SUB.) Pin No. Name Function 10.8.30 V / DC 10.8..30 V supply voltage 0 V / DC 0 V supply voltage 11.4.2 ProfibusDP connector...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11.5.1 LED “Bus Error“ This LED is activated directly by the Profibus ASIC and signals that the Profibus is not in “DATA EXCHANGE” status. 11.5.2 LED “Bus Power“ This LED is connected directly to the electrically isolated supply voltage of the Profibus end.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11.6.2 Slide switch Termination Profibus If the gateway is operated as the first or last physical device in the ProfibusDP, there must be a bus termination at this gateway. In order to do this, either a bus terminating resistor must be acti- vated in the connector or the resistor (220 ) integrated in the gateway must be activated.
Deutschmann Automation GmbH & Co. KG Error handling 12 Error handling 12.1 Error handling at UNIGATE RS 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 40
Error handling Deutschmann Automation GmbH & Co. KG In the configuration mode these displays are not valid and only meant for internal use. Error no. LED8 LED4 LED2 LED1 resp. ID Error description Reserved Hardware fault EEROM error Internal memory error...
Deutschmann Automation GmbH & Co. KG Housing variations 13 Housing variations Optional Deutschmann Automation GmbH & Co. KG supplies gateways with housing-variations that fulfill the protection type IP 65/66. Housings are designed to protect installations against dangers from the outside. These dangers can be of diverse nature and they are very important for the selection criteria of a specific hous- ing variation.
Page 42
Housing variations Deutschmann Automation GmbH & Co. KG The fieldbus leadings have to go through the PG - screwing - without connecting the shield with the housing. The shield of the fieldbus cable have to be put exclusive on the D-sub-plug Except for the DeviceNet gateway: Here the shield is put on the PG-screwing.
Deutschmann Automation GmbH & Co. KG Installation guidelines 14 Installation guidelines 14.1 Installation of the module The module of size (90 x 127 x 55 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 DIN-rail to...
Installation guidelines Deutschmann Automation GmbH & Co. KG 14.2.2 ProfibusDP communication interface 14.2.2.1 Bus line with copper cable This interface is located on the module in the form of a 9-pin SUB-D socket on the front side of the housing.
Deutschmann Automation GmbH & Co. KG Installation guidelines Group A: • shielded bus and data lines (e.g. for ProfibusDP, RS232C and printers etc.) • shielded analogue lines • unshielded lines for DC voltages 60 V • unshielded lines for AC voltage 25 V •...
Page 46
Installation guidelines Deutschmann Automation GmbH & Co. KG Please note the following points when shielding: Use metal cable clips to secure the shield braiding. The clips must surround the shield over a • large area and must have good contact.
Deutschmann Automation GmbH & Co. KG ProfibusDP 15 ProfibusDP 15.1 Desription of the DPV1-/DPV2-functions 15.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.
ProfibusDP Deutschmann Automation GmbH & Co. KG 15.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 49
Deutschmann Automation GmbH & Co. KG ProfibusDP 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...
Deutschmann Automation GmbH & Co. KG ProfibusDP Supposing the DPV1 is activated and a master (which does not support the alarms and status messages) is connected, then our gateway error number is presented as "external diagnosis" with 4 bytes (see above), at which point the 4th byte contains the error number and the preceding 3 bytes (0x81, 0x00, 0x00) can be ignored.
Technical data Deutschmann Automation GmbH & Co. KG 16 Technical data 16.1 Device data The technical data of the module is given in the table below. No. Parameter Data GL-certified design Explanations Location Switch cabinet On ships DIN-rail mounting Enclosure...
Page 53
Deutschmann Automation GmbH & Co. KG Technical data The table below lists all tests, standards and regulations on the basis of which the module has been tested. No. Parameter Data GL-certified design Explanations 5 Hz f 26 Hz, amplitude = 2 Hz f25 Hz : ±1.6 mm...
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 ProfibusDP RS232-C RS485/RS422 No.
Deutschmann Automation GmbH & Co. KG Technical data 16.2 Housing data The table below lists the technical data of the different housing variations. Aluminium housing High-grade steel housing Polycarbonate housing (supplied until January 2006 Material AlSi12, DIN 1725 High-grade-steel 1.25 mm, Polycarbonat, thermoplasti- 1.4404/316L...
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: UNIGATE • Connection cable from gateway to the process •...
Deutschmann Automation GmbH & Co. KG Commissioning guide Example: The Profibus-ID is 26 decimal = 1A hexadecimal The switch "Profibus-ID High" must be set to 1 and the switch "Profibus-ID Low must be set to A. From software V4.1 on the UNIGATE PB features the following functions: If the rotary switch is set to "7E"...
Servicing Deutschmann Automation GmbH & Co. KG 18 Servicing Should questions which are not covered in this Manual crop up, please contact us directly. Please note down the following information before calling: • Device designation • Serial number (S/N) Article number •...
Deutschmann Automation GmbH & Co. KG Annex 19 Annex 19.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...
Deutschmann Automation GmbH & Co. KG Drilling templates 20 Drilling templates The following drawings are not true to scale! 20.1 Aluminium housing 29.4.11 UNIGATE fieldbus gateway for ProfibusDP V. 4.7...
Deutschmann Automation GmbH & Co. KG Drilling templates 20.3 Polycarbonate housing ! Supplied until January 2006 ! 29.4.11 UNIGATE fieldbus gateway for ProfibusDP V. 4.7...
Declaration of conformity and certificates Deutschmann Automation GmbH & Co. KG 21 Declaration of conformity and certificates 21.1 EG Certificate of conformance EG Conformity Certification As defined by EG-EMV guideline (92/31/EWG) Herewith we, company Deutschmann-Automation GmbH Max-Planck-Straße 21 D-65520 Bad Camberg...
Deutschmann Automation GmbH & Co. KG Declaration of conformity and certificates 21.2 Certificate Germanischer Lloyd A device certified by the ’Germanischen Lloyd’ in compliance with the certificate no. 42407 - 01 HH is available by the Cert.no. V3073. 29.4.11 UNIGATE fieldbus gateway for ProfibusDP V. 4.7...
Page 66
Declaration of conformity and certificates Deutschmann Automation GmbH & Co. KG UNIGATE fieldbus gateway for ProfibusDP V. 4.7 29.4.11...
Page 67
Deutschmann Automation GmbH & Co. KG Declaration of conformity and certificates 29.4.11 UNIGATE fieldbus gateway for ProfibusDP V. 4.7...
Need help?
Do you have a question about the UNIGATE RS232/485 - ProfibusDP and is the answer not in the manual?
Questions and answers