DEUTSCHMANN AUTOMATION UNIGATE IC-RS Instruction Manual Download Page 9

The UNIGATE® IC 

Deutschmann Automation GmbH & Co. KG

9

Instruction manual UNIGATE

®

 IC - RS V. 2.8

21.4.15

2

The UNIGATE

®

 IC

2.1

 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

®

 IC and the required plug connectors.

2.2

 Availability

On the second RS-side (fieldbus) the module has an RS232- and RS485- or RS422-interface 
available. Further fieldbuses are either planned or being worked on. They will only differ in the 
connections of the busses. The meaning of the general pins 1 - 9 as well as 24 and 26 - 32 will 
remain unchanged also for further fieldbus implementations. 

2.3

 Firmware 

UNIGATE

®

 IC is programmed via scripts. On principle any script, that has been developed for a 

UNIGATE

®

 SC, can also be operated on the UNIGATE

®

 IC.

For an up-to-date list for all UNIGATE

®

 ICs please log on to

http://www.deutschmann.com

2.4

 The serial standard interface

Intelligent devices, that already feature a micro controller or a microprocessor, are generally sup-
plied with a serial asynchronous interface with a TTL-level. It is directly connected with the TTL-
interface of the UNIGATE

®

 IC. For more information on this serial interface see chapter 4 on 

page 22.

2.5

 The synchronous interface

In addition to the standard interface there is also the possibility of the synchronous input and out-
put. That way for instance digital IOs can be connected through shift register components or also 
analog IOs can be connected through a DA-converter with serial in-/output. For synchronous IOs 
256 signals at the most can be used (256 bit). Wiring examples can be found in chapter 3.5 and 
for software examples see chapter 5. This interface can also be used to connect modules or 
devices with SPI-interface. It is also possible to build, for instance digital or analogous I/O-mod-
ules, with the customer’s device not being equipped with an own controller. The fieldbus IC is 
also operable autonomously without that controller.

2.6

 The Debug-interface

The UNIGATE

®

 IC features a Debug-interface, which allows to process a script step by step and 

also to monitor or manipulate data. This is indispensable for the development of a script. Usually 
a script is developed with the software Protocol Developer. For more details take a look at the 
instruction manual Protocol Developer.

All interfaces can independently be used at the same time.

Summary of Contents for UNIGATE IC-RS

Page 1: ...l buses Instruction Manual Universal Fieldbus Gateway UNIGATE IC RS Manual Art No V3504E Deutschmann Automation GmbH Co KG Carl Zeiss Str 8 D 65520 Bad Camberg Tel 49 6434 9433 0 Hotline 49 6434 9433...

Page 2: ...In SPI MISO 13 3 2 5 Load In SPI MOSI 13 3 2 6 Clock SPI SCK 13 3 2 7 Reset In 13 3 2 8 LED Bus 13 3 2 9 Config Mode 14 3 2 10 DbgTX DbgRx 14 3 2 11 TE 14 3 2 12 TX RX 14 3 3 Software 14 3 4 Basic li...

Page 3: ...1 What is a script 30 8 2 Memory efficiency of the programs 30 8 3 What can you do with a script device 30 8 4 Independence of buses 30 8 5 Further settings at the IC gateway 30 8 6 The use of the Pro...

Page 4: ...14 2 1 Overview basis board RS 43 14 2 2 Connectors of the basis board 47 14 2 2 1 Connector to the external device RS interface 47 14 2 2 2 RS fieldbus connector 48 14 2 2 3 Power supply of the basis...

Page 5: ...Deutschmann Automation GmbH Co KG 5 Instruction manual UNIGATE IC RS V 2 8 21 4 15...

Page 6: ...publication is however reviewed regularly Necessary amendments are incorporated in the following editions We would be pleased to receive any improvement proposals which you may have Copyright Copyrigh...

Page 7: ...Deutschmann Automation GmbH Co KG 7 Instruction manual UNIGATE IC RS V 2 8 21 4 15...

Page 8: ...differ ent fieldbuses can easily be integrated Through the flexible firmware of UNIGATE IC no software changes are required on the side of the customer Since 1997 Deutschmann Automation has experienc...

Page 9: ...are generally sup plied with a serial asynchronous interface with a TTL level It is directly connected with the TTL interface of the UNIGATE IC For more information on this serial interface see chapte...

