10/15/2020 9:32 PM | |
Joined: 7/7/2010 Last visit: 4/25/2024 Posts: 14629 Rating: (2348)
|
... |
Last edited by: 0_Einstein at: 10/16/2020 00:08:04nothing of value after topic and post changed science guy |
|
10/16/2020 6:07 PM | |
Joined: 9/29/2020 Last visit: 7/6/2023 Posts: 6 Rating: (0) |
I could solve it. I'll leave the explanation below. So I had the FB and the DB non-optimized. Then on the FB I created pointers from ANY like smiffy said on the topic below and used BLKMOV to move the structs to the array. https://support.industry.siemens.com/tf/ww/en/posts/any-pointer-in-scl/50677/?page=0&pageSize=10 |
Last edited by: jprreis at: 10/16/2020 18:08:04 |
|
This contribution was helpful to1 thankful Users |
10/16/2020 6:37 PM | |
Joined: 7/7/2010 Last visit: 4/25/2024 Posts: 14629 Rating: (2348)
|
Glad you found a solution that met your client's requirements. I have used smiffy's ANY pointer setup from that same link many times. It helps solve some problems that can be done other ways, like using PEEK/POKE along with a lot of maintenance if / when structure size changes, but so simple using that technique.
|
science guy |
|
Follow us on