Deutschmann Automation GmbH & Co. KG General introduction ..... . . 10 ® The UNIGATE IC ......11 Technical introduction .
Page 5
Deutschmann Automation GmbH & Co. KG The Debug-interface ......26 Overview of the Debug-interface ....26 Starting in the Debug-mode .
Page 6
Deutschmann Automation GmbH & Co. KG 12 Technical data ......39 ® 12.1 Mechanics of the UNIGATE IC .
Page 7
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 4.0 9.2.22...
Page 8
We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 – 2022. All rights reserved. This document may not be passed on nor duplicated, nor may its contents be used or disclosed unless expressly permitted.
Page 9
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 4.0 9.2.22...
Through the flexible firmware of UNIGATE IC no software-changes are required on the side of the customer! Since 1997 Deutschmann Automation has experience in the field of fieldbus gateways; this enormous experience results in the UNIGATE ® IC as a consistent sequel of this successful product line.
The UNIGATE ® IC by Deutschmann Automation contains all components that are required for the communication in a fieldbus in one single module. Therefore a developer does not have to take care for that detail any more, only a hardware redesign is necessary in order to integrate the UNIGATE ®...
Deutschmann Automation GmbH & Co. KG The UNIGATE® IC ® UNIGATE IC hardware survey The hardware of the UNIGATE ® IC consists of some few standard components. The picture below shows the functional structure of the IC. LOAD DATA DATA...
Hardware design Deutschmann Automation GmbH & Co. KG Hardware design This chapter gives basic advise, that is required in order to load UNIGATE ® IC into your own hardware designs. In the following all ports of UNIGATE ® IC are described in detail.
Deutschmann Automation GmbH & Co. KG Hardware design * The supply voltage is 5 V +/- 5 %, max. 75 mA DC (optionally 3,3V). The DeviceNet signals are galvanically isolated. The insulation voltage is 1000 Vrms. < 0.3V / 5mA >...
The script itself can be generated by the company Deutschmann Automation or with the software Protocol Developer by yourself. For a detailed description of the script.commands of the Protocol Developer see the instruction manual Proto- col Developer and the online documentation concerning script-commands.
® IC, the DeviceNet is available at the 5-pol. screw-plug connector. Deutschmann Automation is also offering an appropriate adapter board. With it existing devices can be adapted without re-design; see chapter 13. Connection examples Here you will find some advise that offers help for a re-design. In the following several versions are listed, that should make it easier for you to decide.
Page 17
Hardware design Deutschmann Automation GmbH & Co. KG Version 2: Use of UNIGATE ® IC for digital or analog I/O-modules Here only the synchronous serial interface is used, the asynchronous serial interface is basically of no account. If you want to program the script in your completed application, then the use of a connector for the asynchronous interface is recommended.
Page 18
Deutschmann Automation GmbH & Co. KG Hardware design The following circuit diagram is an example for how shift register components can be connected to the IC. Version 3: Example for digital I/Os The serial synchronous and the asynchronous interface as well can be operated by UNIGATE ®...
Hardware design Deutschmann Automation GmbH & Co. KG Layout examples ® Instruction manual UNIGATE IC - DeviceNet V. 4.0 9.2.22...
Page 20
Deutschmann Automation GmbH & Co. KG Hardware design The 74HCT595 used in this example has an undefined on-position, but therefor can set the outputs to the tri-state condition via the OutEnable- Pin 13. If it is more important to have a defined on-position in an applica- tion, and the OutEnable-pin is not necessary, the 74HCT594 can be used here.
Page 21
Hardware design Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 4.0 9.2.22...
Deutschmann Automation GmbH & Co. KG Hardware design ® Handling (mounting the UNIGATE IC on the carrier board) Depending on the application and the expected shock- and vibration-conditions you can choose from the following possibilities for the UNIGATE ® IC’s installation on the carrier board: •...
IC, the module carries out actions inde- pendently, in order to identify data from the connected device. For customers who already have a software-adaptation at he company Deutschmann Automation, this protocol or script as well can be processed by the IC after an adaptation.
Deutschmann Automation GmbH & Co. KG Synchronous serial interface Synchronous serial interface ® The synchronous serial interface of the UNIGATE IC is used to connect clocked shift registers or components that have a Serial Peripheral Interface (SPI). It allows •...
Synchronous serial interface Deutschmann Automation GmbH & Co. KG Set( ShiftRegisterInputBitLength, 16 ); Set( ShiftRegisterOutputBitLength, 16 ); WriteShiftRegister( OutBuffer[0] ); ReadShiftRegister( InBuffer[0] ); // Input data is now in the INBuffer // 0x58 is applied to the outputs of the analog converter...
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.
UNIGATE IC. It shows its start in the con- figuration mode by issuing a status message, which might look as follows: "IC-DN-SC V4.03[26] (c)dA Script(8k)="Leer" Author="Deutschmann Automation GmbH" Version="1.0" Date=21.08.2001 SN=47110001“. Update the script ®...
Page 28
Deutschmann Automation GmbH & Co. KG Script and configuration Script Download Start Assert con g signal Delay 100 ms Trigger reset Clear input bu er Send <Ctrl-T> (0x14) De-assert con g signal Send <Ctrl-P> (0x10) Wait for reception of "OK" (0x4F 0x4B) in output from device (Timeout 100 ms) Wait for reception of "."...
Script and configuration Deutschmann Automation GmbH & Co. KG The operational sequence is as follows: The Gateway has to be in the config-mode. The script-download is initiated with "Ctrl-P (=0x10)". After that the data follows byte by byte as ASCII-hex-characters.
Page 30
Deutschmann Automation GmbH & Co. KG Script and configuration • Parity: None • Baud rate: 9600 Baud Default setting This configuration can be changed via the Script. ® 9.2.22 Instruction manual UNIGATE IC - DeviceNet V. 4.0...
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 loaded into the Gateway.
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 (UART) to the corresponding Fieldbus system. Layers 3 to 6 are blank, and Layer 7 is converted in accordance with chapter 9.1.3.
DeviceNet Deutschmann Automation GmbH & Co. KG Setting the DeviceNet-address There are different possibilities to set the IC’s DeviceNet-address. 1. Setting the address through the configuration ® The UNIGATE IC has to be in the configuration mode chapter 7.2. With WINGATE it is now possible to set the address.
Page 36
Deutschmann Automation GmbH & Co. KG DeviceNet Script example for the initialization of the DeviceNet var InSize: word; var OutSize: word; Set (FieldbusID, 4) ; // this parameter can also be set by the command SetByVar // var DNAddress: long;...
Error handling at UNIGATE® IC Deutschmann Automation GmbH & Co. KG ® 10 Error handling at UNIGATE A distinction can be made between two categories of system-errors: Serious errors (1-4): In this case, the Gateway must be switched off and switched back on again.
11.3 Execution of the firmware-update The safest way for the firmware-update is the use of the basis board combined with the software “FDT.EXE“ (firmware-download-tool). These tools are available from Deutschmann Automation (see chapter 13 on page 42). 11.4 Note on safety The firmware-update should only be carried out when there is no other possibility left.
Technical data Deutschmann Automation GmbH & Co. KG 12 Technical data ® In this chapter you will find all necessary technical data on UNIGATE All measurements in mm. ® 12.1 Mechanics of the UNIGATE ® 12.1.1 General dimensions of UNIGATE...
Page 40
Deutschmann Automation GmbH & Co. KG Technical data ® The pins of the UNIGATE ICs are arranged in a grid dimension of 2.54 mm 25,00 front 4,88 15,24 DIP-Spacing Code 6 In case you intend to use other fieldbus ICs, the maximum overall height of ...
® one bus node UNIGATE IC into your electronic system can be guaranteed. The board is suit- able for all Fieldbuses and Industrial Ethernet Buses supported by Deutschmann Automation. ® The required UNIGATE IC / ICs are ordered separately. The required voltage (5V or 3.3V, depending on the version) can be adjusted.
Accessory Deutschmann Automation GmbH & Co. KG The bus-connections according to standard or market standard are available to test the respec- tive bus-side. Optionally Deutschmann Add-on packages (bus-master simulation) are available. The board contains 32 bit input and 16 bit output, provided with one LED each. Different connec- tors allow an easy coupling to your processor.
Deutschmann Automation GmbH & Co. KG Appendix 14 Appendix 14.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 45
Appendix Deutschmann Automation GmbH & Co. KG product) ® PBDPX PROFIBUS DP-version X (see comparison table UNIGATE IC for the respective product) PBDPV0 = PROFIBUS DPV0 PBDPV1 = PROFIBUS DPV1 Serial RS232/485/422 ® Instruction manual UNIGATE IC - DeviceNet V. 4.0...
Deutschmann Automation GmbH & Co. KG Servicing 15 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 47
Servicing Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 4.0 9.2.22...
Need help?
Do you have a question about the UNIGATE IC-DeviceNet and is the answer not in the manual?
Questions and answers