Page 10: ...GATE IC RS V 2 8 10 Deutschmann Automation GmbH Co KG The UNIGATE IC 2 7 UNIGATE IC hardware survey The hardware of the UNIGATE IC consists of some few standard components The picture below shows the...

Page 11: ...UNIGATE IC into your own hardware designs In the following all ports of UNIGATE IC are described in detail 3 1 Ports UNIGATE IC features 32 pins in its layout as a DIL 32 component Pin 10 12 and 21 2...

Page 12: ...tage 1000 Vrms 15 OUT Tx 422 output A of 422 galvanically isolated insulation voltage 1000 Vrms 16 OUT Tx 422 output B of 422 galvanically isolated insulation voltage 1000 Vrms 17 IN Rx 232 serial fie...

Page 13: ...In SPI mode this Pin serves as data transfer from Slave to Master 3 2 5 Load In SPI MOSI This pin is the strobe signal for the input data of the synchronous serial interface In SPI mode this Pin serve...

Page 14: ...ansmission and receive line of the serial interface This interface is programmable in accor dance with the description in chapter 4 on page 22 3 3 Software The software executes script commands which...

Page 15: ...sub socket Deutschmann Automation is also offering an appropriate adapter board With it existing devices can be adapted without re design see chapter 13 on page 40 3 5 Connection examples Here you wi...

Page 16: ...d SR SR SR SR 8 8 Out N M Out 1 8 8 8 IN N M IN 1 8 Here only the synchronous serial interface is used the asynchronous serial interface is basically of no account If you want to program the script in...

Page 17: ...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 Here the possibil...

Page 18: ...mation GmbH Co KG Hardware design 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...

Page 19: ...Hardware design Deutschmann Automation GmbH Co KG 19 Instruction manual UNIGATE IC RS V 2 8 21 4 15 3 6 2 UNIGATE IC RS232 485...

Page 20: ...sign 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 po...

Page 21: ...the socket pull an isolated wire over the IC and solder it on the carrier board at the specified holes Fasten the UNIGATE IC With a wire or a tie wrap on the socket Manual soldering directly on the c...

Page 22: ...tocol as well or a script after an adaptation can be processed by the IC 4 2 Initialization of the serial interface The initialization of the interface is carried out by script commands such as Set ba...

Page 23: ...e allow the use of different shift register types which differ in the polarity of the shift register signals To use the shift register types 74595 and 74165 for example the values RiseClk_RiseLoad and...

Page 24: ...the operating type the mode signal polarity and phase and the clock frequency The data exchange ensues with the command ExchangeSPI The maximum clock frequency is between 1 and 5 MHz depending on the...

Page 25: ...e put to a stop 6 3 Communication parameter for the Debug interface The Debug interface is always operating with 9600 baud no parity 8 data bit 1 stop bit It is not possible to change this parameter i...

Page 26: ...e it is possible to change the UNIGATE IC s settings of the standard software or to write a new script in the UNIGATE IC It shows its start in the con figuration mode by issuing a status message which...

Page 27: ...Script and configuration Deutschmann Automation GmbH Co KG 27 Instruction manual UNIGATE IC RS V 2 8 21 4 15...

Page 28: ...is terminated with a LF 0x0A Afterwards the word checksum follows as ASCII hex characters The Gateway responds with a clear text reply to that download and carries out a warm start Example The followi...

Page 29: ...Configuration of the UNIGATE IC UNIGATE IC is delivered with an empty script 7 4 1 Fieldbus RS232 RS485 RS422 All parameters are set via script 7 4 2 RS232 RS485 RS422 RS type RS232 Start bit 1 Data b...

Page 30: ...u do with a script device Our script devices are in the position to process a lot of commands In this case a command is always a small firmly outlined task All commands can be put into classes or grou...

Page 31: ...t is automatically added to the script The insertion of new commands by the Protocol Developer is carried out in a way that existing commands will not be overwritten Generally a new command is inserte...

Page 32: ...command But the processing time of the Script commands is considerably more determined by the processor time that is available for this pro cess Since the processor has to carry out several tasks simu...

Page 33: ...end the data length at the Fieldbus side Especially at acyclical bus data if possible do only send them when changes were made The data length at buses that are configured to a fixed length e g PROFIB...

Page 34: ...us baud rate V 1 0 26 FB RS_Anz_Dat_Bits FB RS_Anz_Stop_Bits FB RS_Parity FB RS_Type FB RS_ExchangeModbusRTUMaster On request further fieldbus specific commands are possible Script example for the ini...

