How to Call C# Function from CTRL Skript

Find and share HowTos to various installations / configurations!
Search

Post Reply
3 posts • Page 1 of 1
NOertel
Posts: 4
Joined: Fri Jul 26, 2019 10:46 am

How to Call C# Function from CTRL Skript

Post by NOertel » Wed Aug 07, 2019 3:09 pm

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

User avatar
leoknipp
Posts: 2020
Joined: Tue Aug 24, 2010 5:28 pm

Re: How to Call C# Function from CTRL Skript

Post by leoknipp » Wed Aug 14, 2019 9:02 am

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 10:46 am

Re: How to Call C# Function from CTRL Skript

Post by NOertel » Tue Sep 10, 2019 12:19 pm

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

Post Reply
3 posts • Page 1 of 1