background image

XPS-E

36 / 36

List of Tables

Table 1

set_prm ..........................................................................................................................

10

Table 2

slave_diag......................................................................................................................

11

Table 3

Baud Rate of Serial Interface Oktet 12 ..........................................................................

12

Table 4

Character Transmisson Mode Oktet 13 .........................................................................

13

Table 5

Handshake-Modi Oktet 14 .............................................................................................

13

Table 6

Data Transmission Mode Oktet 16 ................................................................................

14

Table 7

Extended configuration byte Oktet 17............................................................................

14

Table 8

Trigger character Oktet 18 .............................................................................................

14

Table 9

Structure of a Modbus RTU Request-Telegram ............................................................

21

Table 10

Structure of a Modbus RTU Response-Telegramm.......................................................

22

Table 11

Receive status of a Response-Telegram.......................................................................

22

Table 12

Status Codes .................................................................................................................

23

Table 13

Connector Assignment PROFIBUS ...............................................................................

27

Table 14

Pin Assignment RS232 Interface ...................................................................................

29

Table 15

Pin Assignment RS422 Interface ...................................................................................

30

List of Tables

Summary of Contents for XPS-E

Page 1: ...User Manual XPS E 100205 02 03 2017...

Page 2: ...Connect the Gateway 7 3 2 Test the PROFIBUS connection 8 3 3 Parametrization 9 3 4 set_prm Parametrization 10 4 Data exchange 15 4 1 Send Data 15 4 2 Receive Data 15 4 3 Send and Receive Data 24 5 Sta...

Page 3: ...g fields is assumed Electronic circuits Basic knowledge of PROFIBUS work in electrostatic protected areas Locally applicable rules and regulations for occupational safety 1 3 Symbols The symbols used...

Page 4: ...discharge ESD in accordance with EN 61340 5 1 and EN 61340 5 2 as well as IEC 61340 5 1 and IEC 61340 5 2 NOTICE Shielding The shielding ground of the connected twisted pair cables is electrically con...

Page 5: ...ual damage is caused by inadequately qualified personnel damage is caused by technical modification to the product e g soldering 1 6 Customer Service If you have any questions or suggestions concernin...

Page 6: ...S232 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...

Page 7: ...2 3 4 5 6 7 8 9 10 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 8 RxD LED 9...

Page 8: ...l LED is flashing red NOTICE The Status Busfail LED is flashing red until the device is parameterized and configured In this status no data exchange can take place neither send nor receive Only after...

Page 9: ...k_cfg is executed directly after the initialization the maximum data_exchange telegram length is loaded from XPE E For shorter data_exchange telegram length select one of the possible configurations w...

Page 10: ...al Interface 10 13 Character Transmission Mode of serial interface See Table Character Transmission Mode 10 14 Handshake setting of serial interface See Table Handshake Mode 10 15 XOFF Timeout of seri...

Page 11: ...owing entry in the GSD file User_Prm_Data 0 0 0 0 96 56 78 0 80 0 0 0 0 0 0 0 Octet 1 7 are PROFIBUS DP Standard Octet 8 14 are the device specific diagnostics parameters external diagnostics Oktet Pa...

Page 12: ...ceive Mode of DP interface See Chapter Parameterization Section Data Transmission Mode 10 14 Setting of driver phys ics of serial interface RS232 485 See Chapter Parameterization Section Data Transmis...

Page 13: ...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...

Page 14: ...ble 7 Extended configuration byte Oktet 17 BIT0 RS232 RS422 Serial interface physics With this parameter the interface physics can be set to RS232 0 or RS485 1 BIT1 double Baudrate Setting this bit do...

Page 15: ...tore 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 parame...

Page 16: ...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 wi...

Page 17: ...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...

Page 18: ...eived 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 Request Mode In the r...

Page 19: ...XPS E 19 36 Illustration 5 Data Reception in Request Mode S Status Data exchange...

Page 20: ...o XPS E receive request number has been increased 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...

Page 21: ...Chapter Send Data 15 3 Data length N of the following user data 0 237 See Chapter Send Data Section Modbus RTU Master 4 Adress Modbus RTU Slave 0 255 5 Modbus RTU Command 0 255 6 n Modbus RTU Data 0...

Page 22: ...0 255 2 Receive confirmation number of XPS E 0 255 See Chapter Receive Data 15 3 Data size N of the following user data 0 237 See Chapter Receive Data 15 Section Modbus RTU Master 4 4 N Modbus Data 0...

Page 23: ...eceive confirmation number is incremented 1 Byte 3 Stores the data size of the Modbus response telegram Modbus ASCII Master The transmit and reception of Modbus ASCII telegrams complies with the mecha...

Page 24: ...ters 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...

Page 25: ...lised 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_C...

Page 26: ...tted 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...

Page 27: ...TxD N Data I O 9 CNTR N Control character l O Table 13 Connector Assignment PROFIBUS O Output I Input PROFIBUS Terminating Resistor For correct operation of XPS E both bus terminations of the line seg...

Page 28: ...er 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 PR...

Page 29: ...ve Data I 3 TxD D1 103 Transmit Data O 4 DTR S1 108 2 Data Terminal Ready O 5 GND E2 102 Ground 6 DSR M1 107 Data Set Ready I 7 RTS S2 105 Request to Send O 8 CTS M2 106 Clear To Send I 9 Not connecte...

Page 30: ...nnection is realised via a 9 pin D SUB plug Pin Signal Function Direction 1 I B Indicate I 2 R A Receive Data I 3 T A Transmit Data O 4 T B Transmit Data O 5 G Ground 6 R B Receive data I 7 C A Contro...

Page 31: ...Cabling without Hardware Handshake Illustration 13 RS422 Cabling without Hardware Handshake RS422 Cabling with Hardware Handshake Illustration 14 RS422 Cabling with Hardware Handshake Connector Assig...

Page 32: ...ly been executed 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 t...

Page 33: ...stics Data_Exchange Buffer 4 240 Byte I O selectable 3 Bytes with header functionality RS232 Interface Interface RS232 interface with Handshake signals RTS CTS RS422 485 interface with Handshake signa...

Page 34: ...s red corresponds to RS232 mode PROFIBUS address window at coding switch Technical Data Case synthetic profile with aluminium front panel lacquered Dimensions 126mm x 90mm x 38mm LxWxH Weight 190g Vol...

Page 35: ...Receive Request 24 Illustration 7 Byte Definition of external Device Diagnostics 25 Illustration 8 Byte Definition of Communication Status 26 Illustration 9 Assignment of PROFIBUS Terminator Type A 27...

Page 36: ...e Oktet 16 14 Table 7 Extended configuration byte Oktet 17 14 Table 8 Trigger character Oktet 18 14 Table 9 Structure of a Modbus RTU Request Telegram 21 Table 10 Structure of a Modbus RTU Response Te...

Reviews: