Instruction Manual
Universal Fieldbus-Gateway
UNIGATE
®
IC - LONWorks (62)
Deutschmann Automation GmbH & Co. KG
www.deutschmann.com | wiki.deutschmann.de
Page 1: ...Instruction Manual Universal Fieldbus Gateway UNIGATE IC LONWorks 62 Deutschmann Automation GmbH Co KG www deutschmann com wiki deutschmann de...
Page 2: ...Manual Art No V3496E...
Page 3: ......
Page 4: ...Data In 14 3 2 5 Load In 14 3 2 6 Clock 14 3 2 7 Reset In 14 3 2 8 Service 14 3 2 9 LED LN 14 3 2 10 Config Mode 15 3 2 11 DbgTX DbgRx 15 3 2 12 TE 15 3 2 13 TX RX 15 3 3 Software 16 3 4 Basic line o...
Page 5: ...ce of buses 28 8 5 Further settings at the gateway 28 8 6 The use of the Protocol Developer 29 8 7 Accuracies of the baud rates at UNIGATE IC 29 8 8 Script processing times 30 9 LONWorks 31 9 1 Genera...
Page 6: ...UNIGATE IC 39 12 2 Technical data UNIGATE IC LONWorks 40 13 Accessory 41 13 1 Adapter RS232 41 13 2 Adapter RS485 41 13 3 FirmwareDownloadTool FDT 41 13 4 Protocol Developer 41 13 5 Developerkit UNIG...
Page 7: ...Deutschmann Automation GmbH Co KG 7 Instruction manual UNIGATE IC LONWorks 62 V 2 5 30 9 20...
Page 8: ...the 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 Cop...
Page 9: ...Deutschmann Automation GmbH Co KG 9 Instruction manual UNIGATE IC LONWorks 62 V 2 5 30 9 20...
Page 10: ...also differ ent fieldbusses 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 expe...
Page 11: ...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...
Page 12: ...IC LONWorks 62 V 2 5 12 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...
Page 13: ...ronous serial interface 5 INLogic Data in input data of the synchronous serial interface internally pulled up with 10 k 6 OUTLogic Load in input data of the synchronous serial interface alternatively...
Page 14: ...generator Max 809 is on board with it in the normal case the reset input is not requi red In this case the reset input has to be connected with VCC in order to avoid interferences see chapter 3 6 If t...
Page 15: ...e and receive line as well of the IC s Debug interface For the function description of the Debug interface see chapter 6 3 2 12 TE The transmit enable signal allows the connection of RS485 drivers to...
Page 16: ...ds 3 4 Basic line of proceeding In theory it is enough to replace the RS232 driver that is included in your application by the UNIGATE IC Customer Processor U A R T Max 232 9 pol DSUB RS232 Your devic...
Page 17: ...NIGATE 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 inte...
Page 18: ...hronous and the asynchronous interface as well can be operated by UNIGATE IC at the same time Here the possibility results that an existing application can be extended by additional digital or analog...
Page 19: ...Hardware design Deutschmann Automation GmbH Co KG 19 Instruction manual UNIGATE IC LONWorks 62 V 2 5 30 9 20 3 6 Layout examples...
Page 20: ...re 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...
Page 21: ...ed in 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...
Page 22: ...n be processed by the IC Anyway the IC will take over the communication with the fieldbus independently 4 2 Initialization of the serial interface The initialization of the interface is carried out by...
Page 23: ...ce as efficient as possible it is possible to set a shift register and a bit length via the script whereas both can be changed dynamically within the script by script commands As a result the firmware...
Page 24: ...Communication parameter for the Debug interface The Debug interface is always operating with 9600 baud no parity 8 data bit 1 stop bit In the Protocol Developer it is not possible to change this para...
Page 25: ...ng the regular software In this mode 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 mod...
Page 26: ...nd LF 0x0A Send checksum as HEX string e g 0xB33F B33F Wait for reception of Restart in output from device Yes No Send rst 96 bytes of DCS le as 192 byte HEX string e g 0x2E 2E Wait for reception of 0...
Page 27: ...arries out a warm start Example The following 4 bytes script is supposed to be downloaded 0x01 0x12 0x5A 0x23 The sum of teh bytes is 0x0090 as checksum Then the following sequence is to be sent 1 0x1...
Page 28: ...up of commands deals with the communication in general This group s commands enable the gate way to send and receive data on the serial side as well as on the bus side 8 4 Independence of buses Basica...
Page 29: ...can also be modified 8 7 Accuracies of the baud rates at UNIGATE IC The baud rate of the serial interface is derived from the processor s crystal frequency Meanwhile all Script gateways are working w...
Page 30: ...has been started on the PC Sending and receiving data at the RS interface Sending and receiving data at the Fieldbus interface Tasks controlled via internal clock 1 ms e g flashing of an LED Processin...
Page 31: ...cable and has a baud rate of 78 kbit s The FTT 10A has a high impedance if no voltage is sup plied and it does not disturb the network communication if the operating voltage breaks down 9 3 Network v...
Page 32: ...a fixed group of network variables that might be required for a certain kind of application 9 3 2 Installation The network variables can be connected with the nodes by means of an installation tool Th...
Page 33: ...bH Co KG 33 Instruction manual UNIGATE IC LONWorks 62 V 2 5 30 9 20 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...
Page 34: ...t OutMapsize 5 count of Out SNVT s init SNVT s LonInMapping InMapTable 0 InMapsize LonOutMapping OutMapTable 0 OutMapsize set SelfDocString var SelfDocBuffer buffer 20 moveConst SelfDocBuffer 0 Vorlag...
Page 35: ...n if bDestination equal b0 then CheckRS_In ReadBus aBusInBuf 0 wBusInSize This routine is an extract from the example LON_SC dss that can be found in the Protocol Developer under menu New More LON Scr...
Page 36: ...ar Wait for changing Busdata WaitBusDataChanged w_Timeout w_NumberChar Get Parameter Set Parameter Get BusInputSize b_byte 0 255 Get BusOutputSize b_byte 0 255 supported from ScriptRev 26 and higher G...
Page 37: ...r 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 th...
Page 38: ...ware 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 cha...
Page 39: ...technical 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 are arranged with a gri...
Page 40: ...ogram ID Fieldbus baud rate Adjustable via script Standard UART baud rate Up to 625 Kbaud adjustable via script Fieldbus data format Max 62 SNVTs max 512 Byte Technology FT 3120 Others E g digital I O...
Page 41: ...r an update of the firmware Condition for it is that a PC can be connected to the serial of the IC The software describes the procedure of an update itself 13 4 Protocol Developer The Protocol Develop...
Page 42: ...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...
Page 43: ...lug 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 Gatewa...
Page 44: ...n 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 pro...
Page 45: ...o midday and from 1 pm to 4 pm Friday from 8 am to midday CET Deutschmann Automation GmbH Co KG Carl Zeiss Stra e 8 D 65520 Bad Camberg Germany Central office and sales department 49 6434 9433 0 Techn...
Page 46: ......