5/27/2021 4:26 PM | |
Joined: 10/10/2005 Last visit: 4/18/2024 Posts: 1917 Rating: (132) |
Hello Poljak, see the examples of the FAQs (links) regarding the BLKMOV: How can you use MOVE instructions also in STL? How do access the I/O address area indirectly and what should you watch out for when copying with the SFC20? Tips and tricks for calling and parameterizing SFBs, SFCs and IEC standard functions Cicero |
This contribution was helpful to1 thankful Users |
5/30/2021 9:07 AM | |
Joined: 7/22/2019 Last visit: 5/12/2022 Posts: 36 Rating: (0) |
I am sorry but I cant still figured out how to do what I want. May I explain what I want to do and maybe someone could tell me exactly what to do. I want to make function block in which I want to use BLKMOV instruction. I want to pass parameteres to this BLKMOV from outside. I want use this functin block many times in my code and for every instance the source and destination of copied data is different. Can any one tell me how to do it in proper way? |
5/30/2021 7:30 PM | |
Joined: 9/1/2017 Last visit: 12/20/2023 Posts: 156 Rating: (19) |
Hi
Please have look at these links and related sublinks: How is an ANY pointer structured? How do you parameterize blocks, which have "ANY"-type or "Pointer" type parameters? Pointer in function parameters Siemens S7 How to use ANY Pointer in Siemens step-7 YouTube · Santosh Dongerpure |
Last edited by: hosein8419 at: 05/30/2021 19:49:42Last edited by: Jen_Moderator at: 05/31/2021 09:24:23Optimized link. Embedded video. |
|
This contribution was helpful to2 thankful Users |
5/31/2021 10:19 AM | |
Joined: 7/22/2019 Last visit: 5/12/2022 Posts: 36 Rating: (0) |
Thank you very much ! It's working now |
This contribution was helpful to1 thankful Users |
Follow us on