Home

PRS - PROFIBUS DP Redundancy Switch User's Guide

image

Contents

1. verbunden 00 01 15 auto Erkenn 3600 8 N 1 RF GROSS UM Aufzeichnen Druckerecho Figure 7 Configuration device parameter e PRS Hardware watchdog PRS will be automatically reboot if the timeout expires i e if a system crash occurs e Hardware watchdog timeout value in seconds e Debug messages on RS232 service interface PRS transmits during operation debug messages in ASCII format on the RS232 service interface e Baud rate RS232 service interface The baud rate of the RS232 service interface can be changed in the range of 4800 Baud 115 KBaud default is 9600 Baud e SwitchOverTriggermode Determines the basic condition for the automatic switch over The value 1 is only for internal use and must not be configured e 0 The switch over is triggered by PROFIBUS DP Ethernet is deactivated e 2 The switch over is triggered by Ethernet PROFIBUS DP is deactivated e Timeout value for Ethernet based alive telegram SwitchOverTriggermode 2 comsormrs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 15 Business Confidential CO MSOFT Proprietary Operation of PRS User s Guide Determines the timeout value in multiples of 100 ms after thata switch over is performed if no Ethernet based alive telegram was received 6 4 PROFIBUS DP operation mode 6 4 1 Triggering of a switch over The switch over from the operational DP Master to the redundant DP Master is triggered as follows e PROFIBUS failure o
2. If DHCP is activated PRS gets the TCP IP address from an available DHCP server The necessary Mac address to configure the DHCP server is located on the bottom of the PRS Please note that network addresses must not contain leading zeros Example 172 16 1 114 instead of 172 016 001 114 Each entry is to be concluded with a return After entry and confirmation of the last parameter waiting period for the configuration the PRS stores the entered parameters performs a reset and displays the configuration dialogue with the modified parameters and a new change option Entry of parameters may be repeated as often as required User s Guide Operation of PRS 6 3 2 Device parameter Datei Bearbeiten Ansicht Anrufen bertragung Dl 213 la l The device s serial hardware number is 00000002 Press any key in 5 seconds to change these settings Alccept or modify parameters for Nletwork Dlevice or Slerial Number D For each of the following questions you have to press lt Return gt to select the va lue shown in braces or you can enter a new value Should CPU enables the NETARM HW Wdog while working VAN N Set the timeout for HW Watchdog 00005 Should CPU make debug outputs on terminal while working WAN Y Set the baud rate of Serial channels 960017 SwitchOverTriggerMode Source ne 9 DP LAN 1 LAN 2 917 SwitchOverWatchdoglime of LAN 10 How long in seconds should CPU delay before starting up 5
3. terminal under Windows What you can control or observe via the terminal is described in the section Operation of PRS Clamps 5 8 serve as terminal connection and as 24 V output for the internal PA power supply Clamp 6 0 V for the RS232 interface Clamp 7 outgoing data line of the RS232 interface from viewpoint of the PRS Clamp 8 incoming data line of the RS232 interface from viewpoint of the PRS 2 6 1 Pin assignment RS232 interface cable Mm __ mi I S ma I DSUB 9 female e e GND 50 9 o 6 GND Reb 9 br 9 7 TxD TxD 3 o WS gt 8 RxD Figure 3 Serial interface cable 3 Technical data PRS G61740x Dimensions 114 5 mm x 99 mm x 45 mm Environmental temperature 0 40 C during operation Environmental temperature 40 100 C during storage Safety EN60950 Electromagnetic compatibility EMV EN50081 2 and EN50082 2 Table 2 Technical Data I PRS B617401 Processor NET ARM50 Clock pulse frequency 44 MHz Storage 2 MB SDRAM 1 MB Flash Power supply 12 36 V nom 24V DC Current consumption At 24 V max 120 mA Ethernet 2 10 100baseTX Dielectric strength Ethernet 1500 VAC Table 3 Technical Data II PRS DP module B617402 PROFIBUS chip 2 SPC42 Bus interface P
4. 03 2010 Business Confidential CO MSOFT Proprietary 2 3 Power supply connection The power supply basis for the PRS module is 24 V DC The following options exist e 0 Vis connected either to clamp 9 or 10 24 V to clamp 11 or 12 e The resulting free clamp can be used for distributing the power supply to other 24 V devices in the cabinet e The four clamps are combined in one coded plug This makes it impossible to confuse the plug with other plugs It can be inserted manually and removed again with a screwdriver 2 4 Ethernet connection PRS implements two Ethernet interfaces 10 100baseTX via RJ45 plugs For connection to an existing network connect PRS to the corresponding hub or switch via patch cable For direct connection without use of a hub or switch you need a cross wired Ethernet cable 2 5 PROFIBUS DP connection Both DP Masters and the DP Slaves are connected to the 9 pin D SUB plugs in the front panel of PRS as shown in Figure 5 Connection of DP Master DP Slaves The termination in the PROFIBUS plugs must be deactivated if connected to the PRS Pin Signal Function Direction 1 Shield 3 RxD TxD P Data Input Output 8 RxD TxD N Data Input Output Table 1 PROFIBUS Pin assignment 2 6 RS232 service interface To configure PRS terminals can be connected via the RS232 service interface RS232 V24 The terminal is usually a PC with corresponding terminal emulation We recommend a hyper
5. 6 Station parameters 283 Device specific parameters E Application Timeout x 10ms _ 2 Trigger Mode PROFIBUS DP Application Level a 3 Hex parameter assignment 5 User_Prm_Data 0 to 7 00 00 00 00 00 1 4 01 00 JE User Prm Data 8 to 15 00 00 00 00 00 00 00 00 S Figure 12 Adjustment of PRS parameters 22PRS PROFIBUS DP Redundancy SwitCh user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO M SOFT Proprietary 7 PRS Commands 7 1 PRS PROFIBUS DP output data The length of the output data is 16 Bytes Only the first two Bytes are in use the remaining 14 Bytes are reserved Byte 0 Byte 1 Byte 15 Switch over command Alive counter Reserved 7 1 1 Manual switch over command Via Byte 0 a manual switch over command can be performed Bit 0 A change from 0 to 1 performs a switch over to DP Master A Bit 1 A change from 0 to 1 performs a switch over to DP Master B The switch over is only performed if the bit changes from 0 to 1 After the bit was set it has to be reset by the application otherwise no more switch overs are possible Switch over rules The manual switch over is always performed and does not depend on the alive state of the DP Masters 7 1 2 Alive counter The alive counter is used in the trigger mode PROFIBUS DP Application Level The superordinate application has to change the alive counter cyclically within the adjusted application timeout see chapter 6 4 2 2 2
6. B Alive and time out not expired Not Alive timeout expired and switch over performed Not Alive time out expired and no switch over performed Alive not started No switch over performed Time out Manual switch over command Table 11 PRS UDP status buffer Ethernet based operation User s Guide 8 4 5 Status codes Status code Meaning 0x0000 Success Command successful performed 0x0100 Error No switch over because complementary DP Master not functional 0x0200 Status Alive watchdog task activated 0x0300 Error Command does not exist 32PRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSO FT Proprietary User s Guide Ethernet based operation Final Page comsormrs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 33 Business Confidential CO M SOFT Proprietary
7. aa a EN GEN EN ENE EN NG aa a A ANG a TE a E AE aa EE EN GEN 1 Hardware 1S Eee EEE EE 2 2 1 Assembly on top hat rall swasana nik apaa kaag cana a Ega EE area Nan gka Kae Ee KE ajaa KK 2 2 2 Connections and Ccontrols sasaka kanaka eaaa eaaa eaaa aaa aaa aaa eaaa eaaa aaa aaa eaaa aaa aaa aaa area 3 2 3 Power supply FEN Aaseral eee 4 2 4 Ethernet connection sasae eaaa e aka eaaa eaaa Kaanane anana aana anaa armenere 4 25 PROFIBUS DP ofredbh uaansassmuepanasiemebnuin vv niinitdsiij 4 2 6 RS232 service interface erritik kennarinn earnan aastana 5 2 6 1 Pin assignment RS232 interface cable aee aaenenen ena anane nenen 5 Wee Miia daka EE TE AE 6 Integrated LEDS us 7 4 1 LEDS in the LAN section eenseneeeerrrrrrrrrrrrrrrrrrrrrrrttrttttttttttrtrEEEEEEEEEEEEEEEEEEEEE EEn 7 4 2 LEDs in the DP section and status LEDS ervvrvnnnrnrrrnrrrrrrrrrnrrrrrrrnrrrrrrrrrrrrrerereerer 8 Integrated swiIteh es saanane na aa TG Kae BAE EA EN KEN NE D GE Bp aa aa A Gg a Sg Na NE aa PAGE 9 5 1 Switch Mode A M Operation mode Automatic Manual rrnrnnnnnnnnnnnnnnnnnnnnnnnnnnnr 9 5 2 SME vesen 9 Ge SEA ETE 10 6 1 Redundancy with DP Masters jm 10 6 1 1 Different behaviour of DP Masters during switch Over rrrrrrrrnnnnnnnrn 11 6 1 2 Balancing of the PROFIBUS DP Output Data eorrnnnnnnnrrnnnnrrrrnnnnnnnnenr 11 6 1 3 Single point offailure sae erar deasatyeinade a rscdssdtse
8. stored in the status information buffer Request Command Length optional Data 0000 0000 Response Command Status code Length of the following data optional Data 0000 XXXX 0000 8 4 4 Reading of the PRS status buffer If this command is received the PRS responses with the status buffer The command could be send over both ports 0xC000 or 0xC001 Request Command Length optional Data 0400 0000 Response Command Status code Length of the following data optional Data 0400 XX XX 32 Status buffer 8 4 4 1 Format of the PRS status buffer The status buffer consists of 32 Bytes Byte 15 31 are reserved for internal use Byte status message Format State Value 0 HW Rev DHCP configuration 9 Trigger mode 10 Operation mode 16 31 UINT 8 UINT 8 UINT 8 8 Hardware watchdog UINT 8 UINT 8 11 Actual Switch position UINT 8 12 Status DP Master A UINT 8 13 Status DP Master B UINT 8 14 Switch over cause DP Master A UINT 8 15 Switch over cause DP Master B UINT 8 Reserved Revision number hardware 0 255 0 WO O ON O N Of 4 N OJN 1 SW Rev 00 Hi Lo Sub UINT_32 Software version in binary format 5 Hardware serial number UINT_16 Hardware serial number 0 65535 7 DHCP OFF DHCP ON OFF ON but not active ON and active DP DP and LAN LAN Manual Automatic A
9. the first transmission of an alive telegram the alive watchdog for the appropriate DP Master is activated PRS confirms the first alive telegram with the status code 0x0002 This is no error message but a confirmation that the alive watchdog is started Afterwards the DP Master has to transmit cyclically alive telegrams within the adjusted timeout interval PRS confirms every alive telegram with status code 0x0000 If the DP Master stops transmitting alive telegrams the alive timer expires and a switch over is performed Request Command Length optional Data 0200 0000 Response to the first alive request Command Status code Length of the following data optional Data 0200 0200 0000 Response to all subsequent alive requests Command Status code Length of the following data optional Data 0200 XXXX 0000 8 4 2 Deactivating the Alive Watchdog Timer The command stops the activated Alive Watchdog Task or the appropriate DP Master A or B Request Command Length optional Data 0300 0000 Response Command Status code Length of the following data optional Data 0300 XXXX 0000 8 4 3 Manual switch over A B Switch over PROFIBUS to the appropriate DP Master A or B Swich over rules The manual switch over is always performed and does not depend on the alive status of the DP Masters The DP Master which activated the last switch over is
10. to Slave communication would continue without interrupted Only a switch over is no longer possible Operation of PRS User s Guide 6 2 Connection of DP Master and DP Slaves Connect the DP Masters and the DP Slaves as shown in the picture below to the PRS The terminations in the PROFIBUS plugs must be switched off if connected to PRS DP Master A Termination K d Termination switched on 7 switched on DP Master B Termination Termination switched off switched off Termination switched off DP Slave 1 DP Slave 2 Termination switched on DP Slave N Figure 5 Connection of DP Master DP Slaves 12PRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary User s Guide Operation of PRS 6 3 Basic configuration via RS232 service interface If no Ethernet will be used with PRS the adjustment of the PRS basic parameters can be skipped completely because PRS is adjusted by default to PROFIBUS operation mode For configuration of the PRS a serial interface cable see chap 2 for pin assignment anda PC with terminal emulation is required Connect the serial cable to one of the COM interfaces of your PC and to clamps 6 8 of the PRS Configure the terminal for the corresponding COM interface with the interface parameters 9600 Baud 8 Bit No parity 1 Stop Bit Now activate or reset the PRS After approx 20 seconds a configuration dialogu
11. trigger mode PROFIBUS DP Protocol level both LEDs RUN A B and SIDE A B Alive are switched on simultaneously if the PROFIBUS communication with DP Master A is activated In trigger mode PROFIBUS DP Application level both LEDs RUN A B and SIDE A B Alive are switched separately RUN A B is switched on if the PROFIBUS communication is activated SIDE A B Alive is switched on if PRS receives alive telegrams from the DP Master A B 5 Integrated switches The integrated switches are rough running to avoid any accidental switching 5 1 Switch Mode A M Operation mode Automatic Manual If PRS is switched from Automatic to Manual mode the automatic switch over detection is deactivated The PROFIBUS can be switched manually by the button Switch A B between DP Master A and B The selected operation mode is stored in PRS status information buffer that can be read by the connected DP Masters A and B see chapter 7 2 1 und 8 4 4 1 To activate the automatic switch over detection the operation mode Automatic must be activated In operation mode Manual no automatic switch over is performed if the operational DP Master system fails 5 2 Switch A B Switch A B is a left right button and returns automatically back to its neutral position if released In the operation mode Manual the PROFIBUS can be switched between DP Master A left and B right by this button In the operation mode Automatic the PROFIBUS is also switched if t
12. FBIS DP IPU dala eee 24 7 2 1 PRS State bits sasarane Sg naa Tana ba sap nan bag ai a deeded ede 24 7 2 2 Egho alve counto ss aaa an Gan Te NGA NG aaa a end Gite ag a a Gana a arenes 24 Ethernet based oper tomu aja dealer eee eats 25 8 1 Initial switch setting in Ethernet based operation mode cccccccceceeeeeeeeeeeees 26 8 2 Typical Ethernet based PRS configuration wrrrrrnnnnnvrrrnnnnnnnnnnnnnvrrnnnnnnnnrrrnnnnnn 27 8 3 Configuration of the Ethernet based communication rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrenn 28 8 4 Ethernet communication sifruclure saga aaa eaaa aee eaaa eaaa eaaa eaaa eaaa 28 8 4 1 UDP commands saa asana ga aia aa an ga na a aa Bada aapa adan ga ga a ana 26 8 4 1 1 ANG 29 8 4 2 Deactivating the Alive Watchdog Timer aarrnnnnnnrrrnnnnnnnnnnnnnnrrrnnnnnnnennr 29 8 4 3 Manual switch over AB aaa a aaa KK ag a A ANENG E TAR AA aa Ae A AKA Ka AA I Nan 30 8 4 4 Reading of the PRS status buffer ssaaaeaeee nean n aana anana nenen nane 30 8 4 4 1 Format of the PRS status buffer es ee aura wau e aee eee uane aee 31 8 45 NS 0d S kane eda aga E a Ga ga NG a ga a aa AN 32 List of Figures ET PAS aaa aa aa aana Aa ga aaa aaa ag E aaa E a a aaa gga a a a NENG ak Ag TU aaa aaa aaa kn 1 Figure 2 PRS Connections and Controls rrrnnnnnrvnnnnnnnnnvnnannnrnnnnnnnnnnrnnnnnrnnnnnnnnnnrnnnnnnnnnnne 3 Figure 3 Serial interface cable ss se
13. P Masters see chapter 6 4 2 Implement the alive counter in the superordinate application see chapter 7 1 6 4 2 2 1 Initial switch setting in trigger mode PROFIBUS DP application level The initial switch setting of PRS A or B after restart depends on the status of the connected DP Masters Basic rule PRS switches the PROFIBUS to that DP Master which at first becomes alive changes its alive counter The following combinations are possible DP Master A DP Master A DP Master A DP Master A not alive alive alive not alive DP Master B DP Master B DP Master B DP Master B not alive alive not alive alive Switch setting not changed PRS switches to A PRS switches to A PRS switches to B Table 8 Initial switch setting Operation of PRS User s Guide 6 4 2 2 2 DP Master configuration The DP Master configuration must be extended by the PRS using the appropriate GSD file COMO A49 gsd The PROFIBUS address is adjusted at the integrated address switch Mod Swi Figure 11 PROFIBUS address switch The address range is 0 99 The adjusted address is valid for DP Master A and B Adjust the DP Master PROFIBUS configuration tool to the Application Timeout value resolution 10 ms and to the trigger mode PROFIBUS DP Application Level This is shown using S7 HW Konfig as an example HIE CP 342 5 ergs GE as General Parameter Assignment Parameters Value
14. PRS PROFIBUS DP Redundancy Switch User s Guide V1 6 29 03 2010 COMSOFT PRS PROFIBUS DP Redundancy Switch User s Guide V1 6 29 03 2010 d windoc icp project 5354_prs_netos5gh anwenderdoku version_1 6 prs_e doc Revision History Version Date Description Resp EUMM EE VEE SG UN 29 03 2010 VI 5 08 10 2008 KS Layout Update replication of the English version with the German one wr ee eam DP output data and single point of failure added V1 3 29 05 2007 TK removed clerical errors o Z o Jo o O V1 2 31 05 2006 Updated Version Z pP y O Vii 15 04 2006 Updated Version V1 0 20 03 2006 Initial Version P COMSOFT GmbH Wachhausstrasse 5a 76227 Karlsruhe Phone 49 721 9497 0 Fax 49 721 9497 129 Copyright 2010 by COMSOFT GmbH Business Confidential CO M SOFT Proprietary This document includes data that shall not be duplicated used or disclosed in whole or in part for any purpose other than to evaluate this document If however a contract with a customer is in force the customer shall have the right to duplicate use or disclose the data to the extent provided in this contract This restriction does not limit the customer s right to use the data in this document if it can also be obtained from another source without restriction The data subject to this restriction are confidential in all pages of this document Contents 1 PFO ON EE
15. ROFIBUS DP in accordance to EN50170 Max speed 12 Mbit s Dielectric strength 500 VAC Current consumption At 24 V max 100 mA is supplied by NET ARM module Table 4 Technical Data III 4 Integrated LEDs PRS implements status LEDs separated for DP Master A and B as well as for PROFIBUS DP and LAN 4 1 LEDs in the LAN section The LEDs indicate the specific operating state of the Ethernet interfaces Side A RX PRS receives data on LANA Side A TX PRS transmits data on LANA Side B RX PRS receives data on LAN B Side B TX PRS transmits data on LAN B Side A Alive PRS receives alive telegrams on LANA Side B Alive PRS receives alive telegrams on LAN B Table 5 PRS LAN LEDs 4 2 LEDs in the DP section and status LEDs The LEDs indicate the status of PRS and PROFIBUS DP MAN OFF PRS is in operation mode Automatic ON PRS is in operation mode Manual Side A OFF DP Slaves are connected to DP Master B ON DP Slaves are connected to DP Master A RUN A OFF PROFIBUS communication with DP Master A deactivated ON PROFIBUS communication with DP Master A activated RUN B OFF PROFIBUS communication with DP Master B deactivated ON PROFIBUS communication with DP Master B activated Side A Alive OFF DP Master A is not alive ON DP Master A is alive Side B Alive OFF DP Master B is not alive ON DP Master B is alive Table 6 PRS DP and status LEDs Note In
16. anatesncdideawnce se EEEE 6 Table 3 Technical Data ls s sanga aa KN NANANG NANG KENEN NGNE GENG KE KEN NA NENG KANGENE E 6 Table Technical Data Il isaenaswswawa wanagung yaa nia aga gga a ga ia gae agen ng A 6 Tabl 5 PRS LANES ingen naa ng JE a aga a E PE a Ng ga aE E a ag a aa EN PE TEE 7 Table 6 PRS DP nd status LEDS 22assessessessssaensnssdannenddnadnendndaengmddnaenendudnennnddnnddunduduenunddnnd anken 8 Table 7 Initial switch SUG aan 18 Table 8 Initial switch seng LL rmmiasmnmnssemeenmndtve mvinstev dk bendstaee 21 Table 9 PRS STEENS 24 Table 10 Initial GwitGh Settings screen anapa na EE Ega DEDEN N E NE NEG EEN KEN AE BAKA a DENEA KEDEK KE 26 Table 11 PRS UDP status buffer rnnnnrnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnne 31 ivPRs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary User s Guide Contents comsormrs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 v Business Confidential CO M SOFT Proprietary User s Guide Introduction 1 Introduction PRS PROFIBUS DP Redundancy Switch is an intelligent top hat rail based switch for the implementation of redundant PROFIBUS DP Master systems PRS allows the connection of two identical DP Masters as well as the DP Slaves In case of failure of the operational DP Master PRS physically switches over to the stand by DP Master which seamlessly takes o
17. col level The initial switch setting of PRS A or B after restart depends on the state of the connected DP Masters Basic rule PRS switches the PROFIBUS to that DP Master which connects at first to the PRS The following combinations are possible DP Master A DP Master A DP Master A DP Master A passive active active passive DP Master B DP Master B DP Master B DP Master B passive active passive active Switch setting not changed PRS switches to A PRS switches to A PRS switches to B Table 7 Initial switch setting dier AAN Open 6 4 2 1 2 DP Master configuration The DP Master configuration must be extended by the PRS using the appropriate GSD file COMO A49 gsd The PROFIBUS address is adjusted with the integrated address switch Mod Swit LAN LAN Svar Figure 9 PROFIBUS address switch The address range is 0 99 The adjusted address is valid for DP Master A and B Adjust the PROFIBUS configuration tool for the PRS to the trigger mode PROFIBUS DP protocol level This is shown using S7 HW Konfig as an example Pamekas Gy Station parameter Gy Device spectic parameters fa Appbcshan Taseout 1 YOmaj Tigger Mode 34 Hex parameter siig mern E V r Fim Data Dio 7 DO DO D0 D0 0014 00 00 MW Usa Prm Data 8 to 15 00 60 00 00 00 00 00 00 Figure 10 Adjustment of PRS DP parameters The parameter application timeout is not relevant for the trigger mode PROFIBUS DP pro
18. dineadeseetiee 11 6 2 Connection of DP Master and DP Slaves ss ssseeseeen anara nanam a anana aana nana 12 6 3 Basic configuration via RS232 service interface cccccceceeeeeeeeeeeeeeeeeeeeeeeeeeeeees 13 6 3 1 Network parameter saanane edison anana nana aa anna nana aane nane 14 6 3 2 Device parameter sssuane eran anana anana aana nana naa a anana nana anane 15 6 4 PROFIBUS DP operation mode maresmenaneenevmmninsidefnvinitetn nine 16 6 4 1 Triggering of a Switch OVer rrrrrrnannnrrnnnnnnannrrnnnnnrnnnnnnnnnnrrnnnnnrnnnnnnnennnr 16 6 4 1 1 Determination of the operational and redundant DP Master sysiem ER EE 16 6 4 2 Setting of DP Master parameters for redundant operation 17 6 4 2 1 Trigger mode PROFIBUS DP protocol level rrrrrrnrnnnnnrnrrn 18 6 4 2 1 1 Initial switch setting in trigger mode PROFIBUS DP protocol 0 ee ee 18 64212 DP Master configuration Luussumasssunisunani 19 6 4 2 2 Trigger mode PROFIBUS DP application level 20 6 4 2 2 1 Initial switch setting in trigger mode PROFIBUS DP application level 2 esse ae 21 6 4 2 2 2 DP Master configuration reerrararnnnnvrrrnnnnnnnnrrnnnnrrrnnnn 22 PRS Gommands viuistan tales Laverne Gad Gan es ini 23 7 1 PRS PROFIBUS DP output data 2 ean 23 7 1 1 Manual switch over command ernnnrnnnrnnnnnnnrnnnrnnnrnnnrnenrnnnrnenrnnnnennnennnr 23 TA Ae couno ecr e sieve a eee eee ein 23 7 2 PRSPRO
19. e V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary User s Guide Ethernet based operation 8 2 Typical Ethernet based PRS configuration Ethernet Ethernet DP Master A Termination switched on DP Master B Termination switched on Termination switched off Termination switched off DP Slave 1 DP Slave 2 Termination switched on DP Slave N Figure 13 PRS Ethernet based operation comsorprs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 27 Business Confidential CO MSOFT Proprietary Ethernet based operation User s Guide 8 3 Configuration of the Ethernet based communication PRS allows IP address configuration via DHCP server or alternatively a direct setting of the IP address see chapter 6 3 The Ethernet interface is based on UDP Both Ethernet interfaces can be reached via the same IP address and different ports for DP Master A and B DP Master A Port 0xC000 DP Master B Port 0xC001 8 4 Ethernet communication structure 8 4 1 UDP commands Basic frame structure Request Command Length optional Data UINT 16 UINT 16 Array of UINT 8 Response Command Status code Length of the following data optional Data UINT 16 UINT 16 UINT 16 Array of UINT 8 23PRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary 8 4 1 1 Alive With
20. e will open at the terminal indicating the currently set parameters Press any key within five seconds otherwise PRS will continue to start up with the displayed parameters Das Boten ret dier Laro Dia 213 rer tr Pet EHR EH e STARTUP OF PRS ak AAAH HARA ANEHE KA KAHANANE HAHAHHA HET HOPKS Version 5 00 Copyright c 2800 NETsilicon Inc APPLICATION Comsoft sg 10 01 07 Hvitt on Nov 30 2006 ot 19 42 29 PLD VERST frede The device penerotes its WIC address from its serial hardware number LW inter taca S subnet msk 13 gt 95 200 inter ate s et TP odoress of default goteway is gt 133 32 18 218 ey enables the WETAH Hi Vatchdea while working Mo Timeout for Hi Hotchdeg is POBOS seconds Use Terminal Fort for debug outputs Sarial channels will use a bawi rate of 3680 Swi tchOverTrigoerMode Source Q LDP only Sui tchver otchdogl ime of LIN 100s 18 Mter board is reset start up code will wait 5 seconds Press any key in 5 seconds to change thase settings Illocept or modify porometers For H etwork IDlavice or Sleriol Number verten BREL 15 uro there sumawi Wos fem ufsatran taman Figure 6 PRS Configuration dialogue ocomsormrs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 13 Business Confidential CO MSOFT Proprietary 6 3 1 Network parameter The following parameters can be modified e DHCP Yes No e TCP IP address e Subnet mask
21. ernet based alive telegrams from the two DP Masters If the operational DP Master fails and the alive timeout expires PRS switches over to the stand by DP Master system Switch over rules e A switch over is only performed if PRS is switched to operation mode Automatic e A switch over is only performed if the redundant DP Master is alive e If no more alive telegrams are received a switch over is performed after the application timeout has expired minimum 100 ms e If both DP Master failed no switch over is performed PRS provides the following Ethernet based features e Reception of alive telegrams from the operational and the redundant DP Master system e Reception of switch over commands e Transmission of status information Ethernet based operation User s Guide 8 1 Initial switch setting in Ethernet based operation mode The initial switch setting of PRS A or B after restart depends on the state of the connected DP Masters Basic rule PRS switches the PROFIBUS to that DP Master which at first transmits an alive telegram The following combinations are possible DP Master A DP Master A DP Master A DP Master A not alive alive alive not alive DP Master B DP Master B DP Master B DP Master B not alive alive not alive alive Switch setting not changed PRS switches to A PRS switches to A PRS switches to B Table 10 Initial switch settings 2epRS PROFIBUS DP Redundancy Switch user s Guid
22. f the operational DP Master Trigger mode PROFIBUS DP protocol level e PROFIBUS failure of the operational DP Master or of the overlying application program Trigger mode application level e Manual switch over command via DP output data see chapter 7 1 6 4 1 1 Determination of the operational and redundant DP Master system The determination which DP Master works as operational and accordingly as redundant system can be decided by the switch on sequence of the two DP Masters Additionally the configuration can be subsequently changed by performing a manual switch over command For details refer to chapters 6 4 2 1 1 and 6 4 2 2 1 16pRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary User s Guide Operation of PRS 6 4 2 Setting of DP Master parameters for redundant operation To ensure a seamless switch over the DP Slave watchdog value must be increased in the DP Master parameters to avoid a DP Slave reset during the switch over Rule Twaog Redundant Twaog Original 4 Example for Siemens S7 HW Konfig Twdog Watchdog To change the DP Slave Watchdog the profile User defined must be adjusted Ely SIMATIC 300 1 Configuration test 1 UR PROFIBUS 1 DP master system 180 PROFIBUS 1 Properties PROFIBUS Be General Network Settings FT Tum on cyclic distribution of the bus parameters gras NG Tslot Init Mix Tslot 300
23. he button is pushed but returns to its original state if the button is released The selected switch position is stored in the PRS status information buffer that can be read by the connected DP Masters A and B see chapter 7 2 1 und 8 4 4 1 6 Operation of PRS 6 1 Redundancy with DP Masters The implementation of redundant DP Master systems is difficult because the connected DP Slaves only communicate properly with that DP Master that also parameterized and configured the DP Slaves The take over of the DP Slaves bya second DP Master with a different PROFIBUS address causes a reconfiguration of the DP Slaves This results in a communication break and re initialization of the complete PROFIBUS network One possibility to implement a seamless take over of the DP Slaves is the dynamic address change of the redundant DP Master Flying Master principle This function is partially implemented on different PLC systems Disadvantages of such a system are the necessary multi master operation as well as the risk of a complete crash of the plant caused by a double station address conflict if the failed DP Master does not reset completely its PROFIBUS communication PRS avoids all these disadvantages by switching over electrically the PROFIBUS cable DP Master A DP Master B DP Slave 1 DP Slave N Figure 4 PRS principle function The PROFIBUS cable is switched electrically between the two DP Masters which has advantages as follows e No m
24. otherwise the PRS switches over to the stand by DP Master The alive mechanism stays inactive after restart of PRS until the alive counter has been changed by the superordinate application This allows a dedicated start of the alive mechanism by the superordinate application PRS Commands User s Guide 7 2 PRS PROFIBUS DP input data The length of the input data is 16 Bytes Only the first two Bytes are in use the remaining 14 Bytes are reserved Byte 0 Byte 1 Byte 15 PRS state bits Echo alive counter Reserved 7 2 1 PRS state bits Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 Reserved Reserved Reserved Reserved 0 DP 0 DP 0 PROFIBUS 0 PRS is in Master B is Master A is is switched to operation mode not alive not alive DP Master A Automatic 1 DP 1 DP 1 PROFIBUS 1 PRSisin Master B is Master A is is switched to operation mode alive alive DP Master B Manual Table 9 PRS state bits 7 2 2 Echo alive counter PRS echoes the actual value of the alive counter 2apRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary 8 Ethernet based operation Alternatively to the PROFIBUS DP based operation the switch over can be also triggered by the two integrated Ethernet channels This may be useful if the DP Masters additionally include Ethernet channels that can be used to control PRS PRS checks the receive of Eth
25. senane aranana nana aaa aana aana anana anana aaa anana rana n aane 5 Figure 4 PRS principle function bind edorecenenentaeiecerererendbeaseetensienn batawneeupedneinaien 10 Figure 5 Connection of DP Master DP Slaves aane eea aaa aane nenen a anana nana a anane aran 12 Figure 6 PRS Configuration dialogue 2anrnonnnnnnnnnnnnnnnrnnnnnnnannnnnnnnnnnnnnnenennnnnnnnnnnnnnnenennrnnnnnn 13 Figure 7 Configuration device parameter rrranrrnnnnnnrnnnnnnnonnrnnnnnnnnnnnnenonnnnnnnnnnnnnnnenennrnnnnnn 15 Figure 8 Adjustment of the DP Master parameters rrrnnnnnnnnnnnnnnrrrrnnnnnnnrnnnnnnrrrnnnnnnnerrnnnnnnn 17 Figure 9 PROFIBUS address switth un ususesenainssterseeainunidsskeemidmeeemt v viv 19 Figure 10 Adjustment of PRS DP parameters rrnnnnrnnnnnrnannrnnnnnrrnnnnnnnnnnrnnnnnrnnnnnnennnrrnnnnnn 19 Figure 11 PROFIBUS address switch rennnnnnnnrnnnnnnrnnnnnnnnnnrnnnnnrrnnnnnnnnnnrnnnnnnnnnnnneennrrrsnnnn 22 Figure 12 Adjustment of PRS parameters rnnannrnnnnnrrnnnnnnnnnnrnnnnnrrnnnnnenenrnnnnnnnnnnnnnenenrrnnnnnn 22 Figure 13 PRS Ethernet based operation cccsccciccseccssscenctatecstneesdcseciassecnmessicneecsteenerastececse 27 Contents User s Guide List of Tables Table 1 PROFIBUS Pin A SSiQnme nt iii ccssicscectccrccsacssesbestecsesenssieceestesesadenvia sdecistanetsaveassconeand 4 Table 2 Technical Data ai sers sats yew se cata seenicn sn cannteaacdteesmescatatncdidcasnc
26. t bit Address 25 Max Tsdr 1504 ti Tid2 150 tbit Min Tsdr n co Trdy 11 tbit Transmission Rate Tset 13 t bit Tid1 37 tbit Tqui o tbt Tr 32389 t bit 21 6 ms Gap Factor Ttr 15000 t_bit 10 0 ms Standard Retry limit Universal DP FMS Watchdog User Defined 98500 t_bit 65 7 ms Recalculate Figure 8 Adjustment of the DP Master parameters comsorprs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 17 Business Confidential CO MSOFT Proprietary 6 4 2 1 Trigger mode PROFIBUS DP protocol level PRS checks the PROFIBUS traffic of the operational DP Master and switches over to the stand by Master in case of failure Switch over rules e The switch over is only performed if PRS is switched to operation mode Automatic e The switch over is only performed if the redundant DP Master is alive e The switch over is performed after half the adjusted DP Slave watchdog value minimum 10 ms e If both DP Master failed no switch over is performed Proceed with the following steps to setup a redundant DP Master system 1 Extend both DP Master configurations by PRS using the COMOA49 gsd file 2 Adjust the DP Masters to the trigger mode PROFIBUS DP Application Level on both DP Masters 3 Extend the DP Slave watchdog time in the DP Master parameters on both DP Masters see chapter 6 4 2 6 4 2 1 1 Initial switch setting in trigger mode PROFIBUS DP proto
27. tocol level comsormrs PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 19 Business Confidential CO MSO FT Proprietary 6 4 2 2 Trigger mode PROFIBUS DP application level PRS checks the PROFIBUS traffic of the operational DP Master as well as an alive counter contained in the PROFIBUS DP output data see chapter 7 1 The alive counter must be cyclically changed by the application program within the adjusted application timeout PRS switches over to the stand by DP Master system in case of failure of the PROFIBUS or expiration of the application timeout Switch over rules switch over is only performed if PRS is switched to operation mode Automatic switch over is only performed if the redundant DP Master is alive If the PROFIBUS fails a switch over is performed after half the adjusted DP Slave watchdog value minimum 10 ms If the alive counter in the alive telegram is no longer changed by the application a switch over is performed after the expiration of the application timeout If both DP Master failed no switch over is performed Proceed with the following steps to setup a redundant DP Master system st sl a Extend both DP Master configurations by PRS using the COMO A49 gsd file Adjust the DP Masters to the trigger mode PROFIBUS DP application level Adjust the application timeout value default 200 ms for the alive counter Extend the DP Slave watchdog time in the DP Master parameters on both D
28. ulti master operation necessary e 100 prevention of double station address conflict e Both DP Masters can be identically configured e Operation with every standard DP Master system possible e No influencing of the PROFIBUS data traffic through PRS e The switch over only takes place if the redundant DP Master is Alive e lf both DP Masters are gone no switch over will take place 6 1 1 Different behaviour of DP Masters during switch over If a seamless switch over of the DP Slaves without reconfiguration is required the redundant DP Master system must implement the following functionality The redundant DP Master system continues directly the data exchange with operational DP Slaves without any reconfiguration Otherwise the DP Slaves perform a reset what will again reset all DP Slave outputs If necessary please contact the DP Master system manufacturer for further information 6 1 2 Balancing of the PROFIBUS DP Output Data PRS does not support any balancing of the DP output data between the two DP Master systems The subordinate control system e g the PLCs must guarantee the continuous update of the redundant DP Master system with the actual DP output data e g by an additional Ethernet connection Otherwise no seamless switch over would be possible 6 1 3 Single point of failure There is no single point of failure with the PRS If PRS is disconnected from the power supply or if the device does develop a fault the Master
29. ver the DP Slaves Figure 1 PRS comsormrs PROFIBUS DP Redundancy Switch user s 1 Guide V1 6 29 03 2010 Business Confidential CO MSOFT Proprietary Hardware Installation User s Guide 2 Hardware Installation 2 1 Assembly on top hat rail The PRS module is designed for top hat rail assembly according to DIN 50022 Please put the top edge of the cut out for the top hat rail on the top hat rail edge and press the device down until it snaps in For the disassembly remove the two notches at the bottom edge and lift up the module PRS PROFIBUS DP Redundancy Switch user s Guide V1 6 29 03 2010 COMSOFT Business Confidential CO MSOFT Proprietary User s Guide Hardware Installation 2 2 Connections and controls PROFIBUS DP Master A Pin assignment see chapter 2 5 Ethernet B 10 100 RJ 45 Ethernet A 10 100 RJ 45 PROFIBUS DP fr Master B sf g Switch Mode AM Pin assignment see 5 chapter 2 5 x Operation mode Automatic Manual Own DP Slave address Switch Switch A B Switch position DP Master A and B PROFIBUS DP Status LED atus sS 24 V power supply clamp 9 12 Function 0 Volt RS232 service interface _ 24 Volt Clamp Function 24 Volt 5 Not connected 6 0 Volt 7 Transmit 8 Receive Figure 2 PRS Connections and Controls comsormrs PROFIBUS DP Redundancy Switch user s 3 Guide V1 6 29

Download Pdf Manuals

image

Related Search

Related Contents

スマートフォン*1 で自宅の写真や動画を いつでもどこでも  ELSAT BUC Baby BUC L-Band Block Up-converter  Worldwide Homefurnishings 501-746 Instructions / Assembly  InstallatIon · Manual 4.0199 1/4  Memorex Clock Radio  

Copyright © All rights reserved.
Failed to retrieve file