Kkula
Browse Questions » SIMATIC WinCC (TIA Portal): Setbit / Resetbit - Symbolic DB

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

SIMATIC WinCC (TIA Portal): Setbit / Resetbit - Symbolic DB

Hey all.
Got this weird bug....
TIA Wincc V16 (No update installed)
SetBit and ResetBit buttons we have "ALOT" of in our HMI, 80% i'd say.. with DB links and Memory links. Both symbolically and absolute.
But now i'm creating a couple of new buttons with DB Symbolic adresses.
Should work right?... NO...
It doesnt set the bit true unless i massively bombard the HMI button then i get flicker of True / false.
As said before.. we got tons of these buttons on DB symbolic adressing.
Anyone got any clue what can be wrong..
The button is placed "MIDDLE" of the screen so it should be that kind of issue..
This specific function (button) have work before to..
I've compiled tons of times..
The HMI PLC tag list look bit different on same DB With how its symbolic names are stated..
The older ones looks like..
"DB Name".Symbolic_Name
the newer bits in the DB:
"DB Name"."Symblic_Name"

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

WinCC V16 Set/Reset Bit Issue - DB Symbolic Addressing

Based on your description, the inconsistency in how symbolic names are represented in the PLC tag list appears to be the root cause. WinCC V16 is sensitive to this difference.

Problem: Older tags use "DB Name".Symbolic_Name while newer tags use "DB Name"."Symblic_Name" (note the double quotes and potential typo in 'Symblic'). This discrepancy can cause unreliable bit manipulation with Set/Reset buttons, especially when using symbolic addressing.

Solution:

  • Standardize Symbolic Naming: Ensure all DB symbolic names are consistent throughout your project. The recommended format is "DB Name"."Symbolic_Name".
  • Update Tag List: Manually correct the PLC tag list in WinCC to reflect the standard naming convention for all tags, including the older ones.
  • Recompile: After correcting the tag list, completely recompile the HMI project.

Additional Notes:

  • The location of the button on the screen is unlikely to be the issue.
  • Repeatedly pressing the button causing a flicker suggests the HMI is attempting to write to the bit but failing consistently due to the naming issue.

For further assistance, please refer to the SiePortal knowledge base: Siemens Industry Support Portal

0