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 Independence of buses ......19 Further settings at the Gateway ..... . 19 The use of the Protocol Developer .
Page 6
Deutschmann Automation GmbH & Co. KG UNIGATE fieldbus gateway UNIGATE CL - DeviceNet V. 2.8 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.
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...
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-DeviceNet module serves to adapt a serial port to DeviceNet in accordance with "DeviceNet Specification Release 2.0". In this application, it functions as a Gateway and operates as DeviceNet "Group 2 Only Slave". It can be operated by any standard-compliant Master.
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 ® The UNIGATE CL - DeviceNet has the interfaces RS232, RS422 and RS485 available. The hardware always features a DEBUG-interface, see chapter 7. ® Buffer sizes at the UNIGATE ®...
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.
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 ®...
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 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%...
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".
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...).
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.3.4 Conflicts 10.3.4.1 Timeout times The timeout times are preset by the definition of the 3964R protocol and cannot be overwritten !!! tq = acknowledgement timeout time (2 s).
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG The user can choose whether the fieldbus requests are forwarded to the Modbus in an event-driven way (On Event) or on request (On Trigger). The mode "Modbus request on demand" necessitates the first byte in the fieldbus containing a trigger byte (see chapter 10.9).
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.4.3.2 Data structure 10.4.3.3 Communication sequence The gateway always acts as the Slave with respect to the fieldbus and also acts as Slave at the Modbus end. A data exchange is always initiated by the MODBUS-Master via the RS-interface. If...
Page 28
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG Data structure 10.5.1.1 Example: FC1 + FC2 A Modbus Master (external device) sends a request with function code 1 or 2. Note: Modbus Master Request Address (High + Low) Address request 01 ..
Page 30
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG With FC1 and the coil length = 80 (10 Bytes) a Modbus Master reads out the following data: The fieldbus output data is only updated if it’s triggered via a write command from the RS side....
Page 31
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script The internal buffer reserves this value, which means it can be read back by the Master via FC1 Read Coil status: 10.5.1.4 Example: Write Single Register FC6 Modbus Master sends the value 1234H in Address 0008: ®...
Page 32
Implemented protocols in UNIGATE® CL with Universal Script Deutschmann Automation GmbH & Co. KG Adr 0002 ... 004 was changed from Low to High The 1st row shows the fieldbus BEFORE the request: 1F 00 FF 03 04 05 06 07 FF 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00...
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.6 Protocol „Universal Modbus RTU Master“ ® The UNIGATE is Modbus-Master on the Application side. 10.6.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.6.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 35
Deutschmann Automation GmbH & Co. KG Implemented protocols in UNIGATE® CL with Universal Script 10.6.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 37
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....
Page 38
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.
Page 40
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.7 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, DIP-switch 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.
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs 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...
Hardware ports, switches and LEDs Deutschmann Automation GmbH & Co. KG 11.3.3 LED "Power" This LED is connected directly to the (optionally also electrically isolated) supply voltage of the serial interface (RS232/422/485). 11.3.4 LED "State" Lights green Controllable via Script...
Deutschmann Automation GmbH & Co. KG Hardware ports, switches and LEDs Note: The switch position "DD" (ie, S4 and S5 in position "D") is reserved for internal purposes. 11.4.3 Termination (DeviceNet) If the Gateway is operated as the first or last physical device in the DeviceNet, there must be a bus termination at this Gateway.
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 47
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 115 x 116 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.2 DeviceNet communication interface 13.2.2.1 Bus line with copper cable This interface is located on the module in the form of a 5-pin screw-plug-connector on the lower side of the housing. •...
Page 50
Installation guidelines Deutschmann Automation GmbH & Co. KG Interference currents on cable shields are discharged to earth via the shielding bus which is con- nected conductively to the chassis or housing. A low-impedance connection to the PE wire is particularly important in order to prevent these interference currents themselves becoming an interference source.
Deutschmann Automation GmbH & Co. KG DeviceNet 14 DeviceNet 14.1 The Product Code The device’s Product Code is an unsigned integer value (UINT) with values ranging between 0 and 65535 and it is included in the first instance (01 hex) of the Identity Object (01 hex) in attri- bute 3 (0003 hex).
Deutschmann Automation GmbH & Co. KG DeviceNet MaxInst $ no parameters supported Descriptor 0x0003; $ supports parameter instances and full attributes CfgAssembly= $ not used here [Params] [Groups] $ End of File Note: 1. These default-values can be changed via the Script (see the Online-Help of the Protocol Developer for it).
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 DeviceNet 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 Attention: The DeviceNet address set must correspond to the planned address! All users in the DeviceNet have to use the same Baud rate! These values are read in only on power-up of the gateway! 16.7 DeviceNet™...
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 - DeviceNet and is the answer not in the manual?
Questions and answers