Deutschmann Automation GmbH & Co. KG General introduction ......9 ® The UNIGATE IC ......10 Technical introduction .
Page 3
Deutschmann Automation GmbH & Co. KG Synchronous serial interface ....24 Shift register operation ......24 5.1.1...
Page 4
Deutschmann Automation GmbH & Co. KG 11.5 Operation mode of the IC ......38 12 Technical data ......39 12.1 Mechanics of the UNIGATE...
Page 5
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
Page 6
We would be pleased to receive any improvement proposals which you may have. Copyright Copyright (C) Deutschmann Automation GmbH & Co. KG 1997 – 2018. All rights reserved. This document may not be passed on nor duplicated, nor may its contents be used or disclosed unless expressly permitted.
Page 7
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
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 ®...
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 transmit enable Logic ground supply voltage of the IC The PROFIBUS signals are galvanically isolated. The insulation voltage is 1000 Vrms. Version without 485 (ROFIBUS) - driver (see chapter 3.7 and chapter 3.10.2).
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.
After the RS232-driver has been replaced by the UNIGATE IC, the PROFIBUS is available at the 9-pol. D-sub-socket. 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.
Page 15
Hardware design Deutschmann Automation GmbH & Co. KG ® Version 2: Use of UNIGATE IC for digital or analog I/O-modules Out N-M Out 1-8 UNIGATE Profibus D-Sub Not used Not used IN N-M IN 1-8 Here only the synchronous serial interface is used, the asynchronous serial interface is basically of no account.
Page 16
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 IC at the same time.
Hardware design Deutschmann Automation GmbH & Co. KG Valid for all versions: A planed plug connection of the serial interface in the application offers the possibility of an update of the firmware or the software via an external connection. D-Sub...
Page 18
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 19
Hardware design Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
Deutschmann Automation GmbH & Co. KG Hardware design Operation with external PROFIBUS-driver Note: Only in connection with IC-version “without 485 (PROFIBUS) - driver“. Termination (PROFIBUS) Generally it is recommended to use a PROFIBUS connector with integrated bus termination. If this is not possible a switchable terminating resistor (220 R) can be integrated on the carrier board.
Hardware design Deutschmann Automation GmbH & Co. KG The advantage of the socketed variant is the easy download of Script- and Firmware-updates, if the carrier board is not designed for it. Besides, that way the Fieldbus can be changed easily by ®...
IC, the module carries out actions indepen- dently, in order to identify data from the connected device. For customers who already have a software-adaptation at he company Deutschmann Automation, this protocol as well or a Script after an adaptation can be processed by the IC.
Synchronous serial interface Deutschmann Automation GmbH & Co. KG 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 •...
Deutschmann Automation GmbH & Co. KG Synchronous serial interface 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...
The Debug-interface Deutschmann Automation GmbH & Co. KG 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-PB-SC V5.9A[25] (c)dA Script(2k)="Leer" Author="Deutschmann Automation GmbH" Version="1.0" Date=21.08.2001 SN=47110001 ID=1 ®...
Page 27
Script and configuration Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
Deutschmann Automation GmbH & Co. KG Script and configuration 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.
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% 57600 baud: 1.35%...
PROFIBUS DP Deutschmann Automation GmbH & Co. KG PROFIBUS DP ® At present UNIGATE IC PROFIBUS DP supports PROFIBUS DP as version DPV0 - DPV2. Any imaginable combination of input- and output-quantities is possible. In case a desired combination is not included in the GSD files (DAGW2079.GSD, UGIC3218.GSD) it can be described by stat- ing configuration octets (see chapter 15).
Deutschmann Automation GmbH & Co. KG PROFIBUS DP Setting the PROFIBUS-address There are different possibilities to set the IC’s PROFIBUS-address. Setting the address through the configuration ® The UNIGATE IC has to be in the configuration mode (see also chapter 7.2 ’The configura- tion mode’).
Page 35
PROFIBUS DP Deutschmann Automation GmbH & Co. KG Script example for the initialization of the PROFIBUS var InSize: word; var OutSize: word; Set (FieldbusID, 4) ; // this parameter can also be set by the command SetByVar. // var PBAddress: long;...
Deutschmann Automation GmbH & Co. KG Error handling at UNIGATE® IC ® 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.
Execution of the firmware-update The safest way for the firmware-update is the use of the basic board combined with the software “FDT.EXE“ (firmware-download-tool). These tools are available from Deutschmann Automation (see chapter 13 on page 40). It is also possible to use the description and the tools of the manufacturer of the controller (TEMIC, 89C51RD2) as well.
Deutschmann Automation GmbH & Co. KG Technical data 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 ®...
Technical data Deutschmann Automation GmbH & Co. KG ® 12.2 Technical data UNIGATE IC-PROFIBUS Characteristics Explanation Supply voltage 3.3 V / 5 V + 5 %, 170 mA (typ.), 200 mA (max.) Interface 2 UART interfaces, 1 synchronous serial interface Physical separation...
The Developer Board was developed so that the fast implementation of the Deutschmann All-in- ® 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. ® 16.5.18 Instruction manual UNIGATE...
Accessory Deutschmann Automation GmbH & Co. KG ® The required UNIGATE IC / ICs are ordered separately. The required voltage (5V or 3.3V, depending on the version) can be adjusted. An RS232-interface or a USB-connection is avail- able for the connection to the PC (Debug-interface).
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...
Appendix Deutschmann Automation GmbH & Co. KG PROFINET-IO PBDP PROFIBUS DP ® PBDPL PROFIBUS DP-version L (see comparison table UNIGATE IC for the respective product) ® PBDPX PROFIBUS DP-version X (see comparison table UNIGATE IC for the respective product) ®...
Page 44
Deutschmann Automation GmbH & Co. KG Appendix Slot X 1 (ZIF-socket) PIN 1 of the IC is located up at the lever of the ZIF-socket. Never place the IC into the socket back to front! Signal Pin 1 24 V DC...
Page 45
Appendix Deutschmann Automation GmbH & Co. KG Force Boot. By setting this bridge the Pin BE is dragged to Ground. For the function see chapter 11.2.1. P 13 Status signal of the IC Plug connector P 13 Signal -RESET RX of the IC (TTL-level)
Page 46
Deutschmann Automation GmbH & Co. KG Appendix P 15, SW1H, SW1L Input shift register Basically the same applies as for P 14, with the exception that different input bits of the shift reg- isters are wire. Connection Meaning P 12 Input 1 ..
Appendix Deutschmann Automation GmbH & Co. KG SW3, SW4 These switches are required for the setting of the serial interface. The switch SW3 is used to switch between interface RS232 and RS485. This is the interface, the customer’s device is con- nected to.
Deutschmann Automation GmbH & Co. KG Appendix Pin assignment P2 (2-pin screw-type/plug connector) Pin No. Name Function 10.8...30 V / DC 10.8...30 V supply voltage 0 V / DC 0 V supply voltage 14.2.2.2 PROFIBUS DP connector The connector for connection to PROFIBUS is located on the upper side of the device.
Deutschmann Automation GmbH & Co. KG Representation of the data in PROFIBUS DP 15 Representation of the data in PROFIBUS DP Any standard-compliant PROFIBUS DP Master can exchange data with the gateway. It is also possible to use very "simple" Master connections owing to the data structure.
Representation of the data in PROFIBUS DP Deutschmann Automation GmbH & Co. KG 15.2 Configuration telegram Octet 1 Configuration byte 1 Octet 2 Configuration byte x Structure of an octet in the configuration telegram: Length of the data 00 = 1 byte / word...
Deutschmann Automation GmbH & Co. KG Representation of the data in PROFIBUS DP 15.3 Diagnosis Diagnostic data is high-priority data. The gateway runs an external diagnostic if it detects an internal error. Representation of the information in the external diagnostic byte: The diagnostic information of a DP Slave consists of standard diagnostic information items...
Page 55
Representation of the data in PROFIBUS DP Deutschmann Automation GmbH & Co. KG Octet 2 Diag.Prm_req Slave must be reprogrammed Diag.Stat_diag Static diagnostic (byte Diag-Bits) Permanently set to 1 Diag.WD_ON Response monitoring active Diag.freeze_mode Freeze command received Sync_mode Sync command received reserved Diag.deactivated (sets Master)
Deutschmann Automation GmbH & Co. KG Representation of the data in PROFIBUS DP Octet 6 Ident. number low byte Octet 7 External diagnosis: header, length entry Octet 8 ® UNIGATE error number 15.3.1 Diagnosis in DPV1 The "external diagnosis" of DPV0 (old PB) is used differently at DPV1. At DPV1 the alarms and the status messages are transferred there.
Representation of the data in PROFIBUS DP Deutschmann Automation GmbH & Co. KG 15.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 Servicing 16 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 59
Servicing Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
Page 60
Deutschmann Automation GmbH & Co. KG Servicing ® 16.5.18 Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1...
Page 62
Deutschmann Automation GmbH & Co. KG Servicing ® 16.5.18 Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1...
Page 63
Servicing Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - PROFIBUS DP V. 5.1 16.5.18...
Need help?
Do you have a question about the UNIGATE IC and is the answer not in the manual?
Questions and answers