Finding a DB bit in S7

It may be easier for me to email you direct if you dont mind as the project is quite large...
 
Last edited:
Morning guys I finally found the part of the code that sets the bit I was looking for. It was in the FC that assigns the DB bit to the physical address via a pointer. Within this block it uses the same UDT used within the DB to process and assign the actual bit hence why I could find it...

Is that the right way of saying it...??

Code:
      A(    
      A(    
      X     #Out.Se
      X     #Out.Invert
      )     
      A(    
      ON    #Out.Force.Enable
      ON    DB1109.DBX  104.4
      )     
      A(    
      ON    #Out.Force.Product
      ON    DB1109.DBX  104.4
      )     
      O     
      A(    
      A     #Out.Force.ProdValue
      A     #Out.Force.Product
      AN    M     23.7
      O     
      A     #Out.Force.Value
      A     #Out.Force.Enable
      )     
      A     DB1109.DBX  104.4
      )     
      A     #Out.Enable
      A     #NoEmStopActive
      =     #Out.Sphys
      A     #Out.Sphys
      =     #Signal
 
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,055
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,135
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...
Replies
2
Views
2,816
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,942
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,687
Back
Top Bottom