6/10/2020 5:36 PM | |
Joined: 7/7/2010 Last visit: 5/17/2024 Posts: 14751 Rating: (2374)
|
You can use pointers in S7-1500's, and kind of use them in s7-1500's. By exercising better design paradigms like Siemens designed TIA Portal around, you can do very powerful things without much logic and that logic is hard to get wrong and accidentally write or read the wrong memory. If you use pointers, you absolutely must maintain memory locations and DB #'s. That adds a level of overhead that TIA Portal is trying to help you avoid. By configuring data structures and data access to support that level of automation, you can avoid having to maintain DB # and tag offset consistency across all devices using that DB data, like HMIs, drives, FBs and FCs, remote IO and so on. I understand what you are talking about and that's why Siemens still allows pointer access in S7-1500's. It's just when you mix and match non-pointer and pointer style data structures and block accessing where problems happen, like the case you are trying to find a work-around for.
|
science guy |
|
This contribution was helpful to2 thankful Users |
6/10/2020 9:47 PM | |
Posts: 18 Rating: (3) |
Now that you say it, I can see the need to reduce errors and memory management however it would have been nice to maintain flexibility. I still dont understand why my Slice addressing of my DB isnt working though, Am i addressing it correctly or do I need to use the Interface to my block for access? |
Follow us on