![]() |
||
|
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
| ||
New Here? Please read this important info!!!
|
|
#1 |
|
Member
![]() Join Date: Mar 2004
Posts: 170
|
finding a bit location in program
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. |
|
|
|
#2 |
|
Supporting Member
![]() Join Date: Nov 2006
Location: UK
Posts: 4,540
|
Is DB131 an instance DB or global DB ?
|
|
|
|
#3 |
|
Member
![]() Join Date: Oct 2004
Location: India.
Posts: 742
|
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) or last line of OB1 should be the logic to control that rouge bit the way you want it.
__________________
Manmeet Last edited by manmeetvirdi; May 12th, 2011 at 12:56 PM. |
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Topics
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ControlLogix Tidbits, Finding Bits in an Integer | whirlair | LIVE PLC Questions And Answers | 12 | November 22nd, 2010 08:45 AM |
| Questions abt Siemens S7 200 | Preeya | LIVE PLC Questions And Answers | 3 | April 9th, 2007 07:39 AM |
| Step7 What exactly does the STA bit show when viewing a running program. | RMA | LIVE PLC Questions And Answers | 2 | March 22nd, 2007 09:41 AM |
| Program scan using bit file | Unregistered | LIVE PLC Questions And Answers | 2 | June 16th, 2005 02:09 PM |
| Finding variables in plc program | esl | LIVE PLC Questions And Answers | 3 | April 30th, 2002 06:25 PM |