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...
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.
– 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...
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.
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...
◦ 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.
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.
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...
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“...
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 ->...
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...
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.
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.
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.
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.
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...
(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...
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...
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...
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.
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...
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? –...
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 -25C .. +70C Operation temperature 0C .. +55C non condensing Protection class Protection kind IP52 Standards CE, EN60950, EN50081-2, EN50082-2 34 / 36 XPS-E...
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..............
Need help?
Do you have a question about the XPS-E and is the answer not in the manual?
Questions and answers