What is going on here

SeanLee

Member
Join Date
Mar 2004
Location
Minot, ND
Posts
122
I have a program i am trying to edit and ran into something i dont understand

There are 2 integer files N7 and N11
In the program in the move comands and the math files they are addressed as
N11:[N7:4]
N11:[N7:5]
N11:[N7:6]
N11:[N7:7]
what is this method?

Thanks
 
And heres what AB help has to say about "Indirect Addressing"

An indirect address is one that lets you substitute a word or bit number in a logical address with the value in another address. The processor uses the value from the substitute address to form the indirect address. You can use ladder logic to change the value stored at the substitute address.
Enter the substitute address in brackets [ ].

Example:
B3:[N7:1]/[N7:12] - In this example the word number is stored in integer address N7:1, and the bit number is stored in integer address N7:12.
 
my distinguished colleagues Mickey, STL???, and Alaric should have you all straightened out ... but if you need just a little bit more help, here's a handy way to SEE what's actually going on ...


indirect_show.JPG



turn the checkbox ON and apply the change ... then turn the checkbox OFF and apply the change ... then experiment with different values in the "pointers" ... two or three minutes of this and you should have a firm grip on exactly how "indirect addressing" works ...

incidentally, you don't need a processor hooked up in order to try this out ... the RSLogix software will do this little trick all by itself ...
 

Similar Topics

This is for a Q68DAIN 8-channel analog output. Most of the channels are outputting 0-20mA but a couple are outputting 10vDC Anyone know what rung...
Replies
11
Views
1,758
Rungs 0 to 32. Can anyone explain what's going on here? What does "H" represent? Why those particular values (H0 and H2222)? R0S0 is rack 0 slot 0...
Replies
9
Views
1,956
I'm running this in an emulator so I'm not sure if that would affect it or not. I've never seen this before and I don't understand why it's...
Replies
4
Views
1,742
I've now managed to persuade the powers that be to stop trying to turn me into an electrician and let me get back to playing with my favourite...
Replies
1
Views
1,773
Software Ver. 22.00.00, After the 1st time of being true the EQL. instruction is still allowing the rung to be true even though the inputs are...
Replies
7
Views
232
Back
Top Bottom