11/25/2024 7:35 AM | |
Joined: 10/17/2024 Last visit: 9/2/2025 Posts: 5 Rating:
|
Hi, I am new for WinCC and i am using WInCC8.0 version so could you please guide me how i can display SQL data in DataGrid or user archive. I have tried but could not get ------------------------------------------------------------------------------------------ |
Last edited by: FarheenQ at: 11/25/2024 07:45:34Last edited by: Moderator_Lan at: 11/25/2024 12:17:24New subject after splitting |
|
11/28/2024 10:32 AM | |
Joined: 8/3/2009 Last visit: 9/5/2025 Posts: 16349 Rating:
|
Hello FarheenQ You can connect to the SQL Server database in a VB Script and read out the needed data. for displaying in WInCC V8 you can use a Grid view like the PM Grid Control or for example also a Custom web control like a table control Here is a very simple example: https://support.industry.siemens.com/cs/de/en/view/109779176 (you shold also be able to use the CWC in WinCC V8) of course you can also use the data for other screen elements or controls like a combobox or similar Bye Murof |
If this Information really helps, you could use the Rate function |
|
6/16/2025 7:42 AM | |
Joined: 10/17/2024 Last visit: 9/2/2025 Posts: 5 Rating:
|
How i can show Data from SQL to WInCC using table . i want to show this data in WInCC by on click button Using WInCC8.0 |
6/25/2025 10:08 AM | |
Joined: 8/3/2009 Last visit: 9/5/2025 Posts: 16349 Rating:
|
Hello FarheenQ I do not know a ready to use example for accessing a SQL Server database with WinCC V7/8 but you can use this FAQ: https://support.industry.siemens.com/cs/ww/en/view/61883659 Its for WinCC Advanced in TIA, so you have to change the syntax for accessing tags or similar but the connection to the SQL should be equal in WinCC Edit: here is also a WinCC example: https://support.industry.siemens.com/cs/ww/en/view/109976624/45950277643 Bye Murof |
Last edited by: Murof at: 06/25/2025 12:25:37If this Information really helps, you could use the Rate function |
|
Follow us on