Home
I-7550 user manual
Contents
1. 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 15 LED Name Status Description flash Error I 7550 has diagnostic message Connection error between PROFIBUS master and slave or PROFIBUS system has not been configured correctly Normal operation PROFIBUS system has been configured correctly Data exchange mode Normal operation I 7550 module is not in a data exchange mode 77 pant fi i PROFIBUS EA ii us Fs 3 ji i H pem a I ra 4 at i Figure 13 LED position 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 161 3 Communication 3 1 Field of application A master station can be a PLC PC or any other smart device The system can be a mono master system Figure 14 or a multi master system Figure 15 The I 7550 enables the integration of single serial devices such as I O devices electronic scales operator terminals barcode readers and other automation devices which has a RS 232 RS 485 RS 422 interface into a PROFIBUS DP network Device 03 29 ooocococot E i 7550 PROFIBUS t Device 02 PROFI 8455 PROFIBUS Device 01 i 7550 PROFIBUS PROFIBUS Device 31 Device 30 Figure 14 Mono master system i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 17 Device 05 29 00000 i 7550 PROFI 8455 PROFIBUS t i 7550 PROFIBUS PROFIBU
2. 15 0 detebi B lend char af input data Mone 7 nputtixed length dete 7 diagnosis of time out about input data Figure 25 Activating the data length mask The PROFIBUS configuration tool allows you only to activate the counter 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 33 Figure 25 but not to enter the input data length The data length has to be defined in the sixth byte of the output data send by the PROFIBUS Master For each output data you can define the length of the response data It is therefore possible to define in each request the length of the respective response If the length for the response telegram has not been defined by the request telegram the length specified by the preceding telegram cycle will be used Once the response data length has been specified the I 7550 module will wait for the requested number of bytes to arrive at the COM port input buffer before the data string will be transferred to the PROFIBUS output buffer In certain situation it may happen that the requested number of bytes are not received e g due to data loss To prevent the module to wait indefinitely for the remaining data the module automatically recognize the end of a data stream after a time needed to transmit three bytes has elapsed This time is dependent of the baud rate the greater the baud rate the shorter is the transmitting time Example 1 In the request telegram send by the PROFIBUS
3. 4 2 2 Converter is Receiving Data from a PROFIBUS Master Displaying the output data area Delete the tree in the IOWatch window Figure 42 Pull SubModule002 and Module3 to the IOWatch window Figure 43 Right click the IOWatch window and click Start in the popup window to display the data output area Enter the string PROFIBUS in the data output area as shown in Figure 44 Enter 8 for the data length Figure 44 Change the first byte to any other value Fa SyCon EXE Network View i e n x a file View Online Settings Window Help x x Da t Logical Network View Tag List IO Watch fl 7550_pb Des ii Rt MasterO H Q Diagnostics ff Slave1 Module 1 fE SubModule0o 1 fij SubModuleoo2 ffi Module2 lj Module3 i Me o fg Delete Branch ji Load Save Start Figure 42 Clearing the tree view 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 49 _lolx a Fle View Online Settings Window Help S x nja 2 Logical Network View Tag List IO Watch value cgi MasterO H Q Diagnostics e fli Slave1 ef M 1B odule 1 Bye 01 IEC Addres 0 Slave Module SubModuleO02 O Ovtpu002 1 Bye Hex 00 O OwpubO3 2 Bye Hex 09 Eu iui TREE le ECCERCER EE Actual data Send to the R5232 device Figure 44
4. Figure 3 Pin assignment of the I 7550 i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 6 Table 2 14 pin screw terminal block Pin Name Description l D Data of RS 485 2 D Data of RS 485 3 N A 4 TX Transmit Data of RS 422 5 TX Transmit Data of RS 422 6 RX Receive Data of RS 422 7 RX Receive Data of RS 422 8 N A 9 RX Receive Data of RS 232 10 TX Transmit Data of RS 232 11 GND GND of RS 232 12 N A 13 VS V of Power Supply 10 to 30VDC 14 GND GND of Power Supply Table 3 PROFIBUS DB9 Female Connector Description N A N A Non inverting Bus Line Isolated DE output for use in PROFIBUS applications where the state of the isolated drive enable node needs to be monitored Power supply ground for the first node and the last node 5V Power Supply for the first node and the last node N A Inverting Bus Line N A 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 7 2 3 Wiring and Jumper Setting Instructions The I 7550 module supports PROFIBUS to Serial Port communication It is recommended to use only one serial port RS232 RS485 or RS422 of the converter at the same time The following section describes the necessary steps to be taken to connect one of the three COM port types to a serial device or serial network 2 3 1 RS 232 Connection
5. 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 41 Step 3 Open the Slave Configuration window by double clicking the modules icon Figure 31 Fa SyCon ExE 7550 pb l loj x B File Edit view Insert Online _ Settings Tools Window Help 7 4 ERE Cs m MasterO Station address O FMS DP Master CIF50 PB i Slave1 Station address 1 DP Slave i 7550 Double click the slave area For Help press F1 PROFIBUS Config Mode Figure 31 Graphic window Set the PROFIBUS and serial bus RS232 422 485 parameters Step 4 Set the modules PROFIBUS parameter Select System setting Figure 32 System setting always has to be selected otherwise no communication can be established between the converter and the serial network Select the input length In this example a length of 9 bytes 1s selected Figure 33 Select the output length Here the length is set to 8 bytes Figure 34 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 421 lolx B File Edit View Insert Online Settings Tools Window Help a x Slave Configuration General Device i 7550 Station address Description Slave Cancel Iv Activate device in actual configuration 7 Enable watchdog control GSD file IPDS BOD GSD PermeterDete Max length of in output data 256 Byte Length of in output data DPY1 Settings Max length of input data 1
6. C None OF CR CR C CRLF NN Auto send Interval foo cat Receive Clear Clear Exit Program Figure 38 Sending a string to the converter Displaying data read by the master from the converter In the configuration program SyCon click View gt Logical Network View Pull SubModule001 and Module2 to the IOWatch window Figure 39 I ga SyCon EXE Network View i mfal Ei r File View Onine Settings Window Help 8 x njen Logical Network View Tag List IO Watch Value Master x CQ Diagnostics 2l Slave1 Module1 ffi SubModuleo01 Pull and drop Figure 39 Creating a input watch window Right click the IOWatch window and click Start in the popup window Figure 40 to display the data input area Figure 4T i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 47 Fj SyCon EXE Network View n x File View Online Settings Window Help x noje 2 Logical Network View Tag List IO Watch f 7550_pb gi MasterO H Q Diagnostics c fif Slave Ef Module1 TagName Type Lf Processing vaue gi MasterO c fll Slave1 t E o es odule2 f SubModuleoo 1 fi SubModuleo02 fff Module2 ff Module3 Delete Tree Delete Branch Load Save Figure 40 Open the IOWatch window FS 10 Watch Device SymNeme IEC Addr
7. Data output area Table 11 describes the setup of the data output area The first byte tells the converter whether a received PROFIBUS message should be dispatched to the RS 232 COM port As soon as the first byte changes its value the data string will be transferred to RS232 device Remember that the master is constantly sending data to and reading data from the slave independently whether the data has already been sent or read An indicator is therefore necessary to inform the converter whenever new data has arrived A change in byte is an indication to the converter that a new PROFIBUS data packet has arrived The third byte describes the length of data the converter has to send to the RS232 device The actual data send by the converter to the RS232 device starts at byte number 6 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 50 Fi IOWatch Settings not saved yet f ES n x Device Symbame IEC Address Data Type Representation Value Slave 1l Module1 SubModulet02 O Ausgangool Byte Hex 01 Figure 45 First byte value change After the value of the first byte has been replaced by another value the Send232 utility receives the string send by the PROFIBUS master Figure 46 Table 16 displays the output data area send by the PROFIBUS master Table 16 Output data area send by the PROFIBUS master Byte Data type Representation Value Representation Value Output 0 Byte Hex 0x00 gt 0x01 He
8. 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 11 Figure 9 Configuration of pull high low resistor for the RS 485 port 2 3 4 PROFIBUS Connection The PROFIBUS interface of the I 7550 is a DB9 female connector The connector uses the standard PROFIBUS 9 pin assignment It is recommended to use a Standard PROFIBUS cable and connector DB9 male As with every serial bus the rate of safe data transmission in a PROFIBUS network decreases with increasing distance between master and slave Table 6 shows the transmission rate and range for a cable with the following properties Impedance 135 165Q Capacity lower than 30 pF m Loop resistance lower than 110Q Km Wire diameter greater than 0 65mm Core cross section greater than 0 34mm on B WN Table 6 Transmission rate decreasing with increasing transmission distance Transmission Rate Kbps Transmission Distance per Segment meter 9 6 19 2 93 75 1200 187 5 1000 400 1500 200 3000 6000 12000 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 12 In order to minimize the reflection effect of signal transmission both ends first node and last node of a PROFIBUS segment needs to be equipped with an active terminal resistor as shown in Figure 10 A standard PROFIBUS connector is usually already equipped with a terminal resistor The user therefore only has to switch on the resistor of the devices st
9. 22 1 23 2 55 the converter will send a diagnostic message to show 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 25 Output data loss to PROFIBUS Master The user can know the PROFIBUS data may be loss by this message Note The converter will send no data to the connected serial devices if the content of the first byte of two consecutive PROFIBUS messages 1s identical Even if the remaining bytes differ no message will be forwarded to the COM port The converter detects a new data packet only by checking the first byte Control bit 2 byte DC When this bit is set DC 1 diagnostic messages send by the I 7550 module will all be cleared CC When this bit is set CC 1 the I 7550 module sets the Receive data count fourth byte of the input data area Table 10 to zero Bit 2 7 The remaining bits have to be set to zero Output data length 3 byte The output data length default value 1s zero It has to be set for every single output command otherwise no data will be send to the COM port This byte determines the number of bytes copied from the I 7550 PROFIBUS input buffer to the COM output buffer That means independent of the data length send by the master only the number of bytes specified in the third byte will be forwarded to the COM port There is a restriction to this With the PROFIBUS configuration program the number of input and output bytes that are to be exchanged in
10. Receiving Data from a Serial RS232 Device PROFIBUS DP MASTER INTERFACE CARD PROFIBUS DEVICE 0 MASTER PROFIBUS p iu SE hilsche a Em ile ej SOFTWARE I 7550 SyCon Send232 PROFIBUS DEVICE 1 SLAVE Figure 36 System setup Connect the RS232 port of the I 7550 module to a COM port of the PC and the PROFIBUS port to a PROFIBUS master Figure 36 Start the test utility Send232 Figure 37 This utility simulates a serial device and is on the CD 1n the following directory CD PROFIBUS Converter 1 7550 utilities send232 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 45 1 Set the COM port number to the COM port of the PC the converter 1s connected to 2 Set the Baud rate to 115200 3 Open the connection 4 Select carriage return CR for the end character Send232 V 2 0 1 COMI Auto send Interval 500 Get Seng stop Send Receive Clear Clear Exit Program Figure 37 Send232 Utility with the required COM port settings 5 Type PROFIBUS in the text field above the Send button Figure 36 6 Click Send button After the string has been successfully sent it will appear in the Send textbox 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 461 Send232 V 2 0 1 COMI COM status com us2 E Line control N 8 1 Send string with
11. String 2 String 06 07 08 09 0A 3 String If the PROFIBUS network 1s configured in such a way that the time interval i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 32 between the cyclic sent and request Telegrams is larger than the time interval of data being send from the serial input buffer to the PROFIBUS output buffer than the data in the PROFIBUS output buffer will be overwritten by the next incoming data In other words if the PROFIBUS master reads the data in the PROFIBUS output buffer at a slower speed than data is written to the buffer then data will get lost Each new data string arriving from the serial input buffer will overwrite the previous data string in the PROFIBUS output buffer Example 2 If the time interval between two consecutive bytes is longer than the time needed to transmit three bytes then the module treat this situation as an end of a string although the end character has not been send and sends the data to the PROFIBUS output buffer The end character is set to CR OxOD Single data strings transferred to the serial input buffer to the PROFIBUS output buffer 1 String Data Length Bytes The converter counts the number of bytes arriving at the COM port If the specified number of data length has entered the serial input buffer the content is removed from the input buffer and transferred to the PROFIBUS output buffer 3 jpeudrte 8800 baud H aiy nine 5b daa
12. The RS 232 port of the I 7550 has got three pins The wiring of the RS 232 device with the RS232 port of the I 7550 1s shown in Figure 4 1 7550 RS 232 COM port RS 232 device Ro R amp PINS R5 z32 TX PIN TD GROUND PINTI Figure 4 RS 232 wiring diagram 2 3 2 RS 422 Connection The RS 422 wiring connection is shown in Figure 5 The I 7550 converter is always a PROFIBUS slave but it can in a local RS 422 network either take the position of a master or that of a slave Depending on whether the converter acts as a local master or as a slave and on the number of devices connected to the RS 422 network device the four jumpers provided by the module has to be set according to Table 4 The jumpers set the pull high and pull down resistors for the RS 422 port Figure 6 Figure 7 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 8 1 7550 RS 422 port RS 422 device RS4z2 TH PIN 4 RSA RH RS422 A PING RS422 TH Rsp RY PIN7 H o RS TH Figure 5 RS 422 connection RS 42 TX PINS H Lo Rs Re Table 4 Jumper position for the RS 422 port Enabled default The I 7550 is the master in RS 422 ee ee a ey eee bus or e 8 e 8 6j Cu the number of devices connected to aot oak a d the RS 422 bus is less than 10 JPZ JES JP4 Disabled The I 7550 is a slave in RS 422 bus O EX La or the number of devices connected to 321 321 321 the RS 422
13. an input length of 9 bytes 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 43 lolx BR File Edit View Insert Online Settings Tools Window Help la x ojja je Slave Configuration i General Device i 7550 Station address Description Slavel Cancel Iv Activate device in actual configuration IV Enable watchdog control GSD file IPDSOB0D GSD Parameter Date Max length of in output data 256 Byte Length of in output data 1 Byte DP 1 Settings Max length of input data 188 Byte Length of input data 12 Byte Assigned master Max length of output data 128 Byte Length of output data 5 Byte Station address 0 Max number of modules 32 Number of modules 2 ate 4 Byte Out 4 Byte Duc Double click 8 byte Out 5 Byte Out 5 Byte Ox24 6 Byte Out 6 Byte 0x25 m Actual slave Station address 1 7 Byte Out 7 Byte 0x26 8 Byte Out 8 Byte 0x27 m OO 9 Byte Out 9 Byte 0x28 h zizs50 v 10 Byte Out 10 Byte 0x29 Blot Idx Module Symbol Type I addr I Len Type o Addr O Lem Append Module Kadi 1 System Modulei IB 2 System Modulei Remove Module 1 9 Byte In HModule2z IB 0 Insert Module Predefined Modules Symbolic Names For Help press F1 PROFIBUS Config Mode Figure 34 Select an output length of amp bytes Step 5 Set the serial bus RS232 422 485 parameters Open the Parameter Data window by first clicking Param
14. bus exceeds 10 JEZ JP3 JP4 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 9 RS TX PIN 4 j Li L LJ RS dq22 TX PINS RS Rat PING RS 422 Rw PIMT a T gt lt JP ENABLE JP DISABLE Cu 3 21 3 21 Figure 7 The positions of pull high low resistors in I 7550 module 2 3 3 RS 485 Connection The RS 485 wiring diagram 1s shown in Figure 6 The I 7550 converter can only act in the PROFIBUS network as a slave In a RS i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 10 485 network however it can either be a local master or slave Before the module is connected to a RS 485 network it is important to know whether the module takes the place of a slave or master and how many devices are active on the RS 485 bus The two jumpers JPl and JP2 have to be set according the bus configuration Table 5 The jumpers set the pull high and pull down resistors for the RS 485 port Figure 9 1 7550 RS 485 Port RS 485 Device s RS 465 Da FIH 1 RS 455 D PIM Figure 6 RS 485 connection Table 5 Jumper position for the RS 485 port Enabled default The I 7550 1s the master in RS 485 ETC bus or eee ee the number of devices connected SUR eae te to the RS 485 bus is less than 10 JP 1 JPS Disabled The I 7550 1s a slave in RS 485 CE bus or 324 the number of devices connected IP to the RS 485 bus exceeds 10
15. each telegram cycle with the slave 1s specified These numbers of input and output bytes are fixed and can not be altered when the master 1s active In each telegram cycle these set number of input and output bytes are exchanged independently of the length entered in the Output data length 3 byte Imagine the data output and input length as output and input containers The PROFIBUS configuration program allows you to set the size in bytes of the output and input container During each poll cycle the output container is send to the converter irrelevant whether the container has been filled or only partly filled with new data The same procedure applies to input container which 1s send off by the converter Casel Normal operation Output data length 1s smaller than or equal to the size of the output container Only the data string specified by the Output data length 1s send to the serial 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 261 network Case 2 Output data length is greater than the output container size The data package dispatched by the COM port equals to the data inside the output container Case 3 The PROFIBUS master application program sends less data to the output container than it can hold This means that only part of the data in the output container 1s overwritten by new data but the container still holds data from previous message which has not been overwritten
16. 1 7550 PROFIBUS to RS 232 422 485 Converter User s Manual ro 7550 Os m Fa 2 Fa h E i PROFIBLIS be R5 232 422 485 Converter Support PROS OSS DP Slave O PROFIHUS haurdretze detected matarmrahea yi J Max O deta length 130 12A Bytes Hybrid COM L RS 232 423 485 NM i ducrate ar COM 1 L230 D15200bre T Seed Hupa mlan Proteccion High Quality Industrial Data Acquisition and Control Products i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 1 Warranty All products manufactured by ICP DAS are under warranty regarding defective materials for a period of one year from the date of delivery to the original purchaser Warning ICP DAS assumes no liability for damages resulting from the use of this product ICP DAS reserves the right to change this manual at any time without notice The information furnished by ICP DAS 1s believed to be accurate and reliable However no responsibility is assumed by ICP DAS for its use or for any infringements of patents or other right of third parties resulting from its use Copyright Copyright by ICP DAS All rights are reserved Trademark The names used for identification only may be registered trademarks of their respective companies List of Revision Date Author Version Revision _ 2012 0130 Raiden 150 Release 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 2 A Table of C
17. 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 35 out value can be entered A missing time out value results that the value of the preceding transaction will be used The unit for the timeout 1s set by the configuration tool Table 12 Table 12 Time unit Time Unit The unit for the Time Out value Attention The timeout value should not surmount the interval time of the arriving serial messages If this is the case data continuously streams into the COM input buffer but is not transferred to the PROFIBUS input buffer because the I 7550 module waits indefinitely for the message to end Using the timeout option it is recommended that the interval time between every message arriving at the COM port should be greater than the transmission time of two bytes COM Port Timeout Diagnostic The following timeout diagnostic are available for the serial COM port Table 13 Table 13 Timeout diagnostic setting options l l None Diagnosis of time out Master Slave mode about input data Cyclic input data mode This setting has to be done by the PROFIBUS configuration tool Note In case of a timeout no diagnostic message is available at the PROFIBUS master Master Slave Mode In this mode the converter acts as a local serial master sends a request to the slaves of the serial network and expects an immediate response Figure 27 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Ver
18. 28 Byte Length of input data Assigned master Max length of output data 128 Byte Length of output data Station address 0 Max number of madules 32 Number of modules Master System setting 3 Byte 5 Byte 0x12 0x24 Actual slave Station address 1 ere o CIF50 PB Double click System setting Append Module Remove Module Insert Module Predefined Modules ES Symbolic Names For Help press F1 PROFIBUS Config Mode Figure 32 Select System setting a RS 7550 pb E U B x kn File Edit View Insert Online Settings Tools Window Help d e x nsa lel Slave Configuration General Device i 550 Station address fi Description Slavel Cancel M Activate device in actual configuration IV Enable watchdog control GSD file IPDSOB0D GSD Parameter Date Max length of in output data 256 Byte Length of in output data DPY 1 Settings Max length of input data 128 Byte Length of input data Assigned master Max length of output data 128 Byte Length of output data Station address 0 Max number of modules 32 Number of modules Master Module Inputs Outputs In Out Identifier 4 9 qroo pa In In In In in Slavel Byte In 9 Byte i i 550 10 Byte In 10 Byte eee Append Module System Modulei IB System Modulei Remove Module Insert Module Predefined Modules Symbolic Names For Help press F1 PROFIBUS Config Mode Figure 33 Select
19. Data output command Required for every output command Control bit Output data length Default value is zero Necessary for every output command sending behavior Interval time between the two batches of the data Default value is Zero Timeout value receiving behavior Fixed data length Output 7 128 Output data to COM Port Data Data output command 1 Byte The PROFIBUS master is cyclically polling the I 7550 module In a cycle the master sends data from its output buffer to the input buffer of the converter and in the same cycle reads data from the output buffer of the converter If no new data is put on the master output buffer the master sends in each polling cycle the same data It 1s therefore necessary for the converter to detect whether the data arriving at its PROFIBUS input buffer has already been sent before or 1s new The converter recognizes a new data packet when the value of the first byte differs from the previous data packet A change of the first byte results in an immediate output of the newly arrived data at the PROFIBUS input buffer to the serial COM port When the user wants to send a new data packet to the converter the user should increase progressively the first byte ex 0 gt 1 1 22 2 23 255 50 and the converter will send the new data packet to the serial COM port If the user changes the first byte but doesn t increase progressively it ex 0
20. OFIBUS First configure the master with the help of the PROFIBUS configuration program and the GSD file electronic device description file of the I 7550 as explained in the previous chapter Then change the PROFIBUS DP master from the offline state to the operate state While the DP master is changing to the operating mode the I 7550 1s first parameterized then configured and finally it goes into the data exchange mode Figure 29 When the module is parameterized the PROFIBUS own communication parameters like response monitoring and watchdog time is set After parameterization the slave awaits the configuration telegram This telegram sets the number of input and output bytes specified by the configuration program chapter 3 5 1 that are to be exchanged 1n each telegram cycle with the slave 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 39 After parameterization and configuration have been accomplished the master can start exchanging cyclical input and output data with the converter An error occurring during the parameterization or configuration process will be displayed by the LEDs of the converter An error causes the slave to return to the wait parameter Wait Prm state and forces the master to repeat the parameterization and configuration procedure 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 401 4 Data Exchange Example In this example a serial device simulated
21. S Oakes Dd Device 03 iss PROFIBUS Device 31 Figure 15 Multi master system 3 2 Communication Sequence To fully understand the I 7550 field of applications its strength and limitation it is important to understand the way in which data 1s processed by the converter Basically the converter has got four buffers Figure 16 PROFIBUS slave input buffer PROFIBUS slave output buffer COM port input buffer COM port output buffer The PROFIBUS master has basically got two buffers Figure 17 PROFIBUS master input buffer PROFIBUS master output buffer During each message cycle the master writes the content of its output buffer to the slaves input buffer and reads the content of the slave output buffer to its input buffer This data exchange cycle is taken place in a regular time interval and i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 18 irrespective of the converters COM port communication This data exchange cycle in a fixed time interval 1s a distinctive feature of a PROFIBUS network The exchange cycle is taking place even though the content of the master and slave output buffer has not changed The way data is transferred from the COM port input buffer to the PROFIBUS slave output buffer and from the PROFIBUS slave input buffer to COM port output buffer has to be configured by the PROFIBUS configuration program Figure 16 Data flow in the converter Before a c
22. S configuration tool can set a new address and save it to the EEPROM Slave address in the EEPROM is set to 120 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 14 0 41 re y 9443 44 45 45 r4 Pi me we JN JFF 2A amp F amp F 7 im T J 45 b ai pct xy oe TONE pa Figure 12 DIP switch Each slave must have a unique valid address 1 to 125 in order to be able to communicate with the master To change the address by using the configuration tool it is necessary to first set the address stored in the EEPROM to 126 This is done by setting the dip switch to 255 in the power off state Switching the module on is forcing the module to change its address in the EEROM to 126 In the next step switch the module off and change the dip switch setting to any value from 126 to 254 This step is necessary in order to prevent the module to change its address in the EEPROM to 126 every time it is powered on The configuration tool can now assign the slave a new address 2 5 LED status indicator The I 7550 provides three LEDs to indicate the statuses of the I 7550 module The position of LEDs and descriptions are shown in Table 9 and Figure 13 Table 9 LED status description LED Name Status Description Power supply 1s ok flash COM Port is transmitting or receiving data PWR Power supply is ok on The firmware has loaded off Power supply has failed
23. The container with the new and old data is being sent off to the I 7550 module If the Output data length is greater than the new data then new data together with old invalid data will be dispatched at the COM port Interval time 4 byte This byte can increase the interval time between the two batches of the data packet It means the converter can delay the data output from PROFIBUS to Series COM port PROFIBUS Serial Network Network PROFIBUS l 7550 Example Master Converter Interval time 15 ms Figure 20 Interval time application 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 27 Timeout value 5 byte The timeout is only relevant for the communication between the I 7550 converter and the serial network The converter receives the response of a device in the serial network at the COM port as a continuous data stream A silent interval in the data stream exceeding the timeout value signals the converter the end of the message and forwards this message to its PROFIBUS output buffer Valid values for the timeout 0 to 255 A 0 represents the minimum value which equals the transmission time of one byte start bit data bit parity bitt stop bit Baudrate A 1 assigns a timeout value of either 1 or 10 milliseconds depending on the chosen unit 1 or 10ms The maximum value 255 represents either 255 milliseconds time unit 1 ms or 2550 milliseconds time unit 10 ms With th
24. ationed at the ends of a segment as shown in Figure 11 Device Device Device N B Line Eu Figure 10 PROFIBUS connection Terminator ON Terminator OFF Figure 11 PROFIBUS connector i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 13 The number of stations in a PROFIBUS network is restricted to 126 According to the PROFIBUS specification up to 32 stations are allowed per segment A repeater has to be used to link the bus segments 2 4 Setting the PROFIBUS Address The station address of I 7550 can be set by using either the dip switch or by writing it directly to the EEPROM The dip switch covers a range from 0 to 255 The valid address range of a PROFIBUS station spans from 0 to 126 Table 7 shows three examples of setting the station address by using the dip switch The dip switches are accessed by opening the modules housing Figure 12 Table 8 explains which address will be used by the module after power on if the dip switch address setting differs from the address stored in the EEPROM Table 7 Dip switch setting example DIP SWITCH SWI Station address 6 0 0 l Table 8 The Address setting of the I 7550 The address setting of the EEPROM is 0 195 ignored The address can not be set by the PROFIBUS configuration tool The address setting of the dip switch is ignored 126 254 If the address in the EEPROM is 126 the PROFIBU
25. ble number of bytes the serial network is going to respond Transmission Counter 4 byte For every data string transferred from the COM port input buffer to the PROFIBUS output buffer the counter 1s incremented by one After the master has read the data from the I 7550 PROFIBUS output buffer Figure 19 the content of this buffer remains unchanged until a new data packet is copied from the COM port input buffer Therefore if no new data arrives at the COM input buffer the PROFIBUS master will always read the same data package The master application program has to check the Counter Byte 3 to ensure that the data read is new In case for example the connection between the converter and the serial network breaks or the connected serial device has a break down then no new data arrives at the converter The Master will still continue reading the data package sent before the technical failure occurred To prevent a misinterpretation of the data it is necessary to check the counter i 550 PROFIBUS to Serial Converter y 4 m 6m processor Figure 19 Data flow from the serial bus to the PROFIBUS network 3 4 2 Output Data Area 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 24 The maximum length of output data 1s 128 bytes The first six bytes are needed to set the communication behavior of the converter Table 11 Output data area Bit Positi ipti It Fosition Description 4132
26. by a PC program sends data to and receives data from a PROFIBUS master via the I 7550 converter 4 1 Configuration Each PROFIBUS master card manufacturer provides a PROFIBUS configuration tool to configure the PROFIBUS network The design display of the PROFIBUS network and the number of supported functions may differ but all support the basic functions necessary to implement a PROFIBUS network In the following examples the CIF50 PB PROFIBUS master card from Hilscher is used The configuration and communication is done by the program SyCon provided by Hilscher Step 1 Copy the GSD file IPDSOBOD gsd and the Bitmap file ICP 7550 bmp 1 7550 bmp from the CD of the I 7550 module into the configuration utility SyCon File gt CopyGSD Directory gt CD PROFIBUS Converter 1 7550 GSD Step 2 Insert the I 7550 module as a new slave to the network Insert gt Slave Click on any area in the graphic window where the slave should be displayed Select I 7550 and assign the slave a valid station address Figure 30 gSYCON EXE 7550 pb lojx ojele le eni rie P MasterO Satin dares 5 0 EMS DP Master CIFS0 PB Insert Slave x Slee Filter Wonder CE DAE Co Lt Master n CIF5O PB Ok Langl ADF Select the l 7550 module from the slave list ICE DAS Cn Ld Ident number GSO hile mane IFOSIBUL GSL G50 Revision We Oo PROFIBUS Figure 30 Adding a slave to a PROFIBUS network
27. duction PROFIBUS is a field bus communication system with a wide range of applications particularly in the fields of factory and process automation The I 7550 integrates devices with serial RS 232 RS 485 or RS 422 interfaces into a PROFIBUS DP network Serial I O devices electronic scales operator terminals barcode readers and other automation devices can easily be connected to an existing PROFIBUS network Figure I shows an application example for the I 7550 module F lt a Figure l Application architecture of the I 7550 modules 1 1 Features 16 Bit Microprocessor inside with 80MHz Siemens SPC3 PROFIBUS controller Supports PROFIBUS DP VO slave PROFIBUS transmission rate detect automatically Max transmission speed up to 12M bps for PROFIBUS and 115 2K bps for COM Port COM Port driver has 100 KB QUEUE input buffer amp 100 KB QUEUE output i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 4 buffer Max length of in output data 1s 128 Bytes Built in self tuner ASIC controller on RS 422 485 port 2500Vrms High Speed iCoupler Isolation Protection for PROFIBUS network 3000VDC Isolation Protection on the PROFIBUS side Provide LED indicators Built in Watchdog Mountable on DIN Rail 1 2 Specification COM Port specs e Serial port RS 232 RS 422 RS 485 e Serial port interface 14 pin screw terminal block e Baud Rate 1200 2400 4800 9600 19200 38400 57600 1 15200 bps e Data Format 7 8 da
28. e receiving serial data Enable Time Unit The unit for the Time Out value 10ms None Diagnosis of time out about input data Master Slave mode Cyclic input data mode The following description will only look at the data flow from the COM port to the PROFIBUS port of the I 7550 module Figure 23 End Character s The End Character s can be set directly by the PROFIBUS configuration program As soon as the converter detects the end characters of the incoming serial data stream it removes the data from the serial receive buffer and transfers it to the PROFIBUS output buffer of the converter The PROFIBUS master will read the new data string from the I 7550 output buffer during the next send and request telegram 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 31 Figure 23 Data flow from the serial bus to the PROFIBUS network Example 1 The end character is set to CR OxOD see Figure 24 Byte Description Value B padre 86D baud H party none Bidet 8 data hit B fend char of input data CR inputfixed length data Disable unit of time aut value 1 ms 7 diagnosis of time out about input data Mone Figure 24 The carriage return is set to determine the end of a data packet Stream arriving at the COM port 06 07 08 09 oa ODE oB OC Values are hex number single data strings transferred from the serial input buffer to the PROFIBUS output buffer 1
29. ersion 1 50 PAGE 53 6 Dimensions 29 50 O4 5X4 35 30 Back View Side View i Top View Unit mm From View 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 54 i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 55
30. es Data Type Representation Value See ees lager Slavel Modulel SobModuleO001 Inpwi01 0 Byte Hex o Data lengt Slavel Module SubModuleO01 Inpw02 1 Bye Hex 00 lt pesg al ken pup ppm Counter Slavel _ ST Message send by the cendz3z tility Wt aes ekleki Figure 41 Display of the input data area As described in Table 10 the third byte in the input data area indicates the length of the data received The third byte is the data packet identifier It increments with each new data packet by one until the number 255 is reached then it starts from one again Data in the fourth byte and above is the actual string sent by the Send232 utility Table 15 shows the received data in the input data area in more detail Table 15 Received data in the input area Module Byte Data type Representation Value Representation Value l Input 0 Byte Hex 0x00 Hex 0x00 l Input 1 Byte Hex 0x00 Hex 0x00 l Input 2 Byte Hex 0x09 Hex 0x09 l Input 3 Byte Hex 0x01 Hex 0x01 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 48 Byte Data type Representation Representation Input 4 Byte Hex Char Input 5 Byte Hex Char Input 6 Byte Hex Char Input 7 Byte Hex Char Input 8 Byte Hex Char Input 9 Byte Hex Char Input 10 Byte Hex Char Input 11 Byte Hex Char Input 12 Byte Hex Hex NE NIN I NIN NIN P2
31. eter Data in the Slave Configuration window and then Common A parameter can be assigned a new value by double clicking it For this EXT the default setting 1s being used Alix h File Edit View Insert Online Settings Tools Window Help E x ET ESHI Slave Configuration x i General Device i 7550 Station address OK Description Svea Cancel Iv Activate device in actual configuration 7 Enable watchdog control GSD file IPDSOBOD GSD M Parameter Data Description Common Parameter Data Cancel 38 baudre 1 1 1 1 15200beud i inpuxedlenghdet Disable CIN wiofimeouvee fims diagnosis ofime autaboutinputdata None Module zzz M 4 5 6 7 8 9 1 Predefined Modules Symbolic Names For Help press F1 PROFIBUS Config Mode Figure 35 Window for setting the parameters for the serial bus 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 44 Step 6 Close both the Parameter Data and the Slave Configuration window by confirming the setting by clicking the OK button Step 7 Now the setting done by the configuration tool has to be downloaded to the PROFIBUS master Click on the master area in the graphic window then Online gt Download If the download process was successful the master now cyclically sends and reads data from the converter 4 2 Communication Testing 4 23
32. he received serial data Table 10 Input data area Description I 7550 is currently not transmitting I O data I 7550 is transmitting data to the COM Port I 7550 is receiving data Data received by the COM Port input buffer is transferred to the PROFIBUS output buffer Bit 1 Output FIFO overflow Error Bit 2 Input FIFO overflow State Bit 3 Output data loss Bit 4 Input data loss Length Received data length Counter Received data count Receive data from COM Port Data Length 3 byte It is important to notice that this value does not show the length of the data package read by the PROFIBUS master but the length of the data package transferred from the COM port input buffer to the PROFIBUS output buffer of the converter If the image of the input data PROFIBUS master input length set by the configuration tool 1s equal or greater than the transferred length then the length of both data packages are identical In case the image of the input data is smaller than the length of the data package transferred from the COM port input buffer then the PROFIBUS master will only read the number of bytes set by the configuration tool The master therefore does not receive all the data sent by the serial network It lies in the responsibility of the system 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 23 administrator to make sure that the input image is set to the maximum possi
33. he diagnostic message Output Data Error FIFO overflow to PROFIBUS Master b When the I 7550 module receives the data output command first byte of the output data area Table 11 from PROFIBUS Master and the command is not increase continuously the I 7550 will send the diagnostic message Output Data Error Data loss to PROFIBUS Master please refer section 3 4 2 Output Data Area Input Data Error a When the speed of serial network 1s bigger than PROFIBUS network and the serial device transmit continuously data to the I 7550 module the input buffer of the I 7550 will overflow and I 7550 will send the diagnostic message Input Data Error FIFO overflow to PROFIBUS Master b When the I 7550 module can t receive data in time from COM port it will send the diagnostic message Input Data Error Data loss to PROFIBUS Master please refer section 3 5 2 COM Port Timeout Diagnostic 3 7 Establishing Connection with the I 7550 Before establishing a connection between the DP Master and the I 7550 user should execute the following steps first 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 38 IPDS BOD gsd Wait Prin Load GSD into ets Master Check and Applied Prm OK Wait Cfg Setting Prm Data OK WD Timeout Wait DATA EX REUN Establish Data Exchange Connection among Master and i 7550 Figure 29 Procedure for activating the converter on a PR
34. ication Parameters Before communication can be establish a process image for the output and input data has to be set by the PROFIBUS configuration tool That is the numbers of bytes send and received during a single data exchange cycle by the PROFIBUS master Figuratively speaking the PROFIBUS master communicates with the slave by sending it a fixed size container filled with output data and receiving a fixed size container filled with input data This configuration can not be changed during the bus operation That means the size of the output and input container can not be changed while the converter 1s active on the bus Modification of the setting is only possible when the communication between master and slave has stopped Steps to set the output and input data length Step 1 Load the following GSD file and BMP file of the I 7550 module into the PROFIBUS configuration tool IPDSOBOD gsd ICP 7550 bmp 1 7550 bmp PATH gt CD PROFIBUS Converter 1 7550 GSD Step 2 Add the I 7550 module as a slave to the configuration tool Step 3 Assign the converter a unique station address Slave configuration Step 4 Select System setting Figure 22 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 29 System Setting 3 Byte 5 Byte Oxle 0x24 Figure 22 System setting is right at the top of the module list Step 5 Select the input length or in other words the size of the input container Please ma
35. is byte each output telegram send by the PROFIBUS master specifies the timeout for the data stream of the serial response If for every request send by the converter multiply responses are expected then the timeout applies to all these messages The timeout value is saved in a nonvolatile memory After switching the converter on the timeout value from the last telegram send before it was switched off will be used for the COM port receive mode Fixed data length 6 byte This byte determines the length of the serial response data string The converter waits until the data arriving at the COM port buffer has reached the specified length before it 1s copied to its PROFIBUS output buffer In the next polling cycle of the PROFIBUS master this data is filled into the input container and sent to the master Notice To use this feature the Data length mode has to be enabled by the PROFIBUS configuration tool otherwise this byte value will be ignored 3 5 Communication parameters In order for the converter to exchange data between a PROFIBUS network and a serial device or serial network the PROFIBUS communication parameters and serial bus communication parameters have to be set by a PROFIBUS configuration program 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 28 PROFIB Serial bus RS232 485 422 Figure 21 The converter links the serial network to the PROFIBUS network 3 5 1 PROFIBUS Commun
36. ke sure not to exceed the maximum input length of 128 bytes For example 4 Byte In represent a input length of four bytes Step 6 Select the output length size of the output container The maximum output length is limited to 128 bytes For example 11 Byte Out 3 5 2 Serial Communication Parameters The converter can only establish a communication with the serial network if the following parameters are identical for both the serial network and the I 7550 COM port COM Port baud rate COM Port parity COM Port data length Table 12 shows the supported configuration setting Table 12 COM port settings Parameter 1200 2400 4800 9600 19200 38400 57600 115200 None COM Port parity Even 7 data bit M Port data length 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 30 COM Port baud rate In addition for the converter to correctly read the end of the data string arriving from the serial network and make that data accessible to the PROFIBUS network one of the following parameters options have to be set the end character or the byte array length or max time period between the arrival of the first byte and the last byte time out Table 13 Description Parameter None End Character s CR Carriage Return The end character of the LF line Feed receiving serial data CR LF LF CR Data Length Bytes Disable The length in bytes of th
37. master and slave 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 20 Figure 17 Data flow between application program and converter 3 3 I 7550 in a RS232 422 485 network Chapter 0 mentions that the converter can either take the position of a local master or that of a slave in the serial network Figure 18 it is connected to In the PROFIBUS network the I 7550 always remains a slave PROFIBUS slave and can not be used as a PROFIBUS master 3 3 1 Local Serial Master A master in a serial network 1s the only device which can initiate a request The slaves are passive and are only allowed to response to a request If the converter acts as a master in the serial network it has the right to send a request to a slave The original request has been send by the PROFIBUS master application program and the converter just passes it on The PROFIBUS master application program therefore acts as a master to the local serial network The response from the slave is transferred to the PROFIBUS output buffer of the converter In the following polling cycle the PROFIBUS master reads the response data 3 3 2 Local Serial Slave In this case the converter is the passive device in the serial network and is only allowed to send data when a request has been specifically addressed to it As this converter can not be assigned an address every message transferred in the i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Versio
38. master the response length 1s set to 5 bytes The Stream arriving at the COM port 01 02 03 04 05 06 07 08 09 OA OB 0C Values are hex number Data strings transferred from the serial input buffer to the PROFIBUS output buffer 1 String 2 String 06 07 08 09 0A 3 String The PROFIBUS master receives the following data from the converter 1 String 00 05 joi o1 02 03 04 05_ 2 String o 0s oos 07 0s 09 0A 3 String o 02 03 0B oC According to Table 10 the first byte indicates the transmission state the second byte shows the length of the incoming data the third byte displays the value of the receiving counter of the incoming data package The value of the third byte 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 34 will increment by one with each data package transfer from the COM buffer to the PROFIBUS output buffer of the converter The third string will only be send after a transmit time of three bytes has elapsed The module is waiting for 5 bytes but has only received two bytes In this example the data string arrives most probably faster at PROFIBUS output buffer of the converter than the master will be able to poll the data Depending on the Baudrate and polling cycle the PROFIBUS master will receive in the worst case only the last string 3 String 00 02 03 0B 0C The master therefore has to check the counter byte 3 b
39. n 1 50 PAGE 21 local serial network will be read by the converter and forwarded to the PROFIBUS master It 1s the master application program which has to process the data and take the place of a serial slave The master application program acting as a slave therefore should only response to telegram addressed to it Notice All the data transfer in the serial network is recorded by the module and consequently read by the PROFIBUS master PROFIBUS DP 1 2530 PROFIBUS slave Figure 18 Integrating a serial network to a PROFIBUS network 3 4 PROFIBUS I O Data Area The PROFIBUS master sends and receives data in one telegram cycle That 1s the master sends output data to the slave 1 7550 module and receives input data from the slave in a single cycle The maximum length for each input and output data 1s 128 bytes i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 22 3 4 Input Data Area The first four bytes of the received input data are reserved for the communication status The first byte indicates the transmission status The second byte shows the error state The third byte shows the length of the data transferred from the COM port input buffer to the PROFIBUS output buffer of the converter The fourth byte represents a transmission counter The remaining data in the input data area represents the data packet received from the serial network The fifth byte therefore shows the first byte of t
40. ontents Ifi tt OUG O aara E E E EE eee nae vane NEATENTO 4 HE SVC AUC NR EE E E TT 4 2 PCC MIC AMON asserts tania tentadayaea aos sasaten auamienenuetnes 5 PRG Ale tessa E dames EE E E DRM oer neat MEE UEM 6 2 1 Block Diagram of the I 7550 sese 6 2 2 PANVASSIOMMICIN cause tascksun d ned ates bbaa esee thus e uibus qus 6 2 3 Wiring and Jumper Setting Instructions ccc e cece 8 2 4 Setting the PROFIBUS Address 00 cece cece cee eeees 14 2 5 TAS Stats HIOICOI OT socra a saan aN 15 COMMIMM CAO esna tte uwaendudecaeediesennedehatenaevar 17 S I BIGIGO8 Appl CaulON sas 0icscuscid vescinntateiwdi an 17 3 2 Communication Sequence cc ccc cccc eee e cece nee eeeeeeeeaees 18 3 3 1 7550 in a RS232 422 485 network 0 ccc cece eee ees 2 3 4 PROFIBUS VO Data ATOS encdo isa ute toga ttes e e E Estote detto 22 3 5 Communication parameters ccc ccc cc cence eee eeeneeeeeees 28 2396 JXasnoste Mess dieS cca cedet el cuve P ent mae eae ux 37 3 7 Establishing Connection with the I 7550 0 0 cece eee 38 Data Exchange Example 242 eri oU UR Es O wee DU EIE aad 4 AT RUIN ETT 4 4 2 Communication Testing ccc ccc cece cece cece ee ee een 45 TOU OIC BOON ucedioceder int otra ER cosa M MEE captor a RUE 53 ICIS 1 OS acceso eU add INIRE esa ene nae wae eno 54 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 3 1 Intro
41. sion 1 50 PAGE 361 Serial 1 550 D Network Figure 27 Converter sends a request and waits for a response If the time between the request send and the response received exceeds three seconds then the PROFIBUS master will show an extended diagnostic with the following reading Input Data Error Not received message in time Cyclic Input Data Mode In this mode the converter is continuously receiving telegrams from the serial network without sending any request telegrams Figure 28 If the time interval between two arriving telegrams is greater than three seconds the following extended diagnostic will be displayed at the PROFIBUS master Input Data Error Not received message in time Serial 17550 qa Qa am Nok Figure 28 Converter is in a receiving mode 3 6 Diagnostic messages The I 7550 module has two types of diagnostic message They are System Setting Module Error and Input Data Error Table 14 Table 14 diagnostic messages Not find system setting module system setting module Error Position 1s not correct FIFO overflow Qutput Data Error 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 37 FIF f Input Data Error Output Data Error a When the speed of PROFIBUS network is bigger than serial network and the PROFIBUS Master transmit continuously data to the I 7550 module the output buffer of the I 7550 will overflow and I 7550 will send t
42. ta bits None Odd Even parity bit 1 stop bit PROFIBUS specs e PROFIBUS interface connector D sub 9 pin female e Baud Rate 9 6K 19 2K 45 45K 93 75K 187 5K 500K 1 5M 3M 6M 12Mbps e Address Setting 0 126 set by DIP switch or EEPROM Power requirement e Unregulated 10V 30V DC Power reverse protection Over Voltage brown out protection Power consumption 2 5W Module specs e Dimensions 119mm X 72mm X 33mm Operating temperature 25 75 C Storage temperature 30 85 C Humidity 5 95 non condensing LED Status Indicators Table 1 Table 1 LED status indicator Shows the power state PWR LED COM Port state transmit or receive data ERR LED RUN LED Show communication state of PROFIBUS 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 5 2 Hardware 2 1 Block Diagram of the I 7550 RS 485 SIGNAL S 2900 Vrms Isolation RS 422 MICRO PROFIBUS M ge PROFIBUS SIGNAL m hid PRECESSOR Controller P E SIGNAL RS 232 4 SIGNAL 7 i 3000V E Isolation is il a AS d 1 10 30vDC MAU DC C i Figure 2 Block diagram of the I 7550 2 2 Pin Assignment Fi D t y Tx PY Tx u bh EM Rx N un I Rx ai LL C Rx 73 Tx M w NS 3000VD Isolation on PROFIBUS j GND id w ME XE i i M p i f iul RE 422 Rea Vs EHea ges GND 14 Power Input 10 30 VD QICDOIP TDODJQOTICODOT
43. the PROFIBUS master are correct The I 7550 has some diagnostic messages Chapter 3 6 Please check I 7550 s configuration Make sure 3 ERR LED indication of I 7550 the system setting module is exit and add in the first is always flash module COM Port Timeout Diagnostic function of Serial Communication Parameters Chapter 3 5 2 is be set to None Input Output data can not be Make sure that the converter 1s configured according to the transmitted serial device it 1s connected to Please check the output data area Table 11 Make sure 5 The data receive 1s ok but the data length transmit is error timeout value fixed data length are correct The silent interval between two consecutive strings arriving at The number of bytes sent by the the COM port is lower than the set timeout value Table 11 6 serial device is less than 5 byte indicated by the second byte 1n the input data area Table 10 decrease the timeout value Chapter 3 4 2 or use the input fixed length data option chapter 3 5 2 or use the end char of input data option chapter 3 5 2 The number of data packages received by the PROFIBUS 7 master is less than the number of data packages sent by the serial device Table 10 The PROFIBUS polling interval 1s larger than the sending interval of the serial device decrease the polling interval 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual V
44. to the slave Therefore an information string is attached by the master application program at the front of each message which enables the I 7550 converter to check whether it has already been dispatched to the COM port or not In case of new data it is immediately sent via the serial output buffer to the COM port 3 2 1 2 PROFIBUS master reads input data arriving at the serial COM port The master sends and reads data in one telegram cycle Figure 17 The telegram cycle starts at a configured time interval regardless whether new data has arrived or not That means the master reads data from the I 7550 PROFIBUS output buffer not knowing whether it has already been read in the previous cycle It therefore necessary to reserve part of the master input string for the message status information Data arriving at the COM port enters the serial input buffer Figure 16 This data is transferred to the PROFIBUS output buffer according to the setting done by the configuration program Status information of this data package 1s added to the front of the string Once data arrives at the I 7550 PROFIBUS output buffer the master can access this data in the next polling cycle The master application program Figure 17 recognizes a new data packet by interpreting the status information of each individual data packet It 1s important to remember that the communication procedure between application program and master is independent of the telegram cycle between
45. x 0x00 gt 0x01 Output Byte Hex 0x00 Hex 0x00 Output 2 Byte Hex 0x08 Hex 0x08 Output 3 Byte Hex 0x00 Hex 0x00 Output 4 Byte Hex 0x00 Hex 0x00 Output 5 Byte Hex 0x00 Hex 0x00 Output 6 Byte Hex 0x70 Char Output 7 Byte Hex 0x72 Char Output 8 Byte Hex Ox6F Char Output 9 Byte Hex 0x66 Char Output 10 Byte Hex 0x69 Char Output 11 Byte Hex 0x62 Char Output 12 Byte Hex 0x75 Char Output 13 Byte Hex 0x73 Char l l l l l 3 3 3 3 3 3 3 3 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 51 gend232 V 2 0 1 COMI cow E im El oom deme OO famem Figure 46 Data received from the master 1 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 52 5 Troubleshooting The troubleshooting list can help users to resolve the problems when using the I 7550 If the problem still can t be solved please contact with technical staff of ICP DAS Table 17 Errors and solutions Item Trouble state Solution PWR LED indication of I 7550 The power supply of I 7550 is incorrect Please check the l isalva vs mied oi wire connection of the power and make sure the voltage is between 10 30VDC The I 7550 is not connected to the PROFIBUS master station ERR LED indication of I 7550 check the wire connection is always turned on make sure that the configuration and address of I 7550 stored in
46. yclic communication between a PROFIBUS master and the converter can be established it is required to specify the number of input and output bytes that are to be exchanged in each telegram cycle with the PROFIBUS configuration program Once the slave is an active station in the PROFIBUS network the configured input and output length can not be changed A new configuration of the slave is only possible when it 1s in an off line mode If for example the converter receives from a RS232 device a greater data package than the configured output length it will only transfer the configured data length to the PROFIBUS master The remaining data packet will not be sent That means irrelevant of the amount of data received by the I 7550 converter the data length transmitted to the PROFIBUS master is always limited by configured length i 7550 PROFIBUS to RS 232 422 485 Converter User Manual Version 1 50 PAGE 19 3 2 1 Data Flow 3 2 1 1 PROFIBUS master send output to the serial COM port The master sends in a fixed time interval data from its master output buffer to the slave input buffer Figure 17 The master does not care whether the data has already been send or not It only reads data from its output buffer and does not remove the data from the output buffer after it has been send If data in the masters input buffer does not change between two message cycles the master will send the same data which has been transferred in the previously cycle again
47. yte whether any strings have been lost due to an unsynchronized PROFIBUS and serial network Timeout ms The Timeout property 1s switched on by setting the End Character s to None and the Data Length to Disable Figure 26 B jpeudrste 15200 baud parity ore Bet B data hit B fend char of input data Mone linputfixed length data Disable unit of time aut value 1 ms 7 diagnosis of time out about input data Mone Figure 26 Activating the timeout property The timeout 1s used by the I 7550 module to determine the end of a serial data string arriving at the COM port If the time between two consecutive bytes exceeds the timeout value the module transfers the data from the COM port input buffer to the PROFIBUS output buffer and thereby enables the PROFIBUS master to read this data The default timeout value is set to the duration needed to send one data byte That means if after a time period of one byte no additional data arrives then the data already in the COM port input buffer will be regarded as the total response telegram and is therefore being sent to the PROFIBUS output buffer Similar to the Data Length option the time out value can not be set by the PROFIBUS configuration tool The setting has to be sent by the PROFIBUS master in the request telegram The fifth data byte of the request telegram Table 11 is reserved for the timeout setting For each request a different time
Download Pdf Manuals
Related Search
Related Contents
EASYLOCK Manual de Instalación V 1.1 Digital Labelling Application Software c0404 V1.6 SDI Speed Dome Camera OSD Menu Capteur ELECTROMECANIQUE A CODE sans - Comitronic-BTI FAST GLATT Genelec 8040A User's Manual Whirlpool WED8300SB1 User's Manual manual_KDT910CA_Y_KDT910E. Tamaño : Using SmartScore.book Copyright © All rights reserved.
Failed to retrieve file