10/27/2008 12:13 AM | |
Joined: 7/2/2008 Last visit: 9/30/2024 Posts: 928 Rating: (309) |
Dear Sivaji, I don't have experience with Profibus FDL redundant link however, I think you are right to use AG send 300 if you use Profibus FDL. If you take a look chapter 3 in SWR manual, you will find that AG send 300 blocks are to be used when you have redundant link of Profibus. Since you use S7-300 CPU you will use 1- FC 100 ‘SWR_START’ 2- FB 101 ‘SWR_ZYK’ 3- FC 102 ‘SWR_DIAG’ 4- FB 104 ‘SWR_AG_COM’ which invisibly invokes the blocks FC 5 ‘AG_SEND’ and FC 6 ’AG_RCV’. FC5 and FC6 must be loaded onto both CPUs. You must keep these functions and function blocks with their original numbers. SFCs and SFBs are not downloaded to the CPU because they already exist as they are part of the operating system. However, they must be existing in your program. Important Note! DB_COM_NO is the instance DB of FB 101 ‘SWR_ZYK’ and is generated by STEP 7. In order that the block can be generated, all system functions used by redundant software backup (SFB, SFC) must be present in your project. A list of the system functions used is given in Technical Data of the Blocks. Where the technical data of the blocks says that these SFCs should be existing in your project SFC 22 ‘CREATE_DB’, SFC 5 ‘GADR_LGC’, SFC 50 ‘RD_LGADR’, SFC 46 ‘STP’, SFC 47 ‘WAIT’ SFC 20 ‘BLKMOV’, FC 5 ‘AG_SEND’, FC 6 ‘AG_RCV’ The point is that you have many area length errors. These errors(in most of casesI saw) comefrom a conflict between the parameters of FC100 and the actual structure of program you download to CPU. Like saying you have 71 DB for IEC timers and counters while you have only 60 DB or saying you have 50 shared data blocks to be transferred between CPUs while you have less than that. In such cases the CPU creates incorrect data blocks for sending and receiving data and it may try to access addresses that may not exist. You can also get some info from this FAQ Such errorsalso may come when you change parameters of FC100 after CPU creates DB_WORK_NO, DB_SEND_NO and DB_RCV_NO. Make sure that DB_A_B_NOand DB_B_A_NO exist inyour program and theyhave the correct length which you assign if FC100. I do recommend (just for trying) to change parameters of FC100 by minimizing length shared data block to one in both CPUs A&B. I mean you will be transferring just one data block for IEC and one shared data block between the CPUs. Make sure that the first IEC instance data block and the first shared data block exist in your program. Make sure that all FCs, FBs, SFCs and SFBs (listed above) exist in your program. Then delete FB101 instance data block (DB5 in your case) from your application program and let SIMATIC MANAGER create instance DB5 again according to the new parameters you have changed. Make sure that your offline program doesn't contain DB1,DB2 and DB3. Delete all blocks in MMC of each CPU. Download your program to both CPUsand try. One more thing, I think it would be better if you upload your software here. Best regards.
|
3/24/2014 7:37 AM | |
Joined: 10/24/2011 Last visit: 3/9/2023 Posts: 257 Rating: (1) |
Hi H-H, I cannot access FAQ link. Can you give correct link for the same? Thanks, Shailesh
|
2/8/2016 11:16 AM | |
Joined: 9/3/2014 Last visit: 3/13/2019 Posts: 4766 Rating: (122) |
New question published by AutoGen_905449 is split to a separate thread with the subject SWR software for step 7. Best regards |
Follow us on