plc.myforum.ro Forum Index plc.myforum.ro
PLCs users www.plc.myforum.ro!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do you access an SQL database in WinCC Runtime Advanced

 
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems
View previous topic :: View next topic  
Author Message
maersk
Member 3
Member 3
maersk

Joined: 17 Aug 2014
Posts: 891

PostPosted: 11/02/2017 18:32    Post subject: How do you access an SQL database in WinCC Runtime Advanced Reply with quote

How do you access an SQL database in WinCC Runtime Advanced using a script?
https://support.industry.siemens.com/cs/document/61883659/how-do-you-access-an-sql-database-in-wincc-runtime-advanced-using-a-script-?dti=0&lc=en-BR
SQL databases are accessed in WinCC Runtime Advanced by means of scripts, except when archiving tags or messages.

In order to access an SQL database, there must be a database created in the SQL server.
WinCC Runtime Advanced acts as an SQL client.

Note
An SQL database cannot be accessed from a Windows CE-based panel (a Comfort Panel, for example).


Requirements
SQL server1
SQL data source must be created in Windows 7.
WinCC Advanced ES or WinCC Professional ES
WinCC Runtime Advanced
1) The SQL server used must also be released for the operating systems (that are also released for WinCC Runtime Advanced).

https://support.industry.siemens.com/cs/attachments/61883659/61883659_WinCC_RuntimeAdv_access_SQL_via_script_DOCU_en.pdf
https://support.industry.siemens.com/cs/attachments/61883659/61883659_WinCC_RuntimeAdv_access_SQL_via_script_PROJ.zip
Back to top
View user's profile Send private message
maersk
Member 3
Member 3
maersk

Joined: 17 Aug 2014
Posts: 891

PostPosted: 11/02/2017 18:34    Post subject: Reply with quote

How do you log tags and messages with WinCC Advanced V11 in an SQL database?
https://support.industry.siemens.com/cs/document/61886098/how-do-you-log-tags-and-messages-with-wincc-advanced-v11-in-an-sql-database-?dti=0&lc=en-BR

https://support.industry.siemens.com/cs/attachments/61886098/61886098_WinCC_Adv_Archivierung_SQL_Datenbank_en.pdf
https://support.industry.siemens.com/cs/attachments/61886098/Project_2012-07-19.zip
The screens and downloads were created with WinCC Advanced V11 SP2.
Back to top
View user's profile Send private message
gert
Member 3
Member 3
gert

Joined: 02 Jan 2015
Posts: 645

PostPosted: 12/05/2017 11:11    Post subject: Access SQL database in WinCC Runtime Advanced Reply with quote

How do you access an SQL database in WinCC Runtime Advanced using a script?
https://support.industry.siemens.com/cs/document/61883659/
SQL databases are accessed in WinCC Runtime Advanced by means of scripts, except when archiving tags or messages.

To access an SQL database, it must have been created in the SQL server.
The WinCC Runtime Advanced functions as an SQL client.
Note
An SQL database cannot be accessed from a Windows CE-based panel (a Comfort Panel, for example).
Requirements
SQL server1), Microsoft SQL Server 2014, for example
SQL data source has been created
WinCC Advanced ES or WinCC Professional ES
WinCC Runtime Advanced V14 or higher
1) The SQL server used must also be released for the operating systems (that are also released for WinCC Runtime Advanced).

How to create a Microsoft SQL database is described in for V11 TIA
https://support.industry.siemens.com/cs/document/61886098/
https://support.industry.siemens.com/cs/attachments/61886098/61886098_WinCC_Adv_Archivierung_SQL_Datenbank_en.pdf
https://support.industry.siemens.com/cs/attachments/61886098/Project_2012-07-19.zip

Download
https://support.industry.siemens.com/cs/attachments/61883659/61883659_WinCC_RuntimeAdv_access_SQL_via_script_DOCU_en.pdf
https://support.industry.siemens.com/cs/attachments/61883659/61883659_WinCC_RuntimeAdv_access_SQL_via_script_PROJ.zip
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    plc.myforum.ro Forum Index -> Simatic Automation Systems All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro