4/11/2009 10:28 PM | |
Joined: 12/22/2006 Last visit: 1/25/2022 Posts: 1742 Rating:
|
Hello, The FB you show us is making a bloc transfer between Two datablocs. The parameters specifythe sourceDBs and starting from wich DW, and also the destination DB and destination DW, and finally how much. You can replace the complete stuf in step 7 by the BLKMOV (SFC20) as it is suggested with the commented lines (lines preceded by //) To realize exactly the same (using the same parameters), you have to compute the ANY pointers in STEP7 (based on the parameters) that will be applied to the call of SFC20. An example of this can be found in the FAQ: "How do access the I/O address area indirectly and what should you watch out for when copying with the SFC20?" Here the link to the FAQ http://support.automation.siemens.com/WW/view/en/22783999 |
Best regards |
|
This contribution was helpful to
1 thankful Users |
Follow us on