Hello!
Is it possible to copy pointer's pointing address to any variable at Siemens step7?
I mean I have pointer address to db block with starting addreess and lenght.
Something like P#DB1000.DBX0.0 BYTE10, P#DB1100.DBX0.0 BYTE 10, P#DB1200.DBX0.0 BYTE 10 and I want copy these pointing addressed to one place with selection via number.
(0=Copy P#db1000.dbx0.0 byte 10, 1=copy P#db1100..dbx0.0 byte 10, 2=copy P#db1200..dbx0.0 byte 10 pointing addrees...)
I struggling with this now, with blkmove/SFC20 I can copy data areas from one to another, but how I can copy only pointing address (P#DBxx.dbx0.0 byte10 from ANY to another ANY variable, not data itself from data block?
Is it possible to copy pointer's pointing address to any variable at Siemens step7?
I mean I have pointer address to db block with starting addreess and lenght.
Something like P#DB1000.DBX0.0 BYTE10, P#DB1100.DBX0.0 BYTE 10, P#DB1200.DBX0.0 BYTE 10 and I want copy these pointing addressed to one place with selection via number.
(0=Copy P#db1000.dbx0.0 byte 10, 1=copy P#db1100..dbx0.0 byte 10, 2=copy P#db1200..dbx0.0 byte 10 pointing addrees...)
I struggling with this now, with blkmove/SFC20 I can copy data areas from one to another, but how I can copy only pointing address (P#DBxx.dbx0.0 byte10 from ANY to another ANY variable, not data itself from data block?
Last edited: