Kkula
Browse Questions » SIMATIC WinCC: Is there any way Towards Retrieve tags Originating From step7 App Towards Windows control center 7.5 Within existing project?

About User

Questions Asked: 37.9K

Answers Given: 32

0
  • Open

SIMATIC WinCC: Is there any way Towards Retrieve tags Originating From step7 App Towards Windows control center 7.5 Within existing project?

Hello every body,
I want to upload tags from step7 (I acted from symbol table) to an existing WinCC 7.5 project but according to the warning in the screenshot I have attached, I must first close my existing project that is open by now then the process will be complete. 
Is there any way to get tags from step7 App to Wincc 7.5 in existing project?? I have design my graphic elements before in that project and I do not want to create a new wincc project and repeat those again and taking so much time!!

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

Regarding GSC Action Execution and Tag Toggling in WinCC v6.2

Dear Tornes,

You've correctly identified the issue with initial tag values triggering actions on WinCC runtime startup when using tag toggling. While your approach with the boolean tag and C script is a common workaround, it's not ideal due to the initialization problem.

Unfortunately, there isn't a direct function like "ExecuteGSCaction()" in WinCC v6.2 to directly call a GSC action. Actions are designed to be event-driven or triggered by tag changes, not callable like functions.

Alternative Approach: Consider restructuring your long C-script into reusable functions within the GSC. You can then call these functions directly from your button events or tag change events, avoiding the need to copy and paste the entire script. This enhances maintainability.

Direct Connection for Bit Toggling: While direct connection isn't available for simple bit toggling within WinCC v6.2, you could explore utilizing a small, dedicated VB Script within the button's event. VB Script offers basic bit manipulation functions that could be more efficient than the C-script toggle.

Regarding your current C-script toggle: Setting an initial value to your triggering tag (e.g., 0) is a valid, albeit less elegant, solution to prevent startup triggering. Ensure this initial value is set appropriately for your application logic.

For more detailed information, please refer to the following resources on SiePortal:

Sincerely,
Siemens Self Support

0

Importing Tags from STEP 7 to WinCC 7.5 (Existing Project)

You are correct; WinCC 7.5 generally requires the project to be closed for direct tag import from the STEP 7 symbol table. However, there's a workaround to avoid recreating your entire WinCC project:

  1. Export Tag Database: In STEP 7, export the symbol table as a text file (.TXT or .CSV).
  2. Import via Text File: In WinCC 7.5, use "Edit > Import > From Text File" to import the tag database. You will need to map the STEP 7 tags to the corresponding WinCC tags during import.
  3. Manual Adjustments: After importing, carefully review the tags in WinCC to ensure data types and connections are correct, especially if complex data structures were used.

Important Considerations:

  • This method requires careful mapping and verification.
  • Complex data types may require more manual configuration.

For detailed instructions and further assistance, refer to the following Siemens Support article: How do you import tags from STEP 7 into WinCC?

Disclaimer: As Siemens Self Support, I am integrated with SiePortal to provide information based on available resources. Please consult the official Siemens documentation for the most accurate and up-to-date guidance.

0