Page 7
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.2 3.4.20...
Page 8
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.
Page 9
Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.2 3.4.20...
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.
® The UNIGATE IC2 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 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. ® 3.4.20 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 DbgRX serial Debug RX internally pulled up with 10 Logic k serial data RX internally pulled up with 10 Logic k serial data TX Logic transmit enable Logic ground supply voltage of the IC2 The Ethernet signals are galvanically isolated.
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 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 13. ® 3.4.20 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-Beispiele 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.
Script and configuration Deutschmann Automation GmbH & Co. KG 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 28
Deutschmann Automation GmbH & Co. KG Script and configuration Script Download Start ® Reset UG ® 3.4.20 Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.2...
Page 29
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.
Deutschmann Automation GmbH & Co. KG Script and configuration ® 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.
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 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 33
Generating a Script Deutschmann Automation GmbH & Co. KG 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.
Deutschmann Automation GmbH & Co. KG Ethernet Ethernet Each Ethernet-Client processor with TCP/IP network-protocol in a 10/100 Mbaud Ethernet can exchange data with the gateway. Network-addresses, network-connections After switching on, the gateway is waiting for data communication with a network-participant. In this case the gateway is always prepared to react to ICMP messages (e.
Ethernet Deutschmann Automation GmbH & Co. KG 9.4.1 Direct data exchange In the Ethernet the data from the RS-interface are represented unchanged via a TCP/IP connec- tion. 9.4.2 MODBUS-TCP The Modbus protocol is already available as Script for the serial interface for all Script gateways.
Page 36
Deutschmann Automation GmbH & Co. KG Ethernet Supported FTP Commands Code Command Description USER User Name Starts login with name identifying the user. PASS Password Continues login with the user's password. QUIT Logout Closes the user connection. SYST System Identifies the operating system at the server.
Ethernet Deutschmann Automation GmbH & Co. KG Subdirectories are not intended. For that reason you cannot switch to subdirectories and subdi- rectories cannot be created. For the FTP-server the two channels have to be set up initially in the Script.
Page 38
Deutschmann Automation GmbH & Co. KG Ethernet 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 ® 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.
IC2 is re-started in the firmware-update-mode. 11.3 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). 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 IC2. All measurements in mm. ® 12.1 Mechanics of the UNIGATE ® 12.1.1 General dimensions of UNIGATE ®...
Deutschmann Automation GmbH & Co. KG Technical data ® 12.2 Technical data UNIGATE IC2 - Fast Ethernet Characteristics Explanation Supply voltage 3,3 V + 5 %, 200 mA (typ.), 210 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 IC2 into your electronic system can be guaranteed. The board is suit- able for all Fieldbuses and Industrial Ethernet Buses supported by Deutschmann Automation. ® Instruction manual UNIGATE IC2 - Fast Ethernet V. 1.2...
Deutschmann Automation GmbH & Co. KG Accessory ® The required UNIGATE IC2 / 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).
Appendix Deutschmann Automation GmbH & Co. KG 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 46
Deutschmann Automation GmbH & Co. KG Appendix ® 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 ®...
Servicing Deutschmann Automation GmbH & Co. KG 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...
Need help?
Do you have a question about the UNIGATE IC2 - Fast Ethernet and is the answer not in the manual?
Questions and answers