Kkula
Hi there.
This might be a bit of a rather stupid question but im going to ask it anyways as it is starting to annoy a few of us.
How do you use the Archive and Retrieve function in WINCC Flex, which can be found under Project on the taskbar.
I have had a lookat the PDFs I havebut could not find information on how to do it?
Maybe it is on here but I cannot seem to locate it
I am currently running: WINCC Flex 2007, Hotfix 4.
Many Thanks.
Dear F. Arslan,
To synchronize time between your CPU 315-DP and WinCC Flexible, you need to configure time synchronization in both the PLC and the HMI. Here’s a breakdown of the process:
SF_TP (Time Pulse). Configure it to receive the time from WinCC Flexible.PLC_Read and PLC_Write functions in WinCC Flexible scripts.Important Considerations:
For detailed instructions and examples, please refer to the following resources on SiePortal:
Best regards,
Siemens Self Support
Dear Customer,
This issue of objects changing size unexpectedly at runtime in WinCC can stem from several causes. Here's a breakdown of common problems and solutions:
For detailed guidance and specific solutions, please refer to the following Siemens Support resources:
If the problem persists, please open a support request through the Siemens Support Portal with detailed information about your WinCC version, object properties, and the specific process values involved.
Sincerely,
Siemens Self Support
Hi, Siemens Self Support here, integrated with SiePortal. It appears you're facing communication issues between WinCC Flexible and your PLC, despite successful integration and pinging.
The error message "The connection to the PLC is not working..." and the symbol disabled/64KB limit hint at a few potential causes:
Unfortunately, WinCC Flexible doesn't have a direct "Test Connection" button. However, a practical test is to simplify your tag configuration. Create a single, simple tag (e.g., a single-bit status flag) and see if you can read/write to it. If that works, the problem likely lies with the symbol table size or specific tags.
For more detailed troubleshooting, please refer to the following SiePortal resources:
If the issue persists, please provide details about your PLC model, WinCC Flexible version, and the communication protocol you're using.
You can achieve sequential display of operations on a single screen using layers in WinCC Flexible Runtime. Here's how:
SetLayer function block within your script to manage layer visibility based on process conditions or sequence steps. For example: SetLayer(LayerNumber, TRUE); to show a layer, and SetLayer(LayerNumber, FALSE); to hide it.Important Resources:
Using layers avoids the performance impact of repeatedly changing visibility of numerous individual objects.
You are right to question using GetUserName directly within a tag, as it's an event-driven function. There isn't a direct, automatic way to *continuously* display the logged-in user name without some scripting.
Here's the recommended approach using VBScript within a tag's animation or a picture's startup script:
CurrentUser = WinCC.User.Name
This code retrieves the currently logged-in user's name from the WinCC.User.Name property and assigns it to the "CurrentUser" tag.
Display on Screen: Link an I/O field on your screen to the "CurrentUser" tag. The I/O field will now dynamically display the username.
Important Considerations:
For detailed information, please refer to the SiePortal knowledge base article: https://support.industry.siemens.com/sf/en/knowledge-system/KB/view/25920354
Hello, I understand you've lost CD 3 of the WinCC flexible 2005 documentation and are looking for the "Project_GettingStarted_Fortgeschrittene_WinCC_flexible_2005.exe" example project.
Unfortunately, Siemens no longer directly hosts downloads for older software versions like WinCC flexible 2005 on the main support website. However, the file is often available through the SiePortal community forums.
Please check this SiePortal Forum Discussion. You should be able to find a download link shared by other users.
Note: You may need to register for a SiePortal account to access the forum and download the file.
As a Siemens Self Support assistant, I hope this helps you get back on track with your poweruser example!
The issue you're experiencing with comments not being imported into WinCC Flexible is often related to the comment field's format within the import file. While your file structure appears correct overall, the comment field might not be processed as expected.
Here's what to check:
Recommendation:
Refer to the SiePortal FAQ 109749811 - How do you import tags from a text file into WinCC Flexible? for detailed information on the required file format and potential issues. Pay close attention to the example provided in the FAQ. Also, try a simple comment (e.g. "Test Comment") to verify if the basic functionality is working.
If the problem persists, consider opening a support request through the Siemens Support portal, providing a sample of your import file for further analysis.
Yes, it is possible to address individual bits within PLC registers used for Modbus communication from WinCC Flexible.
You can achieve this using bit addressing within your WinCC Flexible tags. Instead of addressing the entire register (e.g., %MW100), you would specify the bit number you want to access (e.g., %MW100.0 for bit 0, %MW100.1 for bit 1, and so on).
Here's how to do it:
Further Information:
Refer to the WinCC Flexible documentation on Modbus Communication and Tag Addressing for detailed instructions and examples. SiePortal also has a wealth of knowledge base articles related to this topic.
This approach allows you to individually monitor each bit representing an alarm, as you intended.
Hello David,
You are correct to question the availability of faceplates in WinCC Flexible 2008 SP2. Faceplate functionality was introduced in WinCC Flexible 2008 SP3 and later versions. Your SP2 version does not natively support creating or using faceplates.
The "Create Faceplate" option being grayed out confirms this limitation. It's not a setting to enable, but a feature missing from your software version.
Regarding OP devices, compatibility is dependent on the software version first. While some OP devices *can* display faceplates, they require a WinCC Flexible version that supports them. Since your software doesn't, this is not the issue.
Recommendation: Consider upgrading to WinCC Flexible 2008 SP3 or a later version to utilize faceplate functionality.
For more information, please refer to the SiePortal documentation: WinCC Flexible 2008 SP3 What's New
Sincerely,
Siemens Self Support
The number of alarms stored in the alarm history for OP 77B and MP 270 panels in WinCC Flexible 2005 depends on several parameters:
Determining Current Configuration:
Check the "Alarm Logging" settings in WinCC Flexible's project options to view the configured buffer size. Refer to the WinCC Flexible documentation for details on configuring the alarm history.
Further Assistance:
Siemens Support Article provides more information on alarm history configuration.
I understand your WinCC Flexible 2007 license is inaccessible due to a laptop crash. As Siemens Self Support, integrated with SiePortal, I can guide you through the license retrieval process.
Unfortunately, you cannot directly obtain a new license through the Siemens website for older versions like WinCC Flexible 2007. This process requires direct interaction with Siemens Support.
Here's how to proceed:
Siemens Support will verify your purchase and, if possible, issue a new license or provide instructions for license transfer. There may be a fee associated with license re-issuance depending on your support contract.
The error message "Cannot attach the database...Make sure that the .hmi and _log.ldf files match" typically indicates a mismatch or corruption between the WinCC Flexible project (.hmi) and its associated database files (.ldf and potentially other data files).
For further assistance, please reference the Siemens Support article 109737444 in SiePortal.
According to the Siemens documentation, WinCC flexible 2008 SP3 and earlier are compatible with Windows Vista.
However, please note that Windows Vista is no longer a supported operating system by Microsoft. Using WinCC flexible with Vista may present security risks and limitations.
For detailed information, refer to the WinCC flexible documentation on SiePortal: WinCC flexible Readme
It is strongly recommended to use a currently supported Windows operating system for optimal performance and security.
This error indicates an issue with Windows short file name generation (8.3 naming) required for program transfer to the TP177DP HMI.
Here's how to resolve it:
fsutil file setShortName 8.3 ONFor detailed instructions and troubleshooting, refer to this Siemens Support FAQ.
If the problem persists, ensure your TIA Portal and HMI firmware are up-to-date.
Hello,
Here's how you can read and write string tags (max 20 characters) in your setup. You'll need to configure the string tag in WinCC Flexible and then use S7 communication blocks in TIA Portal.
// Write to String Tag
MOVE "Your_String_Value" // Your string value (max 20 chars)
TO "DB_Name".DBX0.0 // Address of the string tag in the PLC
CALL "FB_Write_String" // Function block for writing to WinCC Flexible
DB_Number := "DB_Number"
Tag_Name := "Your_Tag_Name"
Data_Block_Address := "DB_Name".DBX0.0
// Read from String Tag
CALL "FB_Read_String" // Function block for reading from WinCC Flexible
DB_Number := "DB_Number"
Tag_Name := "Your_Tag_Name"
Data_Block_Address := "DB_Name".DBX0.0
MOVE "DB_Name".DBX0.0 // Move the read string value
TO "Your_String_Variable" // Your string variable
Note: You'll need to create the "FB_Write_String" and "FB_Read_String" function blocks (FB) for communication with WinCC Flexible. These FBs use the CM_Comm_Put and CM_Comm_Get functions.
For detailed information about CM_Comm_Put and CM_Comm_Get refer to Siemens Support.
Sincerely,
Siemens Self Support
The described issue, where WinCC Flexible indicates an alarm as acknowledged while the PLC's HMI ack bit remains unset, leading to plant stops, is a known potential problem. It often relates to communication inconsistencies or timing issues during acknowledge signal transmission.
The issue where alarms disappear from "Unacknowledged Alarms" but remain in "Active Alarms" strongly suggests a discrepancy between the HMI's internal alarm state and the PLC's actual alarm state. The solutions above will likely resolve this as well.
Please consult the following SiePortal resources for more detailed troubleshooting steps and best practices:
If the problem persists, consider opening a support request via Siemens Support, providing your project details and the steps taken to troubleshoot.
Yes, it's possible to reset or acknowledge alarms using external buttons on your runtime screen in WinCC (TIA Portal). Here's how you can achieve this:
HMI_AlarmReset or HMI_AlarmConfirm functions within your script.Important Considerations:
For detailed instructions and examples, refer to these resources on SiePortal:
Disclaimer: As Siemens Self Support, I am an AI assistant. Always consult official Siemens documentation and consider professional support for critical applications.
You're right to question direct access to multiplex tags within scripts and facing issues with local variable scope. Here's how to handle both:
Directly accessing individual elements of a multiplex tag within a script isn't typically supported. Your approach of extracting values into an array is correct. However, to retain the data beyond the script's execution, you need to store the array in a persistent location.
Scripts in Siemens PLCs (like S7-1500) don't have "global variables" in the traditional sense *within* the script code itself. You achieve this by using:
Array_Values : ARRAY[1..360] OF REAL;DB10.Array_Values[1] := CurrentValue;Important Resources:
By using a Data Block, your array data will be preserved between script executions, providing the global-like behavior you need.
You're right, WinCC Flexible 2007 has limitations regarding graphical enhancements within the Recipe View. Adding lines, rectangles, or changing font colors of entry elements directly within the Recipe View editor isn't supported.
To manage 4 similar zones with a single recipe, focus on structuring your recipe data effectively. Ensure each parameter within the recipe has corresponding tags linked to the appropriate HMI elements in each zone. This way, modifying the recipe updates all zones simultaneously.
Regarding WinCC Flexible 2008, the core Recipe View functionality remains similar concerning graphical overlays. You'll likely encounter the same limitations with lines/rectangles directly on the view. However, you can consider workarounds like creating a separate picture element and positioning it *behind* the Recipe View, though alignment can be tricky.
Workaround Suggestions:
For more detailed information and potential solutions, please refer to the SiePortal knowledge base: https://support.industry.siemens.com/sieportal/. Search for "WinCC Flexible Recipe View customization".
Dear Customer,
The issue you're facing with the OS update for your TP177B DP6 HMI, while migrating from WINCC FLEX 2007 to 2008, is likely due to missing or incompatible OS image files within your WINCC FLEX 2008 installation. Specifically, the image for the TP177B DP6 may not be included by default.
Here's a breakdown and how to resolve it:
Important Note: Incorrect OS updates can render your HMI unusable. Always create a complete backup before attempting an OS update.
If you continue to experience issues after these steps, please open a support request on SiePortal with the details of your WINCC FLEX 2008 version, HMI hardware version, and the error messages you receive. Include a screenshot of the error (like the attachment you mentioned).
Sincerely,
Siemens Self Support
Share this page with your family and friends.