woodward_uk
Lifetime Supporting Member
Hi there
I'm currently converting an RSLogix500 program that I wrote 20 years ago into RSLogix5000 for an SLC to CompactLogix upgrade.
The program uses indirect addressing, I have figured out how to address the required words within an array. For example my original N16:[N44:15] is now N16[Pointer2], where Pointer2 is an INT that contains the value of the array word I wish to reference.
The problem comes when I try to reference the same word position in different arrays. The original software used N[N9:40]:6 to point to word 6 in different data files, but I can't find a way of achieving this in Logix5000.
I've searched the forum without success, any help would be gratefully received.
Thanks.
I'm currently converting an RSLogix500 program that I wrote 20 years ago into RSLogix5000 for an SLC to CompactLogix upgrade.
The program uses indirect addressing, I have figured out how to address the required words within an array. For example my original N16:[N44:15] is now N16[Pointer2], where Pointer2 is an INT that contains the value of the array word I wish to reference.
The problem comes when I try to reference the same word position in different arrays. The original software used N[N9:40]:6 to point to word 6 in different data files, but I can't find a way of achieving this in Logix5000.
I've searched the forum without success, any help would be gratefully received.
Thanks.