Page 35: ...Fieldbus RS interface Deutschmann Automation GmbH Co KG 35 Instruction manual UNIGATE IC RS V 2 8 21 4 15 ReadBus aBusInBuf 0 wBusInSize Loop jump start...

Page 36: ...information purposes and are then automatically reset If such warnings occur frequently please inform After Sales Service The system error can be read out via the Script In the configuration mode the...

Page 37: ...pdate 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 1...

Page 38: ...cal data on UNIGATE IC All measurements in mm 12 1 Mechanics of the UNIGATE IC 12 1 1 General dimensions of UNIGATE IC 12 1 2 Dimensions UNIGATE IC The pins of UNIGATE IC RS are arranged with a grid s...

Page 39: ...separation fieldbus side Optional Fieldbus parameter Adjustable via script UART baud rate Up to 625 Kbaud adjustable via script Fieldbus data Up to 512 byte I O ring buffer Technology UART controller...

Page 40: ...areDownloadTool is available for download from our homepage it is required for an update of the firmware Condition for it is that a PC can be connected to the serial of the IC The software describes t...

Page 41: ...e 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...

Page 42: ...ew plug connector PL Board only without DIN rail module and without housing cover PD Board only without DIN rail module and with housing cover AG Gateway installed in a die cast aluminum housing EG Ga...

Page 43: ...for the respective product PBDPX ProfibusDP version X see comparison table UNIGATE IC for the respective product PBDPV0 ProfibusDPV0 PBDPV1 ProfibusDPV1 RS Serial RS232 485 422 14 2 Basis board The b...

Page 44: ...on to the customer s device and the connection to the PC Debug interface For the pin assignment see chapter 14 2 2 1 P 8 The illustration shows the arrangement of the pins On this connector strip the...

Page 45: ...Plug connector P 13 Pin Signal 1 Vcc 2 Gnd 3 RESET 4 RX of the IC TTL level 5 TX of the IC TTL level 6 TE Pin IC TTL level 7 TX Debug of the IC TTL level 8 RX Debug of the IC TTL level P 14 SW5H SW5L...

Page 46: ...of the shift registers are available here Additionally the LEDs D9 D15 D18 D20 are connected to the shift registers P 17 With P17 the UNIGATE IC can be brought into the configmode If the jumper is plu...

Page 47: ...can be taken from the illustration D12 Power LED This LED is always supposed to be glowing statically green when the board is supplied with volt age D9 D15 D18 D20 LEDs that are connected to the shift...

Page 48: ...2 7 Rx422 8 9 Rx232 Pin assignment P10 9 pin D SUB socket 14 2 2 3 Power supply of the basis board The device must be powered with 10 8 30 VDC The devices of the series UNIGATE with 9 pin D SUB connec...

Page 49: ...esistor 150 integrated in the gateway must be activated In order to do this slide the slide switch to position ON In all other cases the slide switch must remain in position OFF Please refer to the ge...

Page 50: ...21 4 15 Instruction manual UNIGATE IC RS V 2 8 50 Deutschmann Automation GmbH Co KG Appendix 14 2 3 Wiring diagram UNIGATE IC basis board RS...

Page 51: ...Appendix Deutschmann Automation GmbH Co KG 51 Instruction manual UNIGATE IC RS V 2 8 21 4 15...

Page 52: ...21 4 15 Instruction manual UNIGATE IC RS V 2 8 52 Deutschmann Automation GmbH Co KG Appendix...

Page 53: ...the output buffer in 1 1 format In case of a successful data exchange you receive the number of received data back in the last variable of the type bytes The checksum is automatically calculated by th...

Page 54: ...21 4 15 Instruction manual UNIGATE IC RS V 2 8 54 Deutschmann Automation GmbH Co KG Representation of the data on the fieldbus RS side Software ProtocolDeveloper Example exampl_IC_RS_ModbusMaster dss...

Page 55: ...n You can reach us during hotline hours which are as follows Monday to Thursday from 8 am to midday and from 1 pm to 4 pm Friday from 8 am to midday CET Deutschmann Automation GmbH Co KG Carl Zeiss St...

Page 56: ...49 0 6434 9433 40 declare that the below mentioned product was developed produced and put on the market in accordance with the above EC Directive Product Gateway Type designation UNIGATE IC RS Applied...

Page 57: ......

Page 58: ......

Reviews: