background image

RS-interface

Deutschmann Automation GmbH & Co. KG

13

UNIGATE

®

 fieldbus gateway UNIGATE

®

 CL - PROFINET 2Port V. 1.6

15.8.14

5

RS-interface

5.1  RS-interfaces at the UNIGATE

®

 CL

The UNIGATE

®

 CL - PROFINET-IO has the interfaces RS232, RS422 and RS485 available. The 

hardware always features a DEBUG-interface, see chapter 7.

5.2  Buffer sizes at the UNIGATE

®

 CL

UNIGATE

®

 CL features at the serial side a buffer with the size of 1024 bytes for input data and 

output data each.
The FIFO of the application interface (RS-interface) can be changed in any Gateway form Script 
revision 26 on, that is capable for Script. For it please check in the PROTOCOL DEVELOPER 
under "Device Control" - "Hardware".

5.3  Framing Check

The length of the stop bit received by the Gateway is checked through the function "Framing 
Check". Here the stop bit generated by the Gateway is always long enough, so that connected 
participants can evaluate the stop bit.

Please be aware that the function "Framing Check" becomes effective only in case of 8 data bit 
and the setting "No parity".

An error is detected and indicated by the Error LEDs in case the stop bit does not show the 
length 1 bit during the activated check.

The possible setting for this parameter can be controlled by the Script (see online help from 
PROTOCOL DEVELOPER). The presetting for the "Stop Bit Framing Check" is "enabled".

Содержание UNIGATE CL

Страница 1: ...es Instruction Manual Universal Fieldbus Gateway UNIGATE CL PROFINET 2Port Manual Art No V3833E Deutschmann Automation GmbH Co KG Carl Zeiss Str 8 D 65520 Bad Camberg Tel 49 6434 9433 0 Hotline 49 6434 9433 33 Fax 49 6434 9433 40 www deutschmann com ...

Страница 2: ... the UNIGATE CL 13 5 3 Framing Check 13 6 SSI interface 14 6 1 Initiation of the SSI interface 14 6 2 Hardware wiring 15 7 The Debug interface 16 7 1 Overview of the Debug interface 16 7 2 Starting in the Debug mode 16 7 3 Communication parameter for the Debug interface 16 7 4 Possibilities with the Debug interface 16 7 5 Commands of the Debug interface 16 8 Mode of operation of the system 17 8 1 ...

Страница 3: ...e high priority user 23 10 3 4 Protocol type 3964 23 10 4 Protocol MODBUS RTU 23 10 4 1 Notes 23 10 4 2 UNIGATE as MODBUS Master 23 10 4 2 1 Preparation 23 10 4 2 2 Data structure 24 10 4 2 3 Communication sequence 24 10 4 3 UNIGATE as MODBUS Slave 24 10 4 3 1 Preparation 24 10 4 3 2 Data structure 25 10 4 3 3 Communication sequence 25 10 4 4 UNIGATE as Modbus ASCII Master 25 10 5 The trigger byte...

Страница 4: ...16 2 1 Connection systems 35 16 2 1 1 Power supply 35 16 2 1 2 Equipotential bonding connection 35 16 2 2 PROFINET IO communication interface 36 16 2 3 Line routing shield and measures to combat interference voltage 36 16 2 4 General information on line routing 36 16 2 4 1 Shielding of lines 36 17 Technical data 38 17 1 Device data 38 17 1 1 Interface data 39 18 Commissioning guide 40 18 1 Note 40...

Страница 5: ...mann Automation GmbH Co KG 5 UNIGATE fieldbus gateway UNIGATE CL PROFINET 2Port V 1 6 15 8 14 20 Annex 44 20 1 Explanations of the abbreviations 44 20 2 Hexadecimal table 45 21 EC Declaration of conformity 46 ...

Страница 6: ...he 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 Copyright C Deutschmann Automation GmbH Co KG 1997 2014 All rights reserved This document may not be passed on nor duplicated nor may its contents be used or disclosed unless expressly permitted Violations...

