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 What can you do with a Script device? ....20 Independence of buses ......20 Further settings at the Gateway .
Page 5
Deutschmann Automation GmbH & Co. KG 11.2.3 MPI-bus-connector ....... 41 11.2.4 Power supply .
Page 6
Deutschmann Automation GmbH & Co. KG 16.11 Literature ....... . . 53 17 Servicing .
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.
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-Str. 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 module UNIGATE CL-MPI serves to adapt a serial port to the Siemens MPI-bus. In this application, it functions as a Gateway and operates as MPI master or slave, optionally adjustable via Script.
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 •...
Operation modes of the Gateway Deutschmann Automation GmbH & Co. KG Data exchange mode The Gateway has to be in the data exchange mode, so that a data exchange between the RS-side of the Gateway and the fieldbus is possible. As long as the Gateway is not in the config- uration mode or the test mode, the data exchange mode is active.
Deutschmann Automation GmbH & Co. KG RS-interface RS-interface ® RS-interfaces at the UNIGATE ® The UNIGATE CL - MPI has the interfaces RS232, RS422 and RS485 available. The hardware always features a DEBUG-interface, see chapter 7. ® Buffer sizes at the UNIGATE ®...
SSI-interface Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG SSI-interface 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 ®...
The Debug-interface Deutschmann Automation GmbH & Co. KG The Debug-interface Overview of the Debug-interface ® The UNIGATE CL 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.
Generating a Script Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Generating a Script 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.
Generating a Script Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script ® 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".
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script Receive data at the RS interface is evaluated in accordance with the configured protocol, and the data field (data area (see chapter 10.2.1)) is sent to the fieldbus Master. If more characters have been received than the fieldbus block length, the trailing bytes are truncated and an Rx Overrun is indicated.
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG Note: The 1. byte (0x08) is the fieldbus length byte. This means only the following 8 Bytes are ® stored in the UNIGATE ® Connected Modbus Master sends request to the RS232/484 side of the UNIGATE :...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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:...
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 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:...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.4 Protocol „Universal Modbus RTU Master“ ® The UNIGATE is Modbus-Master on the Application side. 10.4.1 Data structure Fieldbus side (e.g. PROFIBUS): Applies to In and Out...
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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....
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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....
Implemented protocols in UNIGATE® CL with Universal Script 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® CL with Universal Script 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.
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 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....
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 MPI 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.1 LED "(Bus) Power" This LED is connected directly to the electrically isolated supply voltage of the MPI-bus-side. 11.3.2 LED "Bus" This LED is directly controled by the MPI-bus ASIC and signals that the MPI-bus is in the state "DATA Sync.".
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs At RS48 only the Tx 422-switch must be set to ON. The Rx 422-switch has to be on OFF. 11.4.2 Rotary coding switches S4 + S5 (serial interface) These two switches can be read out through the Script command "Get (RS_Switch, Destination)"...
Error handling Deutschmann Automation GmbH & Co. KG 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.“ as shown in the table below.
Page 45
Deutschmann Automation GmbH & Co. KG Error handling 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).
Installation guidelines Deutschmann Automation GmbH & Co. KG 13 Installation guidelines 13.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).
Deutschmann Automation GmbH & Co. KG Installation guidelines 13.2.1.2 Equipotential bonding connection The connection to the potential equalization automatically takes place when it is put on the DIN-rail. 13.2.2 MPI-bus 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.
Installation guidelines Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Representation of the data in a S7 14 Representation of the data in a S7 Any MPI-device (e. g. S7 - 300) can exchange data with the Gateway. It is also possible to use very "simple"...
Technical data Deutschmann Automation GmbH & Co. KG 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...
Deutschmann Automation GmbH & Co. KG Technical data 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 MPI-bus RS232-C RS485/RS422 No.
Commissioning guide Deutschmann Automation GmbH & Co. KG 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 ® •...
Deutschmann Automation GmbH & Co. KG Commissioning guide 16.6 Setting the MPI-address Set the MPI-address at the fieldbus end of the module on the two rotary switches designated "High" and "Low". This adjustment is carried out in a hexadecimal way.
Servicing Deutschmann Automation GmbH & Co. KG 17 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 18 Annex 18.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...
Need help?
Do you have a question about the UNIGATE CL-MPI and is the answer not in the manual?
Questions and answers