GridConnect DeviceNet UNIGATE IC Instruction Manual

Universal fieldbus-gateway
Table of Contents

Advertisement

Quick Links

Instruction manual
Universal Fieldbus-Gateway
®
UNIGATE
IC - DeviceNet
1630 W. Diehl Rd.
Naperville, Illinois 60563
+1 630 245-1445, +1 630 245-1717 FAX
www.gridconnect.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DeviceNet UNIGATE IC and is the answer not in the manual?

Questions and answers

Summary of Contents for GridConnect DeviceNet UNIGATE IC

  • Page 1 Instruction manual Universal Fieldbus-Gateway ® UNIGATE IC - DeviceNet 1630 W. Diehl Rd. Naperville, Illinois 60563 +1 630 245-1445, +1 630 245-1717 FAX www.gridconnect.com...
  • Page 3: Table Of Contents

    Deutschmann Automation GmbH & Co. KG General introduction ......7 The UNIGATE® IC ......8 Technical introduction .
  • Page 4 Deutschmann Automation GmbH & Co. KG Possibilities with the Debug-interface ....19 Commands of the Debug-interface ....19 Script and configuration .
  • Page 5 Deutschmann Automation GmbH & Co. KG 13 Appendix - basis board ..... . 31 13.1 Overview basis board DeviceNet ....31 13.2 Configuration of the UNIGATE®...
  • Page 6 Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 2.1 12.2.07...
  • Page 7: General Introduction

    Deutschmann Automation GmbH & Co. KG General introduction General introduction In the past the integration of a fieldbus connection required an enormous effort from the progress engineers. On account of the large variety of communication systems it is not enough to compile the right combination of communication hardware;...
  • Page 8: The Unigate® Ic

    The UNIGATE® IC Deutschmann Automation GmbH & Co. KG The UNIGATE® IC Technical introduction 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®...
  • Page 9: Unigate® Ic Hardware Survey

    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 LOAD CLOCK UART 1 UART 2 SYN.SERIAL...
  • Page 10: Hardware Design

    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. Ports UNIGATE®...
  • Page 11: Boot Enable

    Deutschmann Automation GmbH & Co. KG Hardware design 3.2.1 -Boot enable The IC is started in the firmware update mode with the level GND during the power up process. See also chapter 10 on page 26. 3.2.2 Load out Strobe signal for the synchronous serial interface. With the positive edge at this output data is taken from the connected shift registers to the physical outputs.
  • Page 12: Software

    Hardware design Deutschmann Automation GmbH & Co. KG Software The software executes script-commands, which in turn control the IC’s hardware and they pro- cess their complete protocol by software. 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.
  • Page 13 Deutschmann Automation GmbH & Co. KG Hardware design Version 1: Use as a pure link module for the bus The UNIGATE® IC independently processes the communication with the customer’s device via the TTL-interface. 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.
  • Page 14 Hardware design Deutschmann Automation GmbH & Co. KG 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.
  • Page 15: Layout Examples

    Deutschmann Automation GmbH & Co. KG Hardware design Layout examples ® 12.2.07 Instruction manual UNIGATE IC - DeviceNet V. 2.1...
  • Page 16 Hardware design Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 2.1 12.2.07...
  • Page 17: The Serial Interface

    Deutschmann Automation GmbH & Co. KG The serial interface The serial interface Overview The serial interface is an important connection between the UNIGATE® IC and the micro control- ler of your application. The interface is designed in a way so that your application at least does not have to be changed on the software-side.
  • Page 18: Synchronous Interface

    Synchronous interface Deutschmann Automation GmbH & Co. KG Synchronous interface Overview of the synchronous serial interface The synchronous serial interface is an interface of the IC to clocked shift registers. About this it is not only possible to input or output digital signals but also the addressing of DA- or AD-convert- ers with clocked serial interface is possible as well as the connection of LEDs or reading in rotary switches.
  • Page 19: The Debug-Interface

    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. Starting in the Debug-mode When applying power to the UNIGATE®...
  • Page 20: Script And Configuration

    Script and configuration Deutschmann Automation GmbH & Co. KG Script and configuration Overview In the configuration mode the scripts and configurations, stored in the UNIGATE® IC, can be replaced or updated via the serial interface. The configuration mode If the pin „ConfigMode“ pulled to GND during the PowerUp or Reset, then the UNIGATE® IC starts in the configuration mode.
  • Page 21: Generating A Script

    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.
  • Page 22: The Use Of The Protocol Developer

    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.
  • Page 23: Script Processing Times

    Deutschmann Automation GmbH & Co. KG Generating a script 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.
  • Page 24: Devicenet

    DeviceNet Deutschmann Automation GmbH & Co. KG DeviceNet At present UNIGATE® IC-DeviceNet supports the data exchange in the mode “polling“. The other possible modes “bit-strobe“ and “change of state“ are in preparation. In the mode “polling“ the UNIGATE® IC is at present restricted to up to 255 bytes input and output. Every combination of input- and output-size is possible.
  • Page 25 Deutschmann Automation GmbH & Co. KG DeviceNet 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 DNAddress: long; // MoveConst( DNAddress, 4) ;...
  • Page 26: 10 Firmware-Update

    Firmware-update Deutschmann Automation GmbH & Co. KG 10 Firmware-update 10.1 Overview UNIGATE® IC has a 64 kbyte flash memory for the firmware. In the firmware-update-mode the firmware can be replaced via the UNIGATE® IC’s serial interface. 10.2 Adjusting the firmware-update-mode 10.2.1 Adjustment by hardware UNIGATE®...
  • Page 27: 11 Technical Data

    Deutschmann Automation GmbH & Co. KG Technical data 11 Technical data In this chapter you will find all necessary technical data on UNIGATE® IC. All measurements in mm. 11.1 Mechanics of the UNIGATE® IC 11.1.1 General dimensions of UNIGATE ® 11.1.2 Dimensions UNIGATE®...
  • Page 28: Dimensions Unigate® Ic-Devicenet (New Dnl-Hardware)

    Technical data Deutschmann Automation GmbH & Co. KG 11.1.3 Dimensions UNIGATE® IC-DeviceNet (new DNL-hardware) The pins of UNIGATE® IC are arranged with a grid spacing of 2.54 mm. In case you intend to use other fieldbus ICs, the maximum overall height of 20 mm (including pins) has to be taken into consideration.
  • Page 29: 12 Accessory

    Deutschmann Automation GmbH & Co. KG Accessory 12 Accessory The following tools are available from Deutschmann Automation. 12.1 Development board The development board (also called basis board) is a circuit board on which the UNIGATE® IC can be installed. The IC is installed in the ZIF-socket. The ZIF-socket allows an easy insertion and remove of the IC.
  • Page 30: Quick Start

    Accessory Deutschmann Automation GmbH & Co. KG The basis board contains a socket to put on the IC, all RS- and fieldbus-sided connectors, switches and LEDs. Actually you cannot tell the difference to a ’normal’ UNIGATE® any more. With the basis board your UNIGATE® IC can be connected to your product within a few minutes, in order to prepare the implementation then.
  • Page 31: 13 Appendix - Basis Board

    Deutschmann Automation GmbH & Co. KG Appendix - basis board 13 Appendix - basis board 13.1 Overview basis board DeviceNet 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! ®...
  • Page 32 Appendix - basis board Deutschmann Automation GmbH & Co. KG Signal Pin 1 24 V DC Pin 2 Ground The basis board is supplied with voltage through this plug connector. Earth terminal 6.3 mm for basis board. This plug is the basis board’s serial connection to the customer’s device and the connection to the PC (Debug-interface).
  • Page 33 Deutschmann Automation GmbH & Co. KG Appendix - basis board P 13 Status signal of the IC Plug connector P 13 Signal -RESET RX of the IC (TTL-level) TX of the IC (TTL-level) TE Pin IC (TTL-level) TX Debug of the IC (TTL-level) RX Debug of the IC (TTL-level) P 14, SW5H, SW5L Input shift register...
  • Page 34 Appendix - basis board Deutschmann Automation GmbH & Co. KG 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...
  • Page 35: Configuration Of The Unigate® Ic

    Deutschmann Automation GmbH & Co. KG Appendix - basis board 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.
  • Page 36: Connectors Of The Basis Board

    Appendix - basis board Deutschmann Automation GmbH & Co. KG 13.3 Connectors of the basis board 13.3.1 Connector to the external device (RS-interface) The connection cable to the external device must be plugged in at the connector accessible on the underside of the device. Pin assignment P7 (9-pin Sub-D, plug, debug version) Pin No.
  • Page 37: Slide Switch (Rs485/Rs232 Interface)

    Deutschmann Automation GmbH & Co. KG Appendix - basis board 13.3.6 Slide switch (RS485/RS232 interface) This slide switch is used to select whether an RS485 interface or an RS232 interface is con- nected at the connector to the external device. 13.3.7 Slide switch (RS485 termination) If the gateway is operated as the first or last physical device in the RS485 bus, there must be a...
  • Page 38: 14 Wiring Diagram Unigate® Ic-Basis Board Devicenet

    Wiring diagram UNIGATE® IC-basis board DeviceNet Deutschmann Automation GmbH & Co. KG 14 Wiring diagram UNIGATE® IC-basis board DeviceNet ® Instruction manual UNIGATE IC - DeviceNet V. 2.1 12.2.07...
  • Page 39 Deutschmann Automation GmbH & Co. KG Wiring diagram UNIGATE® IC-basis board DeviceNet ® 12.2.07 Instruction manual UNIGATE IC - DeviceNet V. 2.1...
  • Page 40 Wiring diagram UNIGATE® IC-basis board DeviceNet Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 2.1 12.2.07...
  • Page 41: 15 Servicing

    • Error number and error description 1630 W. Diehl Rd. Naperville, Illinois 60563 +1 630 245-1445, +1 630 245-1717 FAX www.gridconnect.com 15.1 Downloading PC software, EDS files and Script examples etc. ® You can download the current version of WINGATE , a sample EDS file and Script examples free of charge from our Internet server.
  • Page 42 Servicing Deutschmann Automation GmbH & Co. KG ® Instruction manual UNIGATE IC - DeviceNet V. 2.1 12.2.07...

Table of Contents