Страница 7: ...omply with the following requirements Scope of application Requirement applicable to Emitted interference Interference immunity Industry EN 55011 cl A 2007 EN 61000 6 2 2005 1 3 Note installation guidelines The module complies with the requirements if you 1 comply with the installation guidelines described in the User Manual when installing and operating the module 2 also follow the rules below on...

Страница 8: ...ective Consequently the module does not have a Declaration of Conformity in relation to the EU Machinery Directive 2 2 EU Machinery Directive The EU Machinery Directive stipulates the requirements applicable to a machine The term machine is taken to mean a totality of connected parts or fixtures see also EN 292 1 Para graph 3 1 The module is a part of the electrical equipment of the machine and mu...

Страница 9: ...be used as an outgo ing PROFINET port Talking of PROFINET is automatically connected with the 100 Mb s version full duplex and switched Ethernet The terminal unit s protocol is converted in the UNIGATE via a Script The module CL PROFINET essentially consists of the following hardware components Electrically isolated PROFINET interface Processor RAM and FLASH Optionally electrically isolated on the...

Страница 10: ...15 8 14 UNIGATE fieldbus gateway UNIGATE CL PROFINET 2Port V 1 6 10 Deutschmann Automation GmbH Co KG Introduction 3 1 UNIGATE CL software flow chart ...

Страница 11: ...Introduction Deutschmann Automation GmbH Co KG 11 UNIGATE fieldbus gateway UNIGATE CL PROFINET 2Port V 1 6 15 8 14 3 2 UNIGATE application diagram The following graph shows a typical connection scheme ...

Страница 12: ...to be restarted with these settings by a short disconnection from the power supply In the test mode the Gateway always operates with the settings 9600 baud no parity 8 databits and 1 stopbit The test mode may be helpful to integrate the Gateway in the relevant environment for instance to test the parameters of the RS interfaces Mode of operation of the test mode After the restart in the test mode ...

Страница 13: ... that is capable for Script For it please check in the PROTOCOL DEVELOPER under Device Control Hardware 5 3 Framing Check The length of the stop bit received by the Gateway is checked through the function Framing Check Here the stop bit generated by the Gateway is always long enough so that connected participants can evaluate the stop bit Please be aware that the function Framing Check becomes eff...

Страница 14: ...TOCOL DEVELOPER The encoder type and the clock frequency has to be defined in the Script itself under Set number of bits and Set type and clock stretch value default 12 Bit Sin gle Turn Gray max clock stretch Set number of bits 1 16 Single Turn 17 32 Multi Turn moveconst bNumBits 12 i e 12 bit single turn MT SSI 4096 x 4096 16777216 0b1000000000000000000000000 24 bit Set type and clock stretch val...

Страница 15: ...chmann Automation Version V 1 0 Date 20 03 2008 SN 47110002 ID 2 Konfigmode If the note Special Firmware 23 not loaded appears the note means that the firmware does not support SSI yet A firmware update has to be done After the update re start the device now only the device s actual actuation message appears and not the note any more Bring the device into the data exchange mode see chapter 4 3 Dat...

Страница 16: ...ys operating with 9600 baud no parity 8 data bit 1 stop bit It is not possible to change this parameter in the PROTOCOL DEVELOPER Please consider the fact that these settings have to be in accordance with those of the PC COM interface and that the flow control protocol has to be set on none there 7 4 Possibilities with the Debug interface Usually the PROTOCOL DEVELOPER is connected to the Debug in...

Страница 17: ...otocol TCP IP protocol The Layers 5 and 6 are blank Layer 7 is con verted in accordance with chapter 8 3 8 2 Interfaces The Gateway features the RS232 RS422 and RS485 interfaces 8 3 Data exchange All data is transferred by the Gateway in dependence of the downloaded Script 8 4 Possible data lengths The table below shows the maximum transferable data Input data max 1440 bytes variable here maximum ...

