Access Data into WinCC OA

Find and share HowTos to various installations / configurations!
4 posts • Page 1 of 1
MrKintaro
Posts:53
Joined: Fri Aug 16, 2013 6:56 pm

Access Data into WinCC OA

Post by MrKintaro »

Dear All,

I have a question: which is the best way to exchange data to an external platform.

We have a client who has a platform managing the entire project (what I know is that it is server which collects datas from different system).

This system should have bidirectional comunication. the client is proposing:

- a webservice: is it possible to implement something like this in WinCC OA with httpServer()?
- Sql Query :where they can make a query to the historical DB?

I have also read the Post but it allows only WinCC OA read external DB, I need to send also data to this system

Thanks in advance.

RudiKreiner
Posts:198
Joined: Mon May 16, 2011 2:10 pm

Re: Access Data into WinCC OA

Post by RudiKreiner »

If your external platform can handle OPC UA communication, you could configure an OPC UA Server to allow write access to some or all datapoints of a project or read only access for others.
I don't think the WinCC OPC UA Server allows queries of historical data though. But if your external platform is always active, it could continuously write the relevant data to it's own database.

MrKintaro
Posts:53
Joined: Fri Aug 16, 2013 6:56 pm

Re: Access Data into WinCC OA

Post by MrKintaro »

Unfortunately not an Option, it is the first thing I also though.

fmulder
Posts:330
Joined: Wed Feb 03, 2010 9:46 am

Re: Access Data into WinCC OA

Post by fmulder »

WinCC OA has an API allowing for C++ and/or C# development. This can be done in two ways:

1) Add new statements to the scripting language.

Code: Select all

void main()
{
  if( bWeb )
  {
    startMyDenisWebServer();
  }
  else
  { 
    startMyOwnSecretEfficientProtocolDriver();
  }
}
2) Implement a manager that is added to the console

You can find examples in the \\api folder.

It is always(!) possible to exchange data with WinCc OA

Good luck

share the fun
Frenk Mulder

4 posts • Page 1 of 1