Kunbus XPS-E User Manual

Kunbus XPS-E User Manual

Profibus-gateway
Table of Contents

Advertisement

User Manual

XPS-E
100205 • 02/03/2017

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XPS-E and is the answer not in the manual?

Questions and answers

Summary of Contents for Kunbus XPS-E

  • Page 1: User Manual

    User Manual XPS-E 100205 • 02/03/2017...
  • Page 2: Table Of Contents

    KUNBUS GmbH 1 Working with XPS ........................... 3 1.1 Validity ............................ 3 1.2 User ............................ 3 1.3 Symbols............................. 3 1.4 Safe Work.......................... 4 1.5 Limitation of Liability ........................ 5 1.6 Customer Service ........................ 5 2 Introduction ............................. 6 3 Put into operation ........................... 7 3.1 Connect the Gateway ........................ 7 3.2 Test the PROFIBUS connection.................... 8...
  • Page 3: Working With Xps

    There is a safety hazard that can lead to serious injuries and death. Caution WARNING There is a safety hazard that can result in minor injuries and material damage. Note NOTICE There is a safety hazard that can result in material damage. XPS-E 3 / 36...
  • Page 4: Safe Work

    1.4 Safe Work Damage and serious personal injury due wrong power supply WARNING XPS-E is designed exclusively for PELV operation according to EN 60950 / EN 60204 / VDE 0805-1 èOnly protective extra-low voltages according to the defined standards may be used to supply and connect the alarm contact.
  • Page 5: Limitation Of Liability

    – damage is caused by technical modification to the product (e.g. soldering). 1.6 Customer Service If you have any questions or suggestions concerning this product, please do not hesitate to contact us: KUNBUS GmbH Heerweg 15 C 73770 Denkendorf Germany +49 (0)711 3409 7077 support@kunbus.com...
  • Page 6: Introduction

    2 Introduction The intelligent PROFIBUS-DP gateways of the KUNBUS XPS-E 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.
  • Page 7: Put Into Operation

    3 Put into operation 3.1 Connect the Gateway Illustration 2: Connectors and Interfaces of the XPS-E 1 Bus Fail LED 2 Run LED 3 Address Switch x10 4 Address Switch x1 5 Connector for power supply 6 Mode-LED 7 TxD LED...
  • Page 8: Test The Profibus Connection

    ◦ Check your PROFIBUS network with regard to an unused Slave address and adjust this free address at the coding switch of XPS-E. ◦ Plug in the power supply. The power supply of the XPS-E is connected by spring clips at the front side.
  • Page 9: Parametrization

    2.5. ◦ Check the parameterization with slave_diag. ◦ Then use the command chk_cfg to configure the XPS-E. Prior to that, the configuration can be read with the command get_cfg from XPS-E. If chk_cfg is executed directly after the initialization, the maximum data_exchange telegram length is loaded from XPE-E.
  • Page 10: Set_Prm Parametrization

    Receive Mode of PROFIBUS interface See Table „Data Transmis- sion Mode“ [} 10] Receive Mode of PROFIBUS interface See Table „Extended Gateway configuration data“ [} 10] Trigger character for serial triggered mode (usually LF (0x0A) 19..23 Reserved Table 1: set_prm *Sync_Req and Freeze_Req are not supported. 10 / 36 XPS-E...
  • Page 11 0. In the following, the default settings of the GSD for serial interfaces of XPS-E are listed. 9600 Baud / 8Bit / No Parity / 1 Stopbit / no Handshake / no...
  • Page 12: Table 3: Baud Rate Of Serial Interface Oktet 12

    See Chapter „External Device XPS-E Status Diagnostics” [} 25] Baud Rate of the serial See Chapter „Parameterization“, Section interface „Baud Rate“ [} 10] Character Transmis- See Chapter „Parameterization“, Section sion Mode of serial „Character Transmission Mode“ [} 10] interface Handshake setting See Chapter „Parameterization“, serial interface Section „Handshake“...
  • Page 13: Table 4: Character Transmisson Mode Oktet 13

    The operating mode: 7 data bits, No Parity, 1 StopBit is not supported. NOTICE Handshake Flow Control If data is exchanged via the serial interface, XPS-E supports the following modes for the handshake: – No Handshake – 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 ->...
  • Page 14: Table 1 Set_Prm

    DP-Data Transmission Mode To offer the user several possibilities to adapt his application optimally to the gateway functionality of XPS-E, 3 data transmission modes can be used. The corresponding description is found under chapter „Data Exchange“ ff. [} 15] Data Transmission Mode...
  • Page 15: Data Exchange

    4 Data exchange 4.1 Send Data To send data via XPS-E onto a serial end device, the send flag of XPS-E must be reset (ref. Communication Status, Bit 0 = 0), as otherwise the send data to XPS-E will be discarded. For a send job, the following data must be included into the telegram.
  • Page 16: Illustration 3 Data Reception In Poll Mode

    Poll Mode In this mode 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.
  • Page 17: Illustration 4 Empfang Im Seriell Getriggerten-Modus(Endezeichen:0X0A)

    1. The data_exchange.req telegram is sent to XPS-E. 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.
  • Page 18 ¬ Request-Mode In the request mode the XPS-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.
  • Page 19: Illustration 5 Data Reception In Request Mode

    Illustration 5: Data Reception in Request Mode S= Status XPS-E 19 / 36...
  • Page 20 The data that are returned are the data received at point in time. ¬ 4. No further reception command to XPS-E. XPS-E returns again the last sent data. XPS-E has already received new data. ¬ 5. No further reception command to XPS-E. XPS-E returns again the last sent data.
  • Page 21: Table 9 Structure Of A Modbus Rtu Request-Telegram

    100 ms and determines the timeout period for a non-responding Modbus Slave. The configured PROFIBUS DP IO data sizes (see XPS-E GSD file) limit the max. size of the Modbus request and response telegrams exchanged with the PROFIBUS DP Master.
  • Page 22 Reception of a Modbus RTU After transmitting a Modbus RTU request telegram, XPS-E waits for response telegram a response of the addressed Modbus slave. After the correct reception of the response telegram it is forwarded without CRC to the PROFIBUS DP Master. If no response is received within the configured timeout (See Chapter„Send Data“...
  • Page 23 (:) as well as the calculated LRC and a CR LF string. Received response telegrams are checked and forwarded without colon (:), LRC and CR LF string to the PROFIBUS DP Master. XPS-E 23 / 36...
  • Page 24: Send And Receive Data

    (transmission command number, length of transmission data, data). Please note that the data are only accepted and transmitted by the XPS-E if the transmission command number in the data_exchange.req telegram to the XPS-E has changed. Illustration 6: Combined Send- and Receive Request...
  • Page 25: Status And Error Messages

    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: Illustration 7: Byte Definition of external Device Diagnostics 1 RS_PORT_CFG_ERROR Invalid parameter at parametrization of serial interface. 2 Not significant XPS-E 25 / 36...
  • Page 26: Communication Status

    1 Modbus_TIMEOUT 2 RS_PORT_PARITY_ERROR Parity error of receive data of serial interface. 3 RS_PORT_RX_DATA_AVAIL XPS-E has data in receive buffer. 4 XOFF_CTS_ XOFF was received or CTS is inactive. 5 OUTPUT_DATA_LEN_FAILURE user data length exceeds maximal data_exchange length minus 3 (on...
  • Page 27: Connector Assignment And Cabling

    O = Output I= Input PROFIBUS Terminating Resistor For correct operation of 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.
  • Page 28: Illustration 10 Connection Of A Profibus-Dp Slave Within A Segment

    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). 28 / 36 XPS-E...
  • Page 29: Serial Interface

    Data Terminal Ready Ground Data Set Ready Request to Send Clear To Send Not connected Table 14: Pin Assignment RS232 Interface O= Output I= Input Cabling RS232 RS232-Cabling without Hardware Handshake Illustration 11: RS232 Cabling without Hardware Handshake XPS-E 29 / 36...
  • Page 30: Illustration 12 Rs232 Cabling With Hardware Handshake

    R(A) Receive Data (+) T(A) Transmit Data (+) T(B) Transmit Data (-) Ground R(B) Receive data (-) C(A) Control (+) I(A) Indicate (+) C(B) Control (-) Table 15: Pin Assignment RS422 Interface O = Output I= Input 30 / 36 XPS-E...
  • Page 31: Illustration 13 Rs422 Cabling Without Hardware Handshake

    RS422 Cabling without Hardware Handshake Illustration 13: RS422 Cabling without Hardware Handshake RS422 Cabling with Hardware Handshake Illustration 14: RS422 Cabling with Hardware Handshake XPS-E 31 / 36...
  • Page 32: Faq

    If necessary, repeat parametrization. DP-Master Status Message: Status 0xC3 (no acknowledge) Check the following points: – Does the station address of the XPS-E correspond to the setting of the PROFIBUS Master device? – Are the bus parameters set correctly? –...
  • Page 33: Technical Data

    Data transmission modes Poll mode, Request mode, serial triggered mode Receive buffer 2 KByte Potential segregation optional Connection Power Supply 2-pin spring clip 2,5mm 2 without ferrule 1,5mm 2 with ferrule PROFIBUS-DP 9-pin female D-SUB (DIN 41652) RS-Port 9-pin male D-SUB (DIN 41652) XPS-E 33 / 36...
  • Page 34 126mm x 90mm x 38mm (LxWxH) Weight 190g Voltage range 18 – 30VDC Power assumption 100mA (24VDC) Storage temperature -25C .. +70C Operation temperature 0C .. +55C non condensing Protection class Protection kind IP52 Standards CE, EN60950, EN50081-2, EN50082-2 34 / 36 XPS-E...
  • Page 35: List Of Figures

    List of Figures Illustration 1 Typical Connection....................Illustration 2 Connectors and Interfaces of the XPS-E ..............Illustration 3 Data Reception in Poll Mode..................16 Illustration 4 Empfang im Seriell getriggerten–Modus(Endezeichen:0x0A)........17 Illustration 5 Data Reception in Request Mode ................19 Illustration 6 Combined Send- and Receive Request..............
  • Page 36: List Of Tables

    Structure of a Modbus RTU Response-Telegramm............Table 11 Receive status of a Response-Telegram............... Table 12 Status Codes ......................... Table 13 Connector Assignment PROFIBUS ................Table 14 Pin Assignment RS232 Interface ................... Table 15 Pin Assignment RS422 Interface ................... 36 / 36 XPS-E...

Table of Contents