finding a bit location in program

panthripu

Member
Join Date
Mar 2004
Posts
228
I am using siemens S7-400 PLC. In one of my program i am trying to find the location of bit say db131.dbx20.5 to see how it is has been written/set. By using GO TO the location it does not show my anything.Even if i search it by bit or byte or word.I am thinking now that may be its status is related to some FB somewhere or based on some condition in some FB this bit location status is chagned.
What method can be used to find it , how the status of this bit is changing.
 
Hi,
If goto cant find then that bit is being addressed indirectly.
If it is instance DB then FB related to this DB is operating that bit.

If its normal DB then see in CALL STRUCTURE to find which FC is using that DB (you can use cross reference).

If it is a M bit then........
happy hunting (start bypassing) :cry: or last line of OB1 should be the logic to control that rouge bit the way you want it.:oops:
 
Last edited:

Similar Topics

I cannot find what controls this bit in logic. Some kind of master bit. search only shows this bit Control Logix 5571 CPU Any ideas??
Replies
17
Views
5,019
I have VMs with XP, but I sold an old laptop and 32 bit USB to Serial Converter to a customer who needed it. I went back to a known supplier for...
Replies
12
Views
3,083
Good afternoon... Im hoping that someone will point out something that I am obviously missing. I am trying to find part of a program that...
Replies
20
Views
3,241
I'am currently using a loop to find the first true bit in an array but this i pretty scan time consuming. So i was wondering if anyone know a...
Replies
23
Views
6,918
I have watched for many years how people come up with ways of finding the bit numbers of bits that are set. RSLogix5000 has a FBC which works and...
Replies
10
Views
10,631
Back
Top Bottom