Nonworking Bits

plcman777

Member
Join Date
Oct 2004
Location
Wa.
Posts
25
Could someone clue me into the half dozen or so reasons that bits won't turn on in an RSLogix500 program.

For example; I:9/0 is true but the bit it is mapped to B31:0/0 remains false.

I seem to remember seeing this recently in another thread but I'm not having any luck finding it now.

Thanks
 
90% of the time the rung is in a file that is not being called.

the other 10% of the time the output bit is programmed elsewhere later in the program and is over Writing the value in the data table.
 
see if this helps ...

if you can manually "toggle" bit B31:0/0 to an ON condition, then the rung is probably not being scanned ... if the rung is in a file other than Ladder File #2, then you probably need a JSR (Jump to Subroutine) instruction in Ladder File #2 to tell the processor to scan your "problem" file ...

if you can NOT manually "toggle" bit B31:0/0 to an ON condition, then there is probably something else in your program (later in the scan) which is overwriting the status of B31:0/0 ... a "find all" search should help you find it ... post your code if you need more help ...

PS edit ... yeah ... just like Norm said while I was typing ...
 
Thanks guys, it was the 90% that got me this time. I hereby swear not to program in my sleep anymore. My productivity is probably going to go way down but these kind of mistakes aren't worth it.
 

Similar Topics

Hi I am being given several fault words (as a DINT) from a Drive that I am receiving into a Compactlogix L33ER controller. I have a small...
Replies
12
Views
1,140
Dear Fellows; I am working on a very old machine which is designed in GE 90-30 PLC system. I have some difficulties like 1. How a force to...
Replies
3
Views
347
Hi All, I am trying to write some simulation logic for an existing project im working on. Does anyone know if this is possible to write to...
Replies
6
Views
1,278
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
641
I am passing DINTs between a Micro800 and CompactLogix - each bit in the DINT has its own unique meaning. On the Studio5000 side I can just write...
Replies
3
Views
1,101
Back
Top Bottom