Reading pointer format in S7

Plc_User

Member
Join Date
Dec 2005
Location
Belgium
Posts
317
I use a lot of data organised as a struct in a db. Now I read in this struct as an in-parameter in a function. The in-parameter is specified as 'pointer', so at the inside of the block I can determine the datablock, and the startadress.
However, if I don't want to use an in-parameter, is there a way to detect the pointerdata af the struct (datablock and startadress)?

IN : POS_OBJECT_X : pointer


L P##POS_OBJECT_X
LAR1
L W [AR1,P#0.0]
T #TempDBX
L D [AR1,P#2.0]
LAR1
OPN DB [#TempDBX]
 

Similar Topics

Hi all....... someone knows if is possible in S7, using the indirect adressing by means of a pointer L P## to read a data struct defined as...
Replies
5
Views
3,719
Hi Everyone, I am not proficient in RSLogix 500 so I have a question regarding the evaluation of N7:0 data as an input. So as I understand in...
Replies
1
Views
66
Trying to setup a message read via Ethernet. I have the path setup as 1, 1, 2, 192.168.66.10 I get an error code 1, ext err 315. I am beating...
Replies
9
Views
229
Dear all, I don't know why setup of password became challenging and weird. After setting up the password and try to upload the ladder from the plc...
Replies
3
Views
171
hi all, i have a plc i need to get info from for a site im working on: I have a 1764 Micro Logix 1500 LSP Series C (See Attached Image) im...
Replies
2
Views
372
Back
Top Bottom