Home

XPS/XPS-E

image

Contents

1. 28 3 22 Cabling RS2 3 nennen ur 29 5 2 2 1 Cabling without Hardware Handshake sesse esse see see 29 5 2 2 2 Cabling with Hardware Handshake e 29 5 2 3 Connector Assignment RS422 485 XPS E only esse esse se see 30 5 2 4 Cabling RS422 without Hardware Handshake 30 5 2 5 Cabling RS422 with Hardware Handshake e 31 6 Frequently Asked Questions FAQ esse sesse sesse ee ee ee Ge Ge Gee Ge Gee se ee 32 T Technical Data seeks aan 33 TIPS EG a De ed ie ath adi N EE a 33 7 1 1 PROFIBUS DP Interface es 8a ee 33 T2 RS232 Interface ana RE 34 11 35 Gel ei un 34 7 1 4 Operating Indicators and Controls iese esse se ee ee ee RA RA ee 34 TS We CUAL Data en Se aa Sense 35 1 KPSEE se ee UE NT Meere 36 7 2 1 PROFIBUS DP Interface ans aa ee 36 Ad EPI CTI ACS aan antenne 37 723 Connection Heilen 37 7 2 4 Operating Indicators and Controls iese ses se ee ee ee RA RA ee 37 127 VEC iCal DAS Nee e e NS ae Ne 38 8 PROFIBUS DP Certificate sesse yes sense seke kepe ee eek leek pes ese ee ke oe ee ede 39 9 CE Conformity Declaration ssssssssonssssonsssnsnnesnnnnennnnnennnnnennonsennnnnnnnen 40 ii COMSOFT XPS XPS E User s Manual Contents List of Tables Table 1 aet Bm cadet EE ent 7 Table 2 slave di ag ss EE nee 9 Table 3 Baud Rate of Serial Interface Octet 12 10 Table 4 Character Transmission Modes Octet
2. Min Tspr Ident Number 0 Ident Number 1 Group Ident Reserved Baud Rate setting of serial interface See Table 3 Character Transmission Mode of serial interface See Table 4 Handshake setting of serial interface See Table 5 XOFF Timeout of serial interface See 2 4 3 4 Receive Mode of PROFIBUS interface See Table 6 Trigger character for serial triggered mode See Table 8 usually LF 0x0A Reserved Table 1 set_prm x Freeze Reg and Sync Reg are not supported COMSOFT 7 Contents 2 4 1 GSD File XPS XPS E User s Manual Next to standard parameters the parameters for the serial interface are included in the GSD file They are listed under the User_Prm Data The values correspond to those described under chapter 2 3 A modification of these parameters can be made by any kind of ASCII editor Please note that the number of parameters must not be changed and that the first four and last six parameter bytes are to be set to 0 In the following the default settings of the GSD for serial interfaces of XPS XPS E are listed 9600 Baud 8Bit No Parity 1 Stopbit no Handshake no Timeout Poll Mode RS232 Mode This corresponds to the following entry in the GSD file User Prm Data 0000 96 56 780800000000 COMSOFT XPS XPS E User s Manual Contents 2 4 2 Slave _diag Device Diagnostics COMSOFT Octet 1 7 are PROFIBUS DP Standard Octet 8 14 are the
3. XPS XPS E User s Manual Contents 4 Status and Error Messages 4 1 External Device Diagnostics External device diagnostics can be realised by means of the service slave diag Octet 8 of the response telegram contains the device status and is encoded as follows 7 Octet 8 0 xlii ES MES RS PORT CFG ERROR Invalid parameter at parameterisation of serial interface not significant Figure 8 Byte Definition of external Device Diagnostics COMSOFT 23 Contents XPS XPS E User s Manual 4 2 Communication Status In the status of the confirmation telegram of the service data_exchange the status of the serial interface is encoded as follows RS PORT TX DATA Data are being transmitted not significant RS PORT PARITY ERROR Parity error of receive data of serial interface RS PORT RX DATA AVAIL XPS XPS E has data in receive buffer XOFF_CTS_FLAG XOFF was received or CTS is inactive OUTPUT_DATA_LEN FAILURE user data length exceeds maximal data exchange length minus 3 on part of PROFIBUS RS_PORT_RX OVERFLOW Receive buffer overflow XOFF TIMEOUT No XON received after XOFF Timeout Sending process was re started Figure 9 Byte Definition of Communication Status 24 COMSOFT XPS XPS E User s Manual Contents 5 Connector Assignment and Cabling 5 1 PROFIBUS 5 1 1 Connector Assignment COMSOFT The PROFIBUS connection is executed according to EN50170 as 9 pin female D SUB with t
4. Proceeding ans Recht 3 2 2 Test of PROFIBUS Connection u nn autant 5 43 Parameter alone essen ine 6 2 4 set prim Parameteris ti n anal la a 7 2A1GSD Hier ne ER ne 8 242 Slave diag Device Diagnostics uen 9 2 4 3 Parameter Description se keine 10 23 321 Baud Rate nes sea een 10 2 4 3 2 Character Transmission Mode 10 2 4 3 3 Handshake Flow ontrof ae ea 11 2 4 3 4 XOFF timeout Timeout of Software Handshake 11 2 4 3 5 DP Data Transmission Mode se ee ee ee RA ee 12 2 4 3 6 Extended Gateway configuration data 12 2 4 3 7 Trigger character for Serial triggert mode 13 3 Data EXCHANGE ss ees oe Ge Ge ee do Re Die ee ENEE 14 id Send Data nn au ns St Re 15 22 Receive Data AR EE ER GE DE ee 15 32 1 POW Mode ee GN En nr Bike 16 3 2 2 Serialtriggered Mole ae 18 323 Reguest MO eles le 19 3 3 Send and Receive Datay nee een 22 4 Status and Error Messages dese ses goed eo se nennen ee OS ee ee ee Ek 23 4 1 External Device Diagnostics aa na EG Se ee EG ee Ee Ee 23 4 2 Communication Status reisen 24 5 Connector Assignment and Cabling erscsssssssosssssonssssonnesnonnesnnnsennonnennen 25 IE PROFIBUS ns a re 23 5 1 1 Connector Assignment sw ka 25 5 1 2 PROFIBUS Terminating Resistor 26 SS Cabling 2a Ra Anaad ees 27 COMSOFT i Contents XPS XPS E User s Manual 5 2 Seral Interface ner er nr esa nena 28 5 2 1 Connector Assignment RS232 XPS and XPS E
5. This however is only valid if XON XOFF is not used as handshake COMSOFT XPS XPS E User s Manual Contents 3 1 Send Data To send data via XPS XPS E onto a serial end device the send flag of XPS XPS E must be reset ref 4 2 Communication Status Bit 0 0 as otherwise the send data to XPS XPS E will be discarded For a send job the following data must be included into the telegram e Send job number This job number must be different for each send procedure Reasonably the value should be incremented by 1 at every send procedure e Send data length If the data length is set to 0 no data is sent via the serial interface Otherwise this byte includes the number of the following user data e Send data user data 3 2 Receive Data COMSOFT XPE XPS E has a 2Kbyte receive data buffer to temporarily store data received from the connected serial end device For data transfer to the PROFIBUS DP Master the operating modes Poll mode and Request Mode are available The mode will be selected during parameterisation of XPS XPS E by the Master ref 2 4 3 5 In the Poll mode available receive data will be sent at every data exchange reg with the corresponding data exchange res from XPS XPS E to the PROFIBUS DP Master In the Request mode the XPS XPS E sends this data only if in data _ exchange req a defined byte has been changed the receive request number Thus the polling of existing receive data can be controlled by the Mast
6. to EN50170 3 Slave coupler 9 6kbit s 19 2kbit s 93 75kbit s 187 5kbit s 500kbit s 1 5Mbit s 3Mbit s 6Mbit s 12Mbit s automatic adjustment Opto coupler interface and DC DC transducer Isolation voltage U gt 500V Sync Reg and Freeze Reg are not supported 1 99 by coding switch 0x9510 23 Byte 16 Byte user parameters 6 Byte system diagnostics acc to standard 8 Byte device specific diagnostics 4 240 Byte I O selectable 3 Bytes with header functionality COMSOFT XPS XPS E User s Manual 7 2 2 Serial Interface Interface Transmission rates Character transmission Handshake XOFF Timeout Data transmission modes Receive buffer Potential segregation 7 2 3 Connection Power supply PROFIBUS DP RS PORT Contents RS232 interface with Handshake signals RTS CTS RS422 485 interface with Handshake signals CONTROL INDICATION Interface physics can be adjusted via PROFIBUS by means of User Parameter 150bit s 300bit s 600bit s 1 200bit s 2 400bit s 4 800bit s 9 600bit s 19 200bit s 8N1 7N2 7E1 701 HW RTS CTS CONTROL INDICATION SW XON XOFF none adjustable to max 25 5 seconds Poll mode Request mode serial triggered mode 2 KByte optional 2 pin spring clip 2 5mm without ferrule 1 5mm with ferrule 9 pin female D SUB DIN 41652 9 pin male D SUB DIN 41652 7 2 4 Operating Indicators and Controls COMSOFT PROFIBUS Status LEDs
7. 13 10 Table 5 Handshake Modes Octet A un du 11 Table 6 Data Transmission Modes Octet 16 12 Table 7 ext configuration byte Octet IV aan 12 Table 8 Triggerzeichen Octett este nes et Sn Aa 13 Table 9 Data Transmission Format at data exchange red 14 Table 10 Data Transmission Format at data_exchange_res 14 Table 11 Pin Assignment PROFIBUS an 23 Table 12 Connector Assignment RS232 Interface 28 Table 13 Connector Assignment RS422 485 Interface esse se ee ek 30 COMSOFT iii Contents XPS XPS E User s Manual List of Figures Figure 1 Typical Connection of an XPS XPS E Gateway nceneneenene 1 Figure 2 Connectors and Interfaces of XPS oo ees se ee ee Re Ge ee ee ee 3 Figure 3 Connectors and Interfaces of XPS E 4 Figure 4 Data Reception in Poll Mode sees se ee ee AR GR GR ee 16 Figure 5 Receive data in serial triggered mode trigger character OxOA 18 Figure 6 Data Reception in Request Mode 20 Figure 7 Combined Send and Receive Request iese ses se ee se 22 Figure 8 Byte Definition of external Device Diagnostics eeene 23 Figure 9 Byte Definition of Communication Status esse sesse ee se ee Ge see 24 Figure 10 Assignment of PROFIBUS Terminator Type A ne 26 Figure 11 Connection of a PROFIBUS DP Slave within a Segment 21 Figure 12 RS2
8. E correspond to the setting of the PROFIBUS Master device e Are the bus parameters set correctly e Is the bus terminated correctly switch position of the terminator integrated in XPS e Has XPS XPS E been connected correctly DP Master Status message Status 0xC4 bad telegram Check the terminating resistors at the bus Pay attention to the switch position of the terminating resistor at the XPS 32 COMSOFT XPS XPS E User s Manual 7 Technical Data 7 1 XPS 7 1 1 PROFIBUS DP Interface Transmission protocol Transmission rates Potential segregation Terminating resistor Operating modes Addresses Identification Number Parameterisation Data Diagnostics information Data_Exchange Buffer PNO certified COMSOFT Contents PROFIBUS DP according to EN50170 3 Slave coupler 9 6Kbit s 19 2Kbit s 93 75Kbit s 187 5Kbit s 500Kbit s 1 5Mbit s 3Mbit s automatic adjustment Opto coupler interface and DC DC transducer Isolation voltage U gt 500V TYP A to be activated via slide switch Sync Reg and Freeze Reg are not supported 1 99 by encoding switch 0x9510 23 Byte 16 Byte User Parameter 6 Byte System diagnostics acc to standard 8 Byte device specific diagnostics 4 240 Byte VO arbitrarily selectable 3 Byte with Header functionality Z00284 33 Contents 7 1 2 RS232 Interface Interface Transmission rates Character Transmission Handshake XOF
9. RS PORT Status LED PROFIBUS address green means RUN red means BUSFAIL RxD red corresponds to data will be received TxD red corresponds to data will be sent Hardware physics red corresponds to RS232 mode window at coding switch 37 Contents 7 2 5 Technical Data 38 Case Dimensions Weight Voltage range Power assumption Storage temperature Temperature Protection class Protection kind Standards XPS XPS E User s Manual synthetic profile with aluminium front panel lacquered 126mm x 90mm x 38mm LxWxH 190g 18 30VDC 100mA 24VDC 25 C 70 C 0 C 55 C non condensing 1 IP52 CE EN60950 EN50081 2 EN50082 2 COMSOFT XPS XPS E User s Manual Contents 8 PROFIBUS DP Certificate i PROCESS FELD BUS ZERTIFIKAT DIE PROFIBUS Nutzerorganisation e V erteilt der COMSOFT GmbH Wachhausstra e 5a D 76227 Karlsruhe das Zertifikat Nr Z00284 f r folgendes Produkt Name XPS PROFIBUS RS232 Gateway Modell PROFIBUS DP zu RS232 Gateway als PROFIBUS Slave Version HW Rev 3 SW 2 02 18 JUL 1997 Das Zertifikat best tigt da das oben genannte Produkt die Pr fungen auf Konformit t f r PROFIBUS DP Slave Ger te erfolgreich bestanden hat Die Pr fungen erfolgten in dem von der PNO autorisierten Pr flabor beim Forschungszentrum Informatik FZ in Karlsruhe Pr fumfang und Pr fergebnis sind im Pr fbericht Nr 34 2 pro
10. device specific diagnostics parameters external diagnostics Station status 1 i lag Master Lock Bm aal Invalid Slave Response Not Supported TECE DIAJ Efg Fault Station Not Ready Station Non Existent Station status 2 i Diag Deactivated reserved Diag Sync Mode Diag Freeze Mode Diag WD On must be set to 1 Diag Stat Diag Diag Prm Req Station status 3 Bit7 Diag Ext Diag Overflow Bit6 0 reserved Master Address Master address or OxFF if Slave is not yet parameterised ONE ow p CE CE ET ON TE Character Transmission Mode of See 2 4 3 2 a 111 Handshake Handshake setting serial interface serial interface see2433 2 4 3 3 EE a ELE 13 Receive Receive Mode of DP interface of DP interface See2435 2 4 3 5 Setting of driver physics of serial See 2 4 3 6 interface RS232 485 Trigger character for Serial 0x0A triggerd Mode Table 2 slave_diag Contents XPS XPS E User s Manual 2 4 3 Parameter Description The parameters marked with are the default values These are used if inadmissible parameters are entered during parameterisation 2 4 3 1 Baud Rate Baud Rate bit s Value dec Value hex Table 3 Baud Rate of Serial Interface Octet 12 2 4 3 2 Character Transmission Mode 7 Data bits Odd Parity 1 Stopbit 701 Table 4 Character Transmission Modes Octet 13 Note The operating mode 7 data bits No Parity 1 StopBit is not supported 10 COMSO
11. 18 COMSOFT 13 Contents XPS XPS E User s Manual 3 Data Exchange 14 Data exchange of XPS XPS E is exclusively realised by means of the PROFIBUS DP service data_exchange The data to be sent by the master correspond to the output data of data_exchange reg the data received correspond to the input data of data exchange res For each send or receive job at max 240 Bytes are available while 3 Bytes are headers and the remaining 237 Bytes are user data If more than 237 Bytes user data shall be sent or received the application on part of the PROFIBUS DP Master must split this job into several telegrams The data transmission format used from to XPS XPS E has the following structure Telegram Element Value Range dec Receive request number only request 0 255 see 3 2 mode Send request number 0 255 see 3 1 Data length N of the following user data 0 237 Telegram data user data 0 255 Table 9 Data Transmission Format at data exchange reg Telegram Element Value Range dec Status of XPS XPS E 0 255 see 4 2 2 Receive Confirmation number of 0 255 see 3 2 XPS XPS E Data length N of the following user data 0 237 1 3 Telegram data user data 0 255 Table 10 Data Transmission Format at data exchange res maximum number of user data depends on how the DP Master has configured XPS XPS E via the chk cfg service Data can be arbitrary characters in the value range 0 255
12. 32 Cabling without Hardware Handshake 29 Figure 13 RS232 Cabling with Hardware Handshake e 29 Figure 14 RS422 Cabling with Hardware Handshake e 30 Figure 15 RS422 Cabling with Hardware Handshake e 3l Figure 16 PROFIBUS DP Certificate No Z00284 esse ese ee se se ee ee 39 iv COMSOFT XPS XPS E User s Manual Contents 1 Introduction The intelligent PROFIBUS DP gateways of COMSOFT s XPS series allow the coupling of any serial devices with RS232 or RS422 485 interface to PROFIBUS DP according to the European Standard EN50170 The protocol conversions required for the coupling are executed either by means of a transparent universal driver or by loadable device specific converters The following figure shows a typical connection Serial End Device XPS E DP MASTER XPS RS232 XPS PROFIBUS DP RS232 RS422 XPS E Figure 1 Typical Connection of an XPS XPS E Gateway COMSOFT 1 Contents XPS XPS E User s Manual 2 Setting into Operation When developing the XPS products COMSOFT put great stress on an easy installation Following this aim no external devices e g configuration tools on a PC are required to execute the configuration All connections are realised by D SUB connectors power plug EN 60320 or spring clip terminals which can all be accessed and loosened easily The PROFIBUS station address is set via c
13. F Timeout Operating mode Receive buffer Potential segregation 7 1 3 Connection Power Supply PROFIBUS DP RS232 XPS XPS E User s Manual RS232 interface with handshake signals RTS CTS 150bit s 300bit s 600bit s 1 200bit s 2 400bit s 4 800bit s 9 600bit s 19 200bit s 8N1 7N2 7E1 701 HW RTS CTS SW XON XOFF none Adjustable to max 25 5 seconds Poll mode Request mode serial triggerd mode 2 KByte none international power plug EN 60320 9 pin female D SUB DIN 41652 9 pin male D SUB with shield DIN 41652 7 1 4 Operating Indicators and Controls PROFIBUS Status LED PROFIBUS address 34 green means RUN red means BUSFAIL window in coding switch COMSOFT XPS XPS E User s Manual 7 1 5 Technical Data COMSOFT Case Dimensions Weight Power supply Storage temperature Temperature range Protection class Protection kind Standards Contents steel sheet zinc coated and lacquered 175mm x 145mm x 45mm LxWxH Ikg 230VAC 25mA 25 C 70 C 0 C 55 C non condensing 1 IP52 CE EN60950 EN50081 2 EN50082 2 35 Contents 7 2 XPS E 7 2 1 PROFIBUS DP Interface 36 Transmission protocol Transmission rates Potential segregation Operating modes Addressing Identification number Parameterisation data Diagnostics information Data Exchange Buffer XPS XPS E User s Manual PROFIBUS DP acc
14. FT XPS XPS E User s Manual Contents 2 4 3 3 Handshake Flow Control If data is exchanged via the serial interface XPS XPS E supports the following modes for the handshake e No Handshake e Hardware Handshake The receive data flow can be controlled at the respective device by setting or re setting the RTS CONTROL signal CTS INDICATION 0 gt no sending A corresponding example for cabling can be found under chapter 5 2 2 and 5 2 3 e Software Handshake The receive data flow can be stopped by the respective device by sending the control character XOFF 0x13 The sending procedure will only be re started if a XON character 0x11 is received or a Timeout XOFF Timeout for the receipt of the XON character The interruption of the sending procedure or the XOFF timeout is shown in the status byte of XPS XPS E see chapter 4 2 by means of the bit XOFF CTS FLAG Handshake Mode Value dec dec Value hex Hardware Handshake CTS RTS for RS232 72 0x48 and CONTROL INDICATION for RS422 Software Handshake No Handshake Table 5 Handshake Modes Octet 14 2 4 3 4 XOFF_timeout Timeout of Software Handshake Note COMSOFT The XOFF timeout is calculated by means of VALUE 100ms This value is entered into Octet15 of the parameterisation data If no software handshake is entered this value is insignificant If the value 0 is given the timeout is set to 10 seconds 11 Contents XPS XPS E User s Manua
15. S E only sends receive data if a modified receive request number is contained in the request telegram The data are not returned in the first response telegram but in the response telegram of the subsequent data_exchange service This means that the data are returned always only in the subsequent cycle of the request If the response telegram contains received data the XPS XPS E confirmation number is incremented by one and returned in the response telegram as in the poll mode If this mode is used while the master is automatically polling the slaves according to the poll list the data that have been received last remain in the process image 19 Contents XPS XPS E User s Manual PROFIBUS Data Traffic DP Master XPS XPS E Receive Buffer XPS XPS E M M x EE E i IN DATA EXCHANGEREQ i i 1 i DATA EXCHANGERES 81010 Fi 1 1 1 1 Li EI n AEE i OT EL B R AI lt aL gt S Status Figure 6 Data Reception in Request Mode The data exchange req telegram is sent to the XPS XPS E which already has received the first characters It returns them however only in the subsequent response telegram data_exchange res 20 COMSOFT XPS XPS E User s Manual Contents COMSOFT New data exchange reg telegram with increased receive request number further reception command XPS XPS E returns the data received at point in t
16. XPS XPS E User s Manual COMSOFT XPS XPS E User s Manual Version 1 2 Date 04 May 1999 Order No 4003 7 G00 H E COMSOFT GmbH Wachhausstra e 5a D 76227 Karlsruhe Phone 49 721 9497 0 Fax Hotline 49 721 9497 299 Email support comsoft de Internet address www comsoft de This documentation has been drawn up carefully but in spite of all efforts errors may occur Information from the part of our customers that will help to improve comprehensibility of the document and remove errors will be appreciated The information contained therein can be amended without prior notice and does not represent any obligation on the part of COMSOFT We do not assume any kind of responsibility for possible inconsistencies and their consequences This work including all its parts is copyrighted Every usage of it which lies beyond the tight limits of the copyright are prohibited and punishable This applies especially to copies translations microfilms as well as to feeding into and processing in electronic systems All other product or company names mentioned in this document may present trademarks of the respective owners XPS XPS E User s Manual Contents Contents Eie ei Dle COM Ee OE OO OE ER at dt KO EE queen ten 1 2 Setting into Operation s sesse esse es sae eGGSA Ee GE ee Ee EE Ge Ge Ge 2 2 1 Connection of the Gateway occu woes sess aa 3 231 1 PS Desk Model un 3 2 1 2 XPS E Top Hat Rail Model u ue sea a an 4 21 5
17. able 13 Connector Assignment RS422 485 Interface O Output I Input 5 2 4 Cabling RS422 without Hardware Handshake XPS XPS E End Device Assignment Assignment Ipol 15pol Pin Signal Signal Pin T A R B T B R A R A T B R B T A GND GND Figure 14 RS422 Cabling with Hardware Handshake 30 COMSOFT XPS XPS E User s Manual Contents 5 2 5 Cabling RS422 with Hardware Handshake XPS XPS E End Device Assignment Assignment Ipol 15pol Pin Signal Signal Pin T A R B 11 TB R A R A TB R B T A A C B I B C A C A I B C B I A IIS ID RU OND 1 GND Figure 15 RS422 Cabling with Hardware Handshake COMSOFT 31 Contents XPS XPS E User s Manual 6 Frequently Asked Questions FAQ This section is treating the most frequent application problems and their solutions The most current questions and answers can be found under http www comsoft de DP Master Status Message Status 0xC2 SAP Service not activated Make sure that the parameterisation sequence of the parameterisation described in section 2 3 has correctly been executed If necessary repeat parameterisation DP Master Status message Status 0xC3 no acknowledge Check the following points e Does the station address of the XPS XPS
18. er The request mode is recommended for Masters that are polling the slaves cyclically to generate a process image application may be too slow to process the current data of the process image 15 Contents XPS XPS E User s Manual 3 2 1 Poll Mode Note 16 In this mode XPS XPS E returns with every data exchange the data received up to the present time Apart from the receive data and their lengths a receive data number is entered into the telegram This confirmation number is automatically incremented if new receive data is available in the telegram If the receive telegram does not contain new data data length 0 the confirmation number remains unchanged If this mode is used when the Master is generating a Process Image according to a Poll List it must be paid attention that this Poll List can be read quickly enough as with every data exchange the process image will be overwritten This may cause loss of data on part of the application Loss of data can be noticed when the confirmation number is not subsequent PROFIBUS Data Traffic DP Master XPS XPS E Receive Buffer XPS XPS E BEE DATA EXCHANGEREQ DATA_EXCHANGE RES EI lt ei X Receive Request Number S Status Figure 4 Data Reception in Poll Mode COMSOFT XPS XPS E User s Manual Contents Note COMSOFT The telegrams mentioned above can either be started automatically by the Master cyclically during automatic pollin
19. g or by the application The receive request number X in Poll Mode may not be set 0 The data exchange req telegram is sent to XPS XPS E XPS XPS E has already received the first characters at the interface It returns them in the response telegram data exchange res to the Master The confirmation is incremented by 1 and the length of the reception data is entered Moreover the status S of XPS XPS E is returned New data exchange req telegram XPS XPS E returns the new data by incrementing the confirmation number by 1 As response telegram to the data exchange reg telegram XPS XPS E enters the old confirmation number as no new data has been received at the serial interface The receive data length is set to 0 XPS XPS E has again received new data The confirmation number is incremented by one and the data returned correspondingly by the data exchange res telegram to the Master If no time guarantee can be given and if data loss has to be excluded under all circumstances XPS XPS E must be run in the request mode 17 Contents XPS XPS E User s Manual 3 2 2 Serial triggered Mode In serial triggered mode XPS XPS E waits for the termination of the receive data by the trigger character defined within the external user parameters of XPS XPS E usually LF in ASCII strings The receive confirmation number is not increased as long as no trigger character is received After the trigger character is received the Data E
20. he following assignment Pin RS485 Signal Function Direction Ref Control character 6 Supply for Terminator 5V a ET O Jam jones fe Table 11 Pin Assignment PROFIBUS O Output I Input 25 Contents XPS XPS E User s Manual 5 1 2 PROFIBUS Terminating Resistor For correct operation of XPS XPS E both bus terminations of the line segment must be provided with a terminator This terminator must match with the impedance level of the line Typically in case of new PROFIBUS installations Type A will be used The assignment of the individual terminating resistors of the terminator is depicted in the following figure Figure 10 Assignment of PROFIBUS Terminator Type A Note You can also order the PROFIBUS Terminator in pre configured condition Order No 4000 7 002 H Type A 26 COMSOFT XPS XPS E User s Manual Contents 5 1 3 Cabling T Terminator M Master S Slave n lt 31 Figure 11 Connection of a PROFIBUS DP Slave within a Segment If no terminator with independent power supply shall be used active terminator the termination must be realised directly at the last stations of the bus This station must then supply the terminator with power For details regarding the PROFIBUS installation please refer to the PROFIBUS Installation Guidelines of the PROFIBUS User Organisation PNO Order No 2 112 NOTE In case of XPS a bus termination is integrated and can be activated via the switch a
21. ime The confirmation number is increased by one Another reception command to XPS XPS E receive request number has been increased The data that are returned are the data received at point in time No further reception command to XPS XPS E XPS XPS E returns again the last sent data XPS XPS E has already received new data No further reception command to XPS XPS E XPS XPS E returns again the last sent data This data exchange reg contains another reception command The data are returned however only at the next cycle No further reception command because the request number has not been increased The data that are returned are the data received until the point in time of the last read command 6 21 Contents XPS XPS E User s Manual 3 3 Send and Receive Data It is generally possible in both modes to send and receive data simultaneously The request telegrams described in the previous chapters then have to be completed only by the entries of the transmission command transmission command number length of transmission data data Please note that the data are only accepted and transmitted by the XPS XPS E if the transmission command number in the data exchange req telegram to the XPS has changed PROFIBUS Data Traffic DP Master XPS XPS E Receive Buffer XPS XPS E DATA EXCHANGE REO DATA EXCHANGERES X Receive Request Number S Status Figure 7 Combined Send and Receive Request 22 COMSOFT
22. l 2 4 3 5 DP Data Transmission Mode To offer the user several possibilities to adapt his application optimally to the gateway functionality of XPS XPS E 3 data transmission modes can be used The corresponding description is found under chapter 3 Poll Mode Data Transmission Modes Value dec Value hex Request Mode Serial triggered Mode Table 6 Data Transmission Modes Octet 16 2 4 3 6 Extended Gateway configuration data ext Configuration byte Bit Function Bit7 Bit2 Reserved Double baud rate RS232 0 lt gt RS422 1 Table 7 ext configuration byte Octet 17 BITO RS232 lt gt RS422 Serial interface physics With this parameter the interface physics can be set to RS232 0 or RS485 1 This parameter is only applicable for XPS E The desktop model XPS does only have an RS232 physics BIT1 double Baudrate Setting this bit doubles the baudrate for the serial interface Exp A selected baudrate of 19200 Baud can be increased to 38400 Baud by setting this bit BIT7 Bit2 reserved 12 COMSOFT XPS XPS E User s Manual Contents 2 4 3 7 Trigger character for Serial triggert mode Here the trigger character for the serial triggerd mode is set If the seriell receive data stream contains the same sign all received data up to this character are sent to the DP Master inclusive the trigger character Triggerzeichen Wert dez Wert Wert hex ASCII Table 8 Triggerzeichen Octett
23. oding switches All further settings are done via UserParameter of the SetParam telegram of PROFIBUS DP This parameterisation is executed simplified by the deliverable GSD file either via the configuration tool of the connected PROFIBUS DP Master or by the user program 2 COMSOFT XPS XPS E User s Manual Contents 2 1 Connection of the Gateway 2 1 1 XPS Desk Model Status LED Der PROFIBUS DP Interface Interface Address Terminator ON OFF Switch Power Supply Rear Side Vor ffnen des Ger tes Netzstecker ziehen Netz 230V 50Hx 0 023A ser Nr HyN43226 1D Nr G613801 HwWRev 1 2 8 4 5 6 7 8 9 SW REV Figure 2 Connectors and Interfaces of XPS COMSOFT 3 2 1 2 XPS E Top Hat Rail Model PROFIBUS Interface Serial Interface Figure 3 Connectors and Interfaces of XPS E XPS XPS E User s Manual Address Switch RUN LED BUS FAIL LED MODE LED TX LED RX LED Power Supply Connector COMSOFT XPS XPS E User s Manual Contents 2 1 3 Proceeding Note By executing the following steps the XPS XPS E Gateway can be set into operation 1 Connect XPS XPS E to PROFIBUS by using a standard PROFIBUS cable with corresponding D SUB PROFIBUS connector For the connector assignment please refer to chapter Connector Assignment and follow the Installation Guidelines for PROFIBUS No 2 112 PNO 2 Connect the serial end device with XPS XPS E Connector Assignmen
24. t refer to 5 2 3 Check your PROFIBUS network with regard to an unused Slave address and adjust this free address at the coding switch of XPS XPS E 4 Plug in the power supply In case of XPS this is done by means of a power plug EN 60320 at the rear side of the device The power supply of the XPS E is connected by spring clips at the front side As soon as the device is powered the Status Busfail LED is flashing red The Status Busfail LED is flashing red until the device is parameterised and configured In this status no data exchange can take place neither send nor receive Only after successful parameterisation and configuration the Status Run LED is flashing green Now the device is ready for data exchange 2 2 Test of PROFIBUS Connection COMSOFT If you have a PROFIBUS DP configuration tool you can test the PROFIBUS connection to the XPS XPS E Gateway For this purpose load the deliverable GSD file into your configuration tool The DP Master shall now configure XPS XPS E If this configuration is successful the Status Run LED is flashing green If you do not have a PROFIBUS DP configuration tool or if you wish to change the pre defined parameters User_Prm Data in the GSD file please refer to the following chapters for the parameterisation Contents XPS XPS E User s Manual 2 3 Parameterisation The parameterisation data of XPS XPS E consists of 7 DP Slave standard bytes and 16 device specific parameters by
25. t the front side of the device COMSOFT 27 Contents XPS XPS E User s Manual 5 2 Serial Interface 5 2 1 Connector Assignment RS232 XPS and XPS E 28 The connection is realised via a 9 pin D SUB plug Pin Signal FNI CCITT Function Direction 1 109 I 2 RxD D2 104 Receive Data I 3 D1 103 O DTR SI 108 2 Data Terminal Ready O 6 DSR M1 107 Data Set Ready I O RTS S2 105 Request to Send 8 CTS M2 106 Clear To Send I Table 12 Connector Assignment RS232 Interface O Output I Input COMSOFT XPS XPS E User s Manual Contents 5 2 2 Cabling RS232 5 2 2 1 Cabling without Hardware Handshake XPS XPS E End Device Assignment Assignment 9pol 9pol 25pol Pin Signal Signal Pin Pin EED IE I 3 TxD RxD 3 2 5 GND z GND 5 7 Figure 12 RS232 Cabling without Hardware Handshake 5 2 2 2 Cabling with Hardware Handshake XPS XPS E End Device Assignment Assignment 9pol 9pol 25pol Pin Signal Signal Pin Pin TxD RxD RTS CTS GND Figure 13 RS232 Cabling with Hardware Handshake COMSOFT 29 Contents XPS XPS E User s Manual 5 2 3 Connector Assignment RS422 485 XPS E only The connection is realised via a 9 pin D SUB plug Rl Wed Tran me I B Indicate R A Receive Data T A Transmit Data O T B Transmit Data O T
26. tes User Prm data gt user prm len 16 As user diagnostic data 8 additional diagnostics bytes are available diag_len 8 1 For initialisation of XPS XPS E send a set prm telegram For this purpose use the parameters for PROFIBUS DP and the serial interface described in chapter 2 4 2 Check the parameterisation with slave_diag 3 Then use the command chk_cfg to configure the XPS XPS E Prior to that the configuration can be read with the command get_cfg from XPS XPS E If chk_cfg is executed directly after the initialisation the maximum data_exchange telegram length is loaded from XPS XPE E For shorter data_exchange telegram length select one of the possible configurations which are defined in the GSD file or select those arbitrarily according to the PROFIBUS DP standard After successful parameterisation XPS XPS E is prepared for data exchange The Status Run LED is now flashing green Note You can verify the parameterisation and configuration telegram by means of slave diag In the following only those parameters are described that are required for operating the XPS XPS E For the significance of the remaining PROFIBUS DP standard parameters please refer to the standard EN50170 and the GSD file 6 COMSOFT XPS XPS E User s Manual Contents 2 4 set_prm Parameterisation The Bytes 1 7 are PROFIBUS DP standard parameters Byte 8 23 are device specific parameters usr_prm ern ar WD_fact 1 WD_fact 2
27. tokolliert Dieses Zertifikat wird erteilt aufgrund der PNO Richtlinie f r Pr fen und Zertifizieren PRZ vom 1 1 1993 Karlsruhe den 20 08 97 AFRIT aM a Tee rbeiter Der Vorstand der PROFIBUS Nutzerorganisation N al Fae oy E K ster K P Li ner Figure 16 PROFIBUS DP Certificate No Z00284 COMSOFT 39 Contents XPS XPS E User s Manual 9 CE Conformity Declaration We herewith declare that the PROFIBUS RS232 RS422 485 Gateway XPS XPS E corresponds to the requirements stated in the EU standards 89 336 EWG and 92 31 EWG The board corresponds to the following standards EN 50082 2 and EN 55022 Manufacturer COMSOFT GmbH Wachhausstr 5a D 76227 Karlsruhe 40 COMSOFT
28. xchange Resp buffer is updated with the received data inclusive the trigger character The data Exchange Resp buffer does not change as long as the next trigger character is received PROFIBUS Data traffic DP Master XPS XPS E Receive buffer XPS XPS E TO1 0x0A DATA EXCHANGE RES usa KIUT J CERE RIET X Receive request number S Status Figure 5 Receive data in serial triggered mode trigger character 0x0A Hinweis Please note that it is not necessary to set the receive request number X in polling serial Mode 18 COMSOFT XPS XPS E User s Manual Contents l The data exchange req is transmitted to the XPS XPS E XPS XPS E has already received data via the serial interface This data are transmitted with data_exchange res back to the DP Master The receive confirmation number is incremented and data length and status are updated 2 Next data exchange reg service XPS PS E responds with the old data New data are in fact received but they do not contain the trigger character 3 Next data exchange reg service XPS PS E responds with the old data because no further serial data were received 4 Next data exchange reg service XPS PS E has received in the meantime the serial trigger character The receive confirmation number is incremented data length status and data_exchange res buffer are updated with the actual data 3 2 3 Request Mode Note COMSOFT In the request mode the XPS XP

Download Pdf Manuals

image

Related Search

XPS/XPS E xps xpress xps xpress los angeles xps xpress las vegas xps xpress dc xps xpress dallas xps xpress pompano beach xps xpress epoxy xps xpress atl marietta ga xps xpress nyc llc xps xpress pensacola xps xpress texas xps xpress chicago xps xpress st george llc xps xpress charlotte xps xpress orlando

Related Contents

ICC ICRW11OCIV  468 KEY PRO third generation Operating Instructions  「ポケモントレッタラボ for ニンテンドー3DS」「トレッタが読み込まない」症状  EDFAM Product User Manual  Laser show system User`s Manual  Wentronic 95197 holder    

Copyright © All rights reserved.
Failed to retrieve file