4/7/2012 4:02 PM | |
Joined: 12/16/2009 Last visit: 4/1/2021 Posts: 17 Rating: (0) |
Dear Sir i try to convert my plc program from S5 to S7.But i face the problem that my network Have LIR!!! i try to understand the program but really it is very defecult to converted it. i attached for you the text file have the network and really i appreciate if you help me to change this LIR on the netowork.. Waiting you kindly Reply.. MG AttachmentLIR_PROBLEM_TO_KONVERT_S5_S7.pdf (385 Downloads) |
4/8/2012 11:02 AM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating: (309) |
Hello, Like TIB68 already told, the block copies some datawords from one block to another. Q-DB is the source data block Z-DB is the destination data block Q-DW is the start word in the source DB Z-DW is the start word in the destination DB LAE is the length (number of words to be transfered) Before transfering, the block checks if the DBs exists and if number of words can be transfered. ANZW is a kind of error word where the problematic parameter value is displayed in case of error. CHNG is a bit is the transfer was successful. As TIB68 told you, you will not be able to convert this without rewriting the finctionnality in STEP7. Using theSFC Blockmove with variable ANY pointer is the way to go. How to proceed with computed ANY pointers is explained in this FAQ: How do you parameterize blocks, which have "ANY"-type or "Pointer" type parameters http://support.automation.siemens.com/WW/view/en/20443243 |
Last edited by: jklm at: 4/9/2012 5:12 PMBest regards |
|
4/9/2012 10:13 AM | |
Joined: 12/16/2009 Last visit: 4/1/2021 Posts: 17 Rating: (0) |
Hi TIBI68 thx for the information but really is not easy to converted one by one |
4/9/2012 10:14 AM | |
Joined: 12/16/2009 Last visit: 4/1/2021 Posts: 17 Rating: (0) |
Hi BV Thx for the information and i appreciate if you can convert the network which i add it. |
4/9/2012 10:21 AM | |
Joined: 12/16/2009 Last visit: 4/1/2021 Posts: 17 Rating: (0) |
Hi jklm thx for the information but the example which is in the web address is only for LAR !!! i appreciate if you can tell me how can i convert the network which i add it.. Regards |
Follow us on