inexperience with indirect addressing

jnagraves

Member
Join Date
Feb 2013
Location
Alabama
Posts
18
MicroLogix 1100. N9:10/[N9:20] XIC
Not sure what I should be looking for or what this is trying to tell me. Here is the logic. Any help/information would be appreciated
 
It tries to "tell" you that the referenced memory address N9:10[x:y/z] is "agile", depending of the value of another memory address value, in your case the N9:20 memory address.
So let's say that at one moment in time (at the end of one PLC scan)N9:20 has a decimal value of 13 stored within; at the next scan the ladder logic will be referencing the N9:10/13 memory address bit state.
 
Last edited:
Those addresses are performing an indirect address of a Bit sub-element of a Word.

When N9:20 is equal to 0, those two addresses refer to N9:10/0.
When N9:20 is equal to 1, those two addresses refer to N9:10/1.
When N9:20 is equal to 2, those two addresses refer to N9:10/2.

Where else is N9:20 used in the program ? Because it's named "Sequence" it probably plays a major role in the program.

The way this logic works, whenever there are no Major Faults or Minor Faults, N9:0 through N9:6 are set to zero.

When there are no Major or Minor faults and one of the bits in N9:20/xx is true, the value of N9:20 is incremented by 1, and the bit that was set true in N9:10 is set back to false.
 
I frequently use 0 as the 'powerup' or 'emergency stopped' phase of a sequencer, so that there is some kind of reset and start process that the machine needs to go through before engaging any outputs. Your system is probably waiting for one of the N9:10/xx bits to go true so that the sequencer gets into steps 1 through 9.
 
I agree Ken. I had to cycle through the process without the cylinder being engaged. We used an eletric driver and I was missing its "Depth" bit until I used it. Must have reset itself on the driver controller.
Thanks for all the help. I think I have got a better understanding of what it was looking for.
 

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
611
Hey, I'm trying to do the following, I have some experience with Citect but can't seem to figure this out. I/O Tag: BoxPos1_ProdNum (Data Type...
Replies
0
Views
574
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
663
Hi, I have this code: LAR1 P##structy L 0 T LW [AR1,P#0.0] which resets all the bits in this struct called structy...
Replies
1
Views
639
I have upgraded an old RS500 project to Studio 5000, it has thrown multiple errors which I am currently working through. I have looked through...
Replies
8
Views
1,717
Back
Top Bottom