(2)| 9/28/2015 10:09 PM | |
|
Joined: 11/29/2011 Last visit: 2/4/2025 Posts: 1362 Rating:
|
Hi, For pointer addressing see this link as a start: How can you construct an ANY pointer in S7-SCL using the AT function?
I hope I could help! |
|
- What you read here, please check with manuals and your requirements. |
|
This contribution was helpful to
|
|
| 10/2/2015 2:42 PM | |
|
Posts: 160 Rating:
|
Hi, all variables in TIA Portal have "global" scope... it's just a matter of addressing them. You can easily access any variable of any db (glob or instance) from any FB or FC there is... Be careful about using ANY ptr. I for example, did not manage to make it point to single to single bit... Because of that, I'd suggest you to use "Indirect Addressing": link. It is very useful particularly for implementing loops (indexing etc...) Janko |
Follow us on