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 (192 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 (140 Downloads) |
1/25/2013 1:26 PM | |
Joined: 10/7/2005 Last visit: 9/19/2024 Posts: 3021 Rating: (1054)
|
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 |
Follow us on