Page 6
Deutschmann Automation GmbH & Co. KG 16.11 Project planning ......45 16.12 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 – 2010. 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 requirements.
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 CL-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.
Introduction Deutschmann Automation GmbH & Co. KG UNIGATE block diagram The following picture shows a typical UNIGATE-module design. UNIGATE application diagram The following graph shows a typical connection scheme. UNIGATE fieldbus gateway UNIGATE CL - ProfibusDP V. 2.3 17.6.10...
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 CL The UNIGATE CL - ProfibusDP has the interfaces RS232, RS422 and RS485 available. The hardware always features a DEBUG-interface, see chapter 7. Buffer sizes at the UNIGATE CL UNIGATE CL features at the serial side a buffer with the size of 1024 bytes for input data and output data each.
(example CL-PB): Special Firmware (23) not loaded RS-PBV1-CL (232/422/485) V7.31[30] (c)dA Switch=0x02FF Script(8k)="SSI" Aut- hor="Deutschmann Automation" Version="V 1.0" Date=20.03.2008 SN=47110002 ID=2 Konfigmode... The note "Special Firmware (23) not loaded" means that the firmware-extension is not yet loaded.
Page 16
SSI-interface Deutschmann Automation GmbH & Co. KG X1 (3pin + 4pin screw-plug-connector): Pin no. Name Function at SSI Rx 232 n. c. Tx 232 n. c. AP-GND n. c. Rx 422+ SSI DAT+ Rx 422- SSI DAT- Tx 422+ SSI CLK+...
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.
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 8.3.
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.
Generating a Script Deutschmann Automation GmbH & Co. KG 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 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: Script processing times The Script is translated by the Protocol Developer and the consequently generated code is loa- ded into the Gateway.
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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE CL with Universal Script 10.2.3 RS232 parameter table 10.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.
Implemented protocols in UNIGATE CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.3.1 Data structure 3964R 10.3.2 Protocol definitions The telegram format is as follows: Data • The received net data is forwarded (transparently) in both directions unchanged.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE CL with Universal Script 10.3.4 Protocol type 3964 The difference to protocol type 3964R is: 1. tq = acknowledge monitoring time 2. The checksum byte BCC is missing. 10.4 Protocol: MODBUS-RTU 10.4.1 Notes...
Implemented protocols in UNIGATE CL with Universal Script Deutschmann Automation GmbH & Co. KG 10.4.2.2 Data structure 10.4.2.3 Communication sequence The gateway always acts as the Slave with respect to the fieldbus and always acts as the Master at the Modbus end. Thus, data exchange must always be started by the fieldbus Master. The gateway fetches this data which must be structured in accordance with chapter "Data structure“,...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE CL with Universal Script The fieldbus-master detects when it has to analyse a record via the Trigger byte which is incre- mented by the gateway at every inquiry. The number of the following Modbus-data is to be found in the length byte.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11 Hardware ports, switches and LEDs 11.1 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.
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs For the operation at a 485-interface the two pins labeled "485-" have to be connected together. Also the two pins "485+". 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.
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11.3 LEDs The Gateway UNIGATE CL - Profibus features 9 LEDs with the following significance: LED (Bus) Power green Supply voltage Profibus LED Bus Profibus error LED (Bus) State...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 11.4.1 Termination Rx 422 + Tx 422 (serial interface) If the Gateway is operated as the physically first or last device in an RS485-bus or as 422, there must be a bus termination at this Gateway. In order to do this the termination switch is set to posi- tion ON.
Error handling Deutschmann Automation GmbH & Co. KG 12 Error handling 12.1 Error handling at UNIGATE CL 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.
Deutschmann Automation GmbH & Co. KG Installation guidelines 13 Installation guidelines 13.1 Installation of the module The module with the dimensions 23 x 111 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 DIN-rail to EN 50022).
Installation guidelines Deutschmann Automation GmbH & Co. KG 13.2.1.2 Equipotential bonding connection The connection to the potential equalization automatically takes place it is put on the DIN-rail. 13.2.2 ProfibusDP communication interface 13.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.
Deutschmann Automation GmbH & Co. KG Installation guidelines 13.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.
ProfbusDP Deutschmann Automation GmbH & Co. KG 14 ProfbusDP 14.1 Description of the DPV1-/DPV2-functions 14.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.
Deutschmann Automation GmbH & Co. KG ProfbusDP 14.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 38
ProfbusDP 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...
ProfbusDP Deutschmann Automation GmbH & Co. KG 14.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.
Deutschmann Automation GmbH & Co. KG Technical data 15 Technical data 15.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...
Technical data Deutschmann Automation GmbH & Co. KG 15.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 Commissioning guide 16 Commissioning guide 16.1 Note Only trained personnel following the safety regulations may commission the UNIGATE. 16.2 Components You will require the following components to commission the UNIGATE: • UNIGATE • Connection cable from gateway to the process •...
Page 44
Commissioning guide Deutschmann Automation GmbH & Co. KG Example: The Profibus-ID is 26 decimal = 1A hexadecimal The switch "Profibus-ID High" has to be set to 1 and the switch "Profibus-ID Low has to be set to If the rotary switch is set to "7E" (=126) on the Profibus-side (Profibus-ID), the gateway operates with a Profibus-address, that is stored in the EEROM.
Deutschmann Automation GmbH & Co. KG Commissioning guide 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! 16.7 Profibus connection Connect the device to the Profibus at the interface labelled "PROFIBUS".
Servicing Deutschmann Automation GmbH & Co. KG 17 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) •...
Need help?
Do you have a question about the UNIGATE CL ProfibusDP and is the answer not in the manual?
Questions and answers