0% found this document useful (0 votes)
173 views2 pages

Event Report Configuration

The document provides steps to create a system DSN to connect an ODBC table to an Audit database in WinCC for displaying event data. It involves: 1) Creating a SQL server user "AuditView1" with read only access to the Audit database. 2) Creating a System DSN named "AuditView" using the SQL server authentication with the login ID and password of the "AuditView1" user. 3) Configuring the System DSN to connect to the WinCC_Audit database using the login credentials, allowing event data to be accessed via an ODBC connection.

Uploaded by

nithinvn
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
173 views2 pages

Event Report Configuration

The document provides steps to create a system DSN to connect an ODBC table to an Audit database in WinCC for displaying event data. It involves: 1) Creating a SQL server user "AuditView1" with read only access to the Audit database. 2) Creating a System DSN named "AuditView" using the SQL server authentication with the login ID and password of the "AuditView1" user. 3) Configuring the System DSN to connect to the WinCC_Audit database using the login credentials, allowing event data to be accessed via an ODBC connection.

Uploaded by

nithinvn
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

Event Report In event report we are using ODBC table to display Event data from WinCC Audit database.

We are connecting ODBC table to Audit database through System DSN. For creating a System DSN to Audit database, we first create a user for SQL server who have only read access right to Audit database. Creating User in SQL Server. NOTE: WinCC project should be running. Then only Audit database will be created in SQL. Steps Start Menu -> Microsoft SQL Server -> Enterprise Manager 1) Go to serverName\WinCC sql server group (servername may differ for different computer) 2) Go to Security\LOGINS 3) In Logins Create a new LOGIN 4) Give a name for LOGIN- AuditView1 5) Select SQL server authentication 6) Enter password audit 7) Select WinCC_Audit database in database combo box. (Only when project is running this database is created) 8) Select database access tab. 9) Select WinCC_Audit database, that can be accessed by this login. 10) Specify Database roles for WinCC_Audit database. In this select db_datareader . public will be selected by default. 11) Press OK. So it will now ask for Confiriming the password. Confirm it. 12) So we have created a user for SQL server, for accesing Audit database (read only access). Creating System DSN NOTE: WinCC project should be running. Then only Audit database will be created in SQL. Steps 1) 2) 3) 4) 5) 6) 7) Go to Control Panel\Administrative tools\DataSources(ODBC) Select System DSN tab. Go to ADD In Create New Data Source, select SQL Server and FINISH. Create a name for System DSN.- AuditView Select WinCC sql server. ServerName\WinCC Select Next button

8) Select With SQL Server Authentication 9) Give login ID and user name that was created in SQL server. 10) Select NEXT button 11) Select Change to default database and select Database WinCC_Audit database. 12) Select Next button 13) Select FINISH button 14) Select Test DataSource. So we can see the database connection details. User Name and Password SQL UserName :: AuditView1 SQL Password :: Audit System DSN UserName :: AuditView

You might also like