1/9/2013 11:35 AM | |
Posts: 134 Rating: (2) |
Dear all, i am first time working with software redundancy in S7-300. In brief about project, CPU:CPU 313C-2DP 6ES7-313-6CG04-0AB0 IM 153-2 REDUNDANT BUNDLE WITH IM/IM BUS CONNECTOR 6ES7 153-2BA02-0XB0 MPI :REDUNDANT LINK CPU A MPI ADDRESS:2 CPU B MPI ADDRESS:3 DP SLAVES: 2nos.( ET 200M) ON DP link..one has DP address: 3 and other has DP address:4 Herewith i attched my S7 project.Please have a look to it and suggest me solution. Please look into hardeare configuration and also in OB100 in which i have written CALL OF FC 100 'SWR_START' FOR INITALISATION ... I think i may miss something in these parameters..I have used all blocks from SWR_300_MINI example which comes with library.. Differences between example and my project: 1) Example has only one DP slave. I have two dp slaves. So please tell me In FC100 do i need to change anything for this. I try to change SLAVE_LEN parameter to 2 but it didnt work.. 2)Example has only one 8 DO module where as i have one 32 DO in one slave and other 16 DO in other slave. ADDRESSES: ( 0 TO 5 continuous) So if i want to configure all these outputs as redundant outputs,do i need to change anything in FC100 .. because right now if i switchover from one CPU to other, i can see a small flickering in output channel LED from module..I tried to change PAA_LAST parameter to 5 as per my hardware configuration but it didnt work and i got SF on CPU.PAA_FIRST i kept to 0. 3) If i read manual for software redundancy, it says redundancy logic FC100 should be written in cyclic interrupt( ie:OB35) but in libary example , it is written in OB1..So what is right..? Please have a look in my project as well as my description above and guide me asap.. AttachmentSOFT_REDUNDANCY.zip (150 Downloads) |
This contribution was helpful to1 thankful Users |
1/10/2013 10:23 AM | |
Posts: 134 Rating: (2) |
Hi dear.. Thnx for your help.. Now my most issues solved..Now i can check few basic things regarding redundancy. I have used one IEC TON timer with 30s time. I start timer from one CPU and after few seconds( 10-15 sec) , i switchover to other cpu. But my output gets on after 30 sec only. So i can judge my redundancy is working ok..am i right..? But this is very basic things..Now i want to know hoe can i wrote program in redundancy program..? Also i am really sorry but i could not understand your above answer.If you can simplify it for me it will be good for me... I have used menory bits from m20.0 and so on for logic..and in FC100 , i have used MB_NO=20 and MB_LEN=10..that means i can use mB20 TO MB30 as redundant memory...am i correct? How to regenerate instatnce of DB5.. Also plese explain me the exact use of PAA_FIRST and PAA_LAST parameters of FC100...How to use them in redundancy? I have attached latest backup of my project. Attachmentredundant.zip (100 Downloads) |
1/25/2013 1:26 PM | |
Joined: 10/7/2005 Last visit: 4/23/2024 Posts: 3004 Rating: (1046)
|
Hello patel just to make sure we don't miss the obvious thing: Can you confirm that you delete "DB_WORK_NO""DB_SEND_NO" and "DB_RCV_NO"online after youmade changes to FC100 and before you start up the CPU's again? Have a look too at chapter 5.8 of the SIMATIC S7-300/S7-400 Software redundancy for SIMATIC S7 manual which states: The data blocks detailed above are generated once only by FC 100 'SWR_START' at startup and with the required length. |
Cheers |
|
This contribution was helpful to1 thankful Users |
1/25/2013 4:14 PM | |
Joined: 11/3/2009 Last visit: 2/6/2024 Posts: 6 Rating: (0) |
Hello patel, I've started very similar project and used your program as sample. I think I've manged configure everything correctly. It looks like everything working normally. One difference in hardware configuration that maybe is related to your PAA_Last problem: configure IM153 modules in station A as usual, and make copy of IM's to station B using Edit>Insert Redundant (in HW Config) . After that in network config, redundant pair of IM's is shown as one block( in your network each IM is shown separately) . Also with PAA_Last configured like it must be, didnt worked for me until i've changed I/O addreses of modules to leave no address gaps. Syncing over MPI is very slow. I've tested with 20 DB >1000Bytes each. It takes >30sec to sync. Im always deleting "DB_WORK_NO" "DB_SEND_NO" and "DB_RCV_NO" on-line when changing FB101 configuration. Worked fine for me. Thank you for good sample :) I'm attaching my testing program if someone needs it. Attachmentpack.zip (82 Downloads) |
1/29/2013 11:38 AM | |
Posts: 134 Rating: (2) |
Hi all... i tried as per your suggestion. Now it is working. Working means when i changeover from one CPU to other CPU are healthy RUN...THNX DEAR FRITZ.... But one more problem is there. To give solution i think if u first have a look in my project and then suggest me answer..So i attched project with this... FC1 i have written some logic. start-stop logic is written using one input and one mem-bit. Now when i download backup in both cpu,cpu are healthy RUN. Now i give input and two outputs are on simultaneously. It is ok. Now when i changeover from one cpu to other outputs remain on. But when again i changeover to other cpu , outputs goes off. Means after executing logic , for one changeover cycle , outputs remain on and then goes off. I cant get it why....? Attachments7-red_try.zip (103 Downloads) |
This contribution was helpful to1 thankful Users |
1/29/2013 12:32 PM | |
Posts: 134 Rating: (2) |
Hi dear... Thnx a lot for the detail answer...yes that was the mistake that i am not deleting old data blocks.. now my redundancy is working... Just for your reference i am attcjing you my final program backup which i prepared as sample program. If u can have a look and check if something is wrong/missing in backup and guide me... Attachmentredundant_final.zip (124 Downloads) |
Follow us on