Internal Bit Question

Ron are there any instances when if you search for lets say N10:1/1 in Logix5 that you wouldn't be able to find it? Even if the data table shows that it is available, could something be writing a value to it that you might not be able to find?
Just wondering, I've heard that this could happen.
Jeff
 
that's a good question ...

Greetings Jeff ...

yes, what you've described is entirely possible ...

let's take the example bit that you mentioned (N10:1/1) as an example and look at the figure I've attached below ...

suppose that we've just done a properly formatted "Find All" search for N10:1/1 ... the results window clearly says that the bit was "Not Found" ...

suppose that next we open up the "Usage" feature – and set the Radix to "Binary/Subelement" to display everything down to the individual bit level ... we see that bit N10:1/1 (highlighted in blue) does NOT have an "X" on it – so it certainly appears that the bit we're interested in is not being controlled (or even "used") anywhere in our program ...

(I've included N10:3/3 as an extra example bit controlled by an OTE just to show what a "Used" bit would look like on the same window) ...

so ... the bit N10:1/1 is "guaranteed" to be free and clear and OK for us to use – right? ...

well, not so fast ... now check in the often overlooked "FW" column of the chart ...

the "F" code located on the row with N10:1 tells us that all of the bits on that row are subject to being used at the "File" level ... that's the COP command who's doing that ...

the "W" code located on the row with N10:1 tells us that all of the bits on that row are subject to being used at the "Word" level ... and that's being caused by the MOV command ...

so ... the lesson to be learned here is to carefully check under every single rock when you're trying to track down how an address in your program is being used ... as you might expect, this is one of the many lessons that I constantly drill my students on ... it's very easy to get caught up in the magic of the moment and miss something important if you're not paying attention to what you're doing ...

I hope this helps ...

bit_used.JPG
 
First of all I apologize for cutting in on Cirtceles thread.

no apology necessary ... the thread started along a certain topic - and your question was related directly to that topic - and you helped move the discussion forward ... that's the nice thing about an open forum like this ... the basic idea is to transfer knowledge ... by asking the question, you might have (in fact, probably) helped cirtcele too ...

party on ...

(and you're welcome ... glad we were able to help) ...
 

Similar Topics

In Logix 5000 software, how do you make an output (OTE)bit retentive such that when power is lost and resumed, the status of that bit will be in...
Replies
2
Views
1,809
Hi guys, I was told to look into a strange problem the other day. PLC 5/40e has a counter that keeps track of shift runtime minutes and stores...
Replies
5
Views
2,305
hello somebody knows this is a bit on special internal S7 200, briefly a 1 stop at a run? example .... stop SM0.xx active run for one second or...
Replies
4
Views
4,370
U
With regards to a plc what is meant by an "internal bit" - I know in PC's it is used as an address for floating.... Thanks
Replies
1
Views
2,678
If anyone can assist me in my folly I would surely appreciate it. I am creating a program for a small control panel and find that I can't get any...
Replies
4
Views
8,315
Back
Top Bottom