S7 indirect addressing LAR1 problem

baselch0

Member
Join Date
Jul 2010
Location
Basel
Posts
27
Hi all,

I need to move in the same DB 32 bytes from DBB00-DBB31 to DBB32-DBB64, so I have tried to write a simple code using the indirect addressing, but when the FC is performed the CPU goes to STOP with the following error

immaginebv.png


where I am being wrong???

I'd like make a copy of the data inside the DB without using SFC20 [BLCKMOVE]
I attach the file zip program saved as library.



Thanks a lot
 
You need to pass the start address as a pointer, not a byte.
You will need to open the correct DB inside FC1 as well.
 

Similar Topics

Howdy folks, I am an Allen Bradley guy currently living in an Emerson world. Working with Rx3i on PacSystems Machine Edition v. 9.6? i think...
Replies
3
Views
620
Hello, I'm very new to programming with absolutely zero schooling in this field and pretty hands off training in my new role, it's been fun...
Replies
4
Views
668
Hello Friends, I am trying to index M Bits, however GX Works2 is not allowing it with following message. https://ibb.co/zPcqj6M...
Replies
3
Views
1,378
Hi All, which the best way to do the indirect addressing in an optimize DB? Ccurrently this is my partial code inside an FB...
Replies
7
Views
2,273
Hey everyone, Just used the PLC5/Logix migration utility to convert a program, and while addressing the PCEs, I noticed a lot of errors for "XIC...
Replies
12
Views
1,971
Back
Top Bottom