Страница 18: ...t 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 groups A group 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 9 4 Independence of buses Basically the Scripts do not depe...

Страница 19: ...nd the dialog to the corresponding command is displayed and after entering the values the right text 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 inserted in front of the one where the cursor is positioned Of course the commands can also be written by me...

Страница 20: ...Universal Script will get lost and must be played in again The Script can be found on the Deutschmann Support DVD in the folder Software ProtocolDeveloper Example Universal 10 1 Protocol Transparent The data is transferred bidirectional from the UNIGATE 10 1 1 Data structure On the RS entry side the timeout time of 2 ms is firmly set If no more data is received within the timeout period then the d...

Страница 21: ...eldbus transmit buffer are read in via the RS232 interface As a special case for this parameter also a length byte with additional Timeout monitoring can be set in WINGATE In that case the received characters will be discarded at a Timeout Attention If Timeout is selected as end character then this byte has no significance 10 2 3 3 End character 232 End character If this character is defined the g...

Страница 22: ...ention The DLE doubling is excluded from it that means one DLE 10H on the bus side is sent on the RS side twice A double DLE on the RS side is only sent once to the bus master Data blocking is not scheduled The net data length is restricted to 236 bytes per telegram Communication always runs between high priority and low priority communication partners 10 3 3 Data communication 10 3 3 1 Initiation...

Страница 23: ...is referred to as MODBUS in the text below The terms input and output are always viewed from the gateway s point of view i e fieldbus input data is the data sent by the fieldbus Master to the gateway 10 4 2 UNIGATE as MODBUS Master 10 4 2 1 Preparation Before data exchange is commenced the parameters Baud rate Parity Start bits Stop bits and Data bits and if applicable the Trigger byte and the Len...

Страница 24: ...the Slave with respect to the fieldbus and always acts as the Master at the Modbus end Thus data exchange must always be started by the fieldbus Master The gateway fetches this data which must be structured in accordance with chapter Data structure from the fieldbus Master determines the valid length of the Modbus data if the length byte is not activated adds the CRC checksum and sends this data r...

Страница 25: ...exchange is com pleted and the gateway waits for a new inquiry from the Modbus Master 10 4 4 UNIGATE as Modbus ASCII Master On request For the description see chapter 10 4 2 UNIGATE as MODBUS Master 10 5 The trigger byte Since the data is always transferred cyclically on PROFINET the gateway must detect when the user wishes to send new data via the serial interface This is normally done by the gat...

Страница 26: ...erName 11 1 Script update via FTP The dcs file generated by the Protocol Developer has to be stored as script dcs by the FTP on the Gateway Transfer the file to the UNIGATE When the writing procedure is done please disconnect the connection and restart the device The UNIGATE identifies the file takes over the Script and deletes it afterwards 11 2 System configuration update via FTP A WINGATE gwc f...

Страница 27: ...web server s instructions with the appropriate values and sends the generated page SSI directives are listed within HTML comments and have the following syntax exec command The following commands are a selection of supported commands A complete list of all commands can be found in the Online help of the PROTOCOL DEVELOPER Command Instruction incl comment is replaced by DisplayFWVersion Firmware ve...

Страница 28: ... example input forms for process values can be realized The script command SetHTMLInput String assigns a name to a script variable which then can be used in the HTML form 12 3 Example The interaction between Gateway Script and HTML page can be taken from the example HTML page ssi shtml and the example Script example_Set_HTML_String dss Both files are accessable in the download area of our website ...

Страница 29: ...f deutschmann css down gif favicon ico h4_pre gif header_schatten jpg headline jpg index html line gif profinet gif rnavmain_bg gif ssi html teaser_header jp device web site Please note that files can not be overwritten or edited on the device If you want to replace a file with a modified version you must delete the file stored on the device first and write the modified file again or transfer to t...

Страница 30: ...or to the external device RS interface The serial interface is available at the plug accessible on the upper side of the device Pin assignment X1 3 pole and 4 pole screw type plug connector Pin No Name Function 1 Rx 232 Receive signal 2 Tx 232 Transmit signal 3 AP GND Application Ground 4 Rx 422 485 Receive signal 5 Rx 422 485 Receive signal 6 Tx 422 485 Transmit signal 7 Tx 422 485 Transmit signa...

Страница 31: ...al can be used as reference 14 2 3 Profinet connector The plugs labeled RJ45 PROFINET IO for the connection to PROFINET are available on the bottom side of the device Pin assignment X3 P1 RJ45 up front i e which is located closer to the front panel Pin No Name Function 1 TD Transmission line 2 TD Transmission line 3 RD Receive line 4 5 6 RD Receive line 7 8 Pin assignment X3 P2 RJ45 at the back i ...

Страница 32: ...14 3 3 LED Link Act P2 This LED is directly controlled by the PROFINET processor and shines when the gateway at Port 2 X3 P2 is in an operable network link pulses are received and it flickers when network data traffic takes place 14 3 4 LED PROFINET State Off Waiting for Script command Bus Start Lights green Connection with IO controller available data exchange active Flashes green PROFINET initia...

Страница 33: ...ated In all other cases the switch remains in position OFF Please refer to the general RS485 literature for further information on the subject of bus termina tions If the integrated resistor is used please allow for the fact that this also activates a pull down resistor 390 to ground and a pull up resistor 390 to VCC At RS48 only the Tx 422 switch must be set to ON The Rx 422 switch has to be on O...

Страница 34: ...purposes and are then automatically reset If such warnings occur frequently please inform After Sales Service For user defined errors the flash frequency is 0 5 hertz The error is displayed as long as defined by Set Warning Time In the configuration mode these displays are not valid and only meant for internal use LED8 LED4 LED2 LED1 Error no resp ID Error description 0 0 0 0 0 Reserved 0 0 0 1 1 ...

Страница 35: ... The standard mounting channel may also be mounted vertically so that the module is mounted turned through 90 16 2 Wiring 16 2 1 Connection systems The following connection systems must resp may be used when wiring the module Standard screw type plug connection power supply RS 8 pin RJ45 plug in connection PROFINET IO connection a In the case of standard screw type terminals one lead can be clampe...

Страница 36: ...C voltages 60 V unshielded lines for AC voltage 25 V coaxial lines for monitors Group B unshielded lines for DC voltages 60 V and 400 V unshielded lines for AC voltage 24 V and 400 V Group C unshielded lines for DC voltages 400 V The table below allows you to read off the conditions for laying the line groups on the basis of the combination of the individual groups Group A Group B Group C Group A ...

Страница 37: ...requencies Connecting the shield at one end may be more favorable if it is not possible to lay an equipotential bonding line analogue signals a few mV resp mA are to be transmitted foil shields static shields are used In the case of data lines for serial couplings always use metallic or metallized plugs and connec tors Attach the shield of the data line to the plug or connector housing If there ar...

Страница 38: ...tion Any 7 Weight 150 g 8 Operating temperature 25ºC 85ºC 9 Storage transport temperature 40 ºC 85 ºC 10 Atmospheric pressure during operation during transport 795 hPa 1080 hPa 660 hPa 1080 hPa 11 Installation altitude 2000 m 4000 m Unrestricted Restricted Ambient temperature 40ºC 12 Relative humidity Max 80 No condensation no corrosive atmosphere 14 External power supply 10 33 V DC Standard power...

Страница 39: ...ransmission method Multimaster CSMA CD Master slave Master slave 4 Number of users Transmitters Receivers 512 512 1 1 32 32 5 Cable length Maximum Depending on baud rate 100 m 15 m no 1200 m 93 75 kBd 1200 m 312 kBd 500 m 625 kBd 250 m 6 Bus topology Star Point to point Line 7 Data rate Maximum Standard 100 Mbit s 120 kBit s 2 4 k B 4 8 k B 9 6 kBit s 19 2 kBit s 38 4 kBit s 520 kBaud 2 4 kBit s 4...

