S7 Pointer Questions

arocon

Member
Join Date
Oct 2006
Location
Dubai
Posts
171
Could anyone please explain me what are the different cases Pointer to be used in Simatic S7 programming ?

Thanks
 
Here's a few that I found :)

http://www.plctalk.net/qanda/showthread.php?t=63826&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=63663&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=63172&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=62349&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=10606&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=14480&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=58027&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=57742&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=56819&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=54247&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=53376&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=17382&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=52279&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=50507&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=49115&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=49187&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=48293&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=14772&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=46233&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=45535&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=25919&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=45449&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=23766&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=42590&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=42220&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=42014&highlight=s7+pointer

http://www.plctalk.net/qanda/showthread.php?t=40871&highlight=s7+pointer
 
Can somebody explain to me when to use pointers and indirect addressing and when to not?
When I have to program I always think of direct addressing can't seem to break that habit.
 
Simple example - you wish to display the status of a user selectable variable on a HMI. You select the data area and the address on the HMI, then use indirect addressing in the PLC to return the value of said variable.
 
Think about what L D said
So now theres only one tag (maybe 2 for the selected value) used in the HMI (even though you can select 32 values)

See efficient right??

Another simple example of indirect addressing
You have 50 drives and want to know the condition of the 3rd bit (alarm) in all 50 words
Would you write 50 rungs or networks?
Alot of work..right?
Or would you indirectly "look at the 3rd bit and loop through the 50 words?
 
Think about what L D said
So now theres only one tag (maybe 2 for the selected value) used in the HMI (even though you can select 32 values)

See efficient right??

Another simple example of indirect addressing
You have 50 drives and want to know the condition of the 3rd bit (alarm) in all 50 words
Would you write 50 rungs or networks?
Alot of work..right?
Or would you indirectly "look at the 3rd bit and loop through the 50 words?

I think by joe I get it. Although in the past I have done the later and it took for ever what was I thinking:doh:
 

Similar Topics

I am trying to understand pointer in S7 and come across the following code : //Assume an integer symbol named index exists that contain the...
Replies
7
Views
5,271
Hi Guys, Hopefully attached is the code i could with some advice on. I believe this code controls the mapping of Internal memory to the...
Replies
8
Views
2,579
I have a word in some DB which I want to load to AR1 and use as a pointer. In order to do this I need to write L DBxy.DBW xy SLD 3 LAR1 I...
Replies
3
Views
533
I am trying to access the value of a pointer via OPC UA in Codesys. I can share it directly and in a struct but I cant access the value of it when...
Replies
5
Views
1,607
Why does my deconstruction of the input pointer only work with its own instance DB not inside the multi instance FB...See .doc The pointer at the...
Replies
8
Views
2,342
Back
Top Bottom