Deutschmann Automation GmbH & Co. KG General introduction ..... . . 10 ® The UNIGATE IC ......11 Technical introduction .
Page 5
Deutschmann Automation GmbH & Co. KG Starting in the Debug-mode ..... . 24 Communication parameter for the Debug-interface ..24 Possibilities with the Debug-interface .
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 - LONWorks (62) V. 2.5 30.9.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 IC - LONWorks (62) V. 2.5 30.9.20...
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. ® 30.9.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 IC into your own ® hardware designs. In the following all ports of UNIGATE IC are described in detail.
Hardware design Deutschmann Automation GmbH & Co. KG 3.2.10 -Config Mode If the pin has the level GND, then the IC starts in the configuration mode. 3.2.11 DbgTX, DbgRx They are transmission line and receive line as well of the IC’s Debug-interface. For the function description of the Debug-interface see chapter 6.
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.
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 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 Layout examples ® Instruction manual UNIGATE IC - LONWorks (62) V. 2.5 30.9.20...
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 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 as well or a script after an adaptation can be processed by the IC.
74595 and 74165 (see also chapter 5.2). Other types can be complemented very fast and simple - by Deutschmann Automation GmbH. The shift register type defines the edges or the levels on how data is output to the hardware or how data is read in.
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.
Script and configuration Deutschmann Automation GmbH & Co. KG Script and configuration Overview ® The script stored in the UNIGATE IC, as well as the configuration, can be replaced or updated via the serial interface (application) in the configuration mode.
Page 26
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 taht 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 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.
LONWorks Deutschmann Automation GmbH & Co. KG LONWorks ® General facts on UNIGATE LONWorks – RS232/RS485 ® The UNIGATE LONWorks module communicates according to the LONTalk record. That means that it can communicate with all LONWorks nodes which correspond to this record. For further information on LONWorks technology see www.echelon.com and www.lonmark.org.
Deutschmann Automation GmbH & Co. KG LONWorks A SNVT includes information on the type, resolution and size. The LonMark association defines objects that are used for a specific application as a group of SNVT's. Please consider that the customer can also define network variables as not standard and that they are generally called network variables or NVs.
Page 33
LONWorks Deutschmann Automation GmbH & Co. KG ® At present UNIGATE IC LONWorks supports max. 62 SNVTs. Supported SNVTs: SNVT Master List Up to Firmware V1.21 -> No. 1 - 166 Version 11 From Firmware V1.22 -> No. 1 - 176 Version 12 ®...
Deutschmann Automation GmbH & Co. KG LONWorks Script examples for the initialization of LONWorks //************************ LON init ******************************************************* // Type No from SNVT Master-List // http://www.tsd.org/ieee1473/SNVT.pdf [LON_SNVT_MasterList_- May2002] // UG62 max count of SNVT´s = 62 In and Out SNVT´s together // UG512 max count of SNVT´s = 256 In and 246 Out-SNVT´s...
LONWorks Deutschmann Automation GmbH & Co. KG // note: BusEvent - you receive the same data and you can read out from wich index :LonInitEnd; //************************ LON init end *************************************************** Set ( RS_State_LED , StaticRed ) ; //*********** start fieldbus ************************************************************** BusStart ;...
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.
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). It is also possible to use the description and the tools of the manufacturer of the controller (TEMIC, 89C51RD2) as well.
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 ®...
Deutschmann Automation GmbH & Co. KG Technical data ® 12.2 Technical data UNIGATE IC-LONWorks Characteristics Explanation Supply voltage 5 V ± 5 %, max. 75 mA DC Interface 2 UART interfaces, 1 synchronous serial interface Standard FTT-10A Fieldbus-side Program-ID Adjustable via script...
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. ® Instruction manual UNIGATE IC - LONWorks (62) V. 2.5...
Deutschmann Automation GmbH & Co. KG Accessory ® 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).
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 44
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 IC - LONWorks and is the answer not in the manual?
Questions and answers