Страница 40: ...erally available on site 10 33 V DC power supply DIN 19240 Type file or GSD file that is based on the XML oriented Standard GSDML and user manual a sample file as well as the user manual can be ordered separately or downloaded free of charge from our homepage at www deutschmann de 18 3 Installation The UNIGATE CL PROFINET module features protection type IP20 and is thus suitable for switch cabinet...

Страница 41: ... is from 1 up to 240 characters the length of a part of the name is 1 up to 63 characters a name consists only of lowercase letters numbers and the hyphen neither the first nor the last character of a part of the name is a hyphen the first part of the name does not begin with port xyz or port xyz abcde whereas a b c d e x y and z are seen as numerals it doesn t have the form k l m n whereas k l m ...

Страница 42: ...ure We recommend the book Der Schnelleinstieg in PROFINET author M Popp and K Weber to help you quickly get to grips with the subject of PROFINET The book in German can be ordered from the PROFIBUS User Organisation Order No 4 181 Address PROFIBUS Nutzerorganisation e V Haid und Neu Str 7 D 76131 Karlsruhe Germany Tel 49 0 721 9658 590 ...

Страница 43: ...n Automation GmbH Co KG Carl Zeiss Straße 8 D 65520 Bad Camberg Germany Central office and sales department 49 6434 9433 0 Technical hotline 49 6434 9433 33 Fax sales department 49 6434 9433 40 Fax technical hotline 49 6434 9433 44 E mail technical hotline hotline deutschmann de 19 1 Returning a device If you return a device we require as comprehensive a fault error description as possible We requ...

Страница 44: ...h housing cover AG Gateway installed in a die cast aluminum housing EG Gateway installed in a stainless steel housing IC Product group IC IC design DIL32 16 Script memory expanded to 16KB 5V Operating voltage 5V 3 3V Operating voltage 3 3V Fieldbus ASI AS Interface AS i BI BACnet IP BMS BACnet MSTB CO CANopen C4 CANopen V4 C4X CANopen V4 version X see comparison table UNIGATE IC for the respective...

Страница 45: ...T 2Port V 1 6 15 8 14 product PBDPV0 PROFIBUS DPV0 PBDPV1 PROFIBUS DPV1 RS Serial RS232 485 422 20 2 Hexadecimal table Hex Decimal Binary 0 0 0000 1 1 0001 2 2 0010 3 3 0011 4 4 0100 5 5 0101 6 6 0110 7 7 0111 8 8 1000 9 9 1001 A 10 1010 B 11 1011 C 12 1100 D 13 1101 E 14 1110 F 15 1111 ...

Страница 46: ...traße 8 D 65520 Bad Camberg Tel 49 0 6434 9433 0 Fax 49 0 6434 9433 40 GHFODUH WKDW WKH EHORZ PHQWLRQHG SURGXFW ZDV GHYHORSHG SURGXFHG DQG SXW RQ WKH PDUNHW LQ DFFRUGDQFH ZLWK WKH DERYH LUHFWLYH 3URGXFW Gateway 7 SH GHVLJQDWLRQ UNIGATE CL Profinet 2Port SSOLHG VWDQGDUGV EN61000 6 2 Immunity 1 OHFWURVWDWLF LVFKDUJH 1 5DG PPXQLW ILHOG 1 XUVW 1 6XUJH 1 PPXQLW WR RQG 5 EN55011 cl A Emission in parts 1...

Страница 47: ...EC Declaration of conformity Deutschmann Automation GmbH Co KG 47 UNIGATE fieldbus gateway UNIGATE CL PROFINET 2Port V 1 6 15 8 14 ...

Страница 48: ......

Страница 49: ......

Отзывы: