Kkula
Browse Questions » STEP 7 (TIA Portal): How Towards reset databit content

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

STEP 7 (TIA Portal): How Towards reset databit content

could you describe how can i reset data block messages, the address DB9.DBX107.1 is ratian the value even after resolve the issue and restart the plc power..??
i have apply the following both function but not working
A M105.1 reset push button
L 0
T MW 107
A M105.1 reset push button
R DB9.DBX107.1
Thanks

0 Likes 0 Favourites 0 Followers 0 Comments
Answers(1)

Resetting Data Block Messages (DB9.DBX107.1)

The persistent "1" value in DB9.DBX107.1 after issue resolution and PLC restart indicates a latched error or flag. Your attempted reset logic isn't sufficient because the bit is likely being re-set elsewhere in the program or by a hardware condition.

Here's a more robust approach, along with debugging steps:

Recommended Reset Logic:

  1. Find the Setting Logic: First, identify where DB9.DBX107.1 is being set to '1'. Use the cross-reference function in TIA Portal (Navigate -> Cross-References) to locate all instances where DB9.DBX107.1 is written to.
  2. Conditional Reset: Reset the bit *only* when the triggering condition for the original set is no longer true. This prevents it from immediately being re-latched.
  3. Reset Code Example (Ladder Logic):
          Network 1:  // Reset Button Logic
          A     M105.1   // Reset Push Button
          AND   NOT   //Important!  Only reset when the original fault is cleared.
          R     DB9.DBX107.1
        

Debugging Steps:

  • Online Monitoring: Go online with the PLC and monitor DB9.DBX107.1. Observe *exactly* when it gets re-set to '1'.
  • Force Value: Temporarily force DB9.DBX107.1 to '0' online to see if it holds. If it immediately reverts to '1', something is actively setting it.
  • Search Program: Use TIA Portal's search function to look for instances of "DB9.DBX107.1" within your program blocks.

Resources:

If these steps don't resolve the issue, please provide more details about the triggering condition for DB9.DBX107.1, and I can assist further.

0