Deutschmann Automation GmbH & Co. KG General introduction ..... . . 10 ® UNIGATE IC ......11 ®...
Page 5
Deutschmann Automation GmbH & Co. KG 5.2.1 Example-Script ......25 The Debug-interface ......26 Overview of the Debug-interface .
Page 6
Deutschmann Automation GmbH & Co. KG 10.6 Zero Configuration ......37 ® 10.7 Comparison with former UNIGATE FE .
Page 7
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.8 4.8.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 IC2 - Fast Ethernet V. 1.8 4.8.22...
Through the flexible firmware of UNIGATE IC2 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.
UNIGATE® IC Deutschmann Automation GmbH & Co. KG UNIGATE ® ® IC2 integrates all components necessary for the communication (hardware The UNIGATE ® drivers, protocol stacks, etc.). Besides the UNIGATE IC2 only connectors have to be integrated. The communication is defined flexibly and application-specific with a Script.
Deutschmann Automation GmbH & Co. KG UNIGATE® IC ® UNIGATE IC2 hardware survey ® The hardware of the UNIGATE IC2 consists of some few standard components. The picture below shows the functional structure of the IC2. ® 4.8.22 Instruction manual UNIGATE...
Hardware design Deutschmann Automation GmbH & Co. KG Hardware design ® This chapter gives basic advise, that is required in order to load UNIGATE IC2 into your own ® hardware designs. In the following all ports of UNIGATE IC2 are described in detail.
Deutschmann Automation GmbH & Co. KG Hardware design serial data RX internal pull-up Logic serial data TX Logic transmit enable Logic ground supply voltage of the IC2 The Ethernet signals are galvanically isolated. The insulation voltage is 1000 Vrms. < 0,7V >2,4V...
Hardware design Deutschmann Automation GmbH & Co. KG 3.2.8 LED-LINKACT A green LED can be connected to that line (see chapter 3.5). The LED indicates whether there is an Ethernet connection. (Link pulses are received). It flashes when there is data traffic in the net- work (activity) No difference between 10 and 100 MBit/s is made.
® After the RS232-driver has been replaced by the UNIGATE IC2, Ethernet is available at an RJ45-socket. Deutschmann Automation is also offering an appropriate adapter board. With it existing devices can be adapted without re-design; see chapter 14. ® 4.8.22 Instruction manual UNIGATE IC2 - Fast Ethernet V.
Hardware design Deutschmann Automation GmbH & Co. KG 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. Version 1: Use as a pure link module for the bus ®...
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 IC2. Version 3: Example for digital I/Os ® The serial synchronous and the asynchronous interface as well can be operated by UNIGATE IC2 at the same time.
Hardware design Deutschmann Automation GmbH & Co. KG Layout examples When connecting the UG-IC2 and the RJ45-connector it is important to make sure the signal lines RD-/RD+ resp. TD-/TD+ run as short as pos- sible, parallel and equal in length. Because this is for analog signals, it is also advisable to not place digital lines in close proximity.
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.
Hardware design Deutschmann Automation GmbH & Co. KG ® Handling (mounting the UNIGATE IC2 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 IC2’s installation on the carrier board: ®...
Deutschmann Automation GmbH & Co. KG Hardware design Requirement for Ethernet-Interface There is an extremly large number of suppliers for RJ45 connectors (with and without integrated Ethernet transformer), or single Ethernet transformers on the market, therefor it is not possible for us to test all possibilities.
IC2, 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 as well or a Script after an adaptation can be processed by the IC2.
Deutschmann Automation GmbH & Co. KG Synchronous serial interface Synchronous serial interface ® The synchronous serial interface of the UNIGATE IC2 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 WriteShiftRegister( OutBuffer[0] ); ReadShiftRegister( InBuffer[0] ); // Input data is now in the INBuffer // 0x58 is applied to the outputs of the analog converter // 0x21 at the shift register‘s outputs SPI mode Before the interface can be used in SPI mode, this must be initialized.
Deutschmann Automation GmbH & Co. KG The Debug-interface The Debug-interface Overview of the Debug-interface ® The UNIGATE IC2 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.
Operating modes of the IC2 Deutschmann Automation GmbH & Co. KG Operating modes of the IC2 Standard operating mode This mode is required for normal use of the IC2. In this mode the IC2 will process all script com- mands. It is also called data exchange mode.
Deutschmann Automation GmbH & Co. KG Script and configuration Script and configuration Overview ® The script stored in the UNIGATE IC2, as well as the configuration, can be replaced or updated via the serial interface (application) in the configuration mode.
Page 29
Script and configuration Deutschmann Automation GmbH & Co. KG 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 "."...
Page 30
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.
Script and configuration Deutschmann Automation GmbH & Co. KG ® Configuration of the UNIGATE ® UNIGATE IC2 is delivered with an empty Script. ® The configuration of the UNIGATE IC2 - Ethernet is limited to the setting of the IP configuration and the selection of DHCP.
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 Further settings at the gateway Most devices require no further adjustments, except for those made in the Script itself. However, there are also exceptions to it. These settings are made by means of the software WINGATE. If ®...
Page 34
Deutschmann Automation GmbH & Co. KG Generating a Script From experience approximately 10 µs can be calculated for each Script line. This value con- firmed itself again and again in many projects as a standard value. He is always quite right if the processor has enough time available for the Script processing.
Ethernet interface Deutschmann Automation GmbH & Co. KG 10 Ethernet interface 10.1 Communication protocols Four channels are available, each of which can be initialized with a protocol. TCP, UDP or Mod- bus/TCP are available as protocols. In addition, a separate protocol can be implemented via the raw mode.
Deutschmann Automation GmbH & Co. KG Ethernet interface 10.3 Web server If there are web pages, images or Java applets in the internal file system, they can be made accessible via the web server. (Files can be brought in via the FTP server).
Ethernet interface Deutschmann Automation GmbH & Co. KG 10.6 Zero Configuration ® The UNIGATE IC2-FE supports the function "Zero-Configuration". This means that the ® UNIGATE automatically uses an IP address within the range of the Zero-Configuration at IP address 0.0.0.0. However, UNIGATE does not check whether the then used IP address is already in use.
Page 38
Deutschmann Automation GmbH & Co. KG Ethernet interface Script example for the initialization of the Ethernet var wRemotePort: word; Moveconst(wRemotePort, 2001); var wLocalPort: word; Moveconst(wLocalPort, 2000); var lRemoteIP: long; Moveconst(lRemoteIP, 0xc0a82f0b); // 192.168.47.11 var lE3: long; Moveconst(lE3, 0xE3222222); // Channel 0 connected, rest unused var w0: word;...
Error handling at UNIGATE® IC2 Deutschmann Automation GmbH & Co. KG ® 11 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.
Deutschmann Automation GmbH & Co. KG Firmware-update 12 Firmware-update 12.1 Overview In the firmware-update-mode the firmware can be replaced via the serial interface of the ® UNIGATE IC2. 12.2 Adjusting the firmware-update-mode 12.2.1 Adjustment by hardware ® UNIGATE IC2 can be brought to the firmware-update-mode by the hardware. For it the signal - BE (-boot enable) must be pulled to the potential GND during the Power-up-process.
Technical data Deutschmann Automation GmbH & Co. KG 13 Technical data ® In this chapter you will find all necessary technical data on UNIGATE IC2. All measurements in mm. 13.1 Mechanics of the UNIGATE ® General dimensions of UNIGATE ®...
Page 42
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 IC2s, the maximum overall height of ...
Technical data Deutschmann Automation GmbH & Co. KG ® 13.2 Technical data UNIGATE IC2 - Fast Ethernet Characteristics Explanation Supply voltage 3,3 V + 5 %, 200 mA (typ.), 210 mA (max.) Reverse polarity protection power supply Interface 2 UART interfaces, 1 synchronous serial interface Physical separation...
® one bus node UNIGATE IC2 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 IC2 / 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 15 Appendix 15.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 47
Appendix Deutschmann Automation GmbH & Co. KG ® PBDPL ProfibusDP-version L (see comparison table UNIGATE IC for the respective product) ® PBDPX ProfibusDP-version X (see comparison table UNIGATE IC for the respective product) PBDPV0 = ProfibusDPV0 PBDPV1 = ProfibusDPV1 Serial RS232/485/422 ®...
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 49
Servicing Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.8 4.8.22...
Need help?
Do you have a question about the UNIGATE IC2 and is the answer not in the manual?
Questions and answers