How to Call C# Function from CTRL Skript

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
NOertel
Posts:4
Joined: Fri Jul 26, 2019 12:46 pm

How to Call C# Function from CTRL Skript

Post by NOertel »

Hello,

I would like to connect my control script with my C# Manager while my table is initializing.
I use WinCC OA 3.16.

Is this possible ? I just find the connection with data-points over an subscription.

I look forward to hear from you.

Regards NOertel

leoknipp
Posts:2928
Joined: Tue Aug 24, 2010 7:28 pm

Re: How to Call C# Function from CTRL Skript

Post by leoknipp »

You cannot "connect" to another manager from your CTRL script in standard configuration.
This would only be possible if your C# manager is opening an additional server port where some (external) process can connect to.

Why aren't you transferring data from the C# manager to the CTRL script via DP elements?

Best Regards
Leopold Knipp
Senior Support Specialist

NOertel
Posts:4
Joined: Fri Jul 26, 2019 12:46 pm

Re: How to Call C# Function from CTRL Skript

Post by NOertel »

I thought I could use C# with an ORM Framework so I'm able to load queries without datapoints into the table.
But, now I'm convinced that CTRL an DP could be also an good alternative. Thanks for the good Basic Workshop :D

Best Regards,
NOertel

3 posts • Page 1 of 1