Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PLC Programing in C# .NET [closed]

Tags:

c#

plc

Can I Write Programs for PLC Controlling in C#? How?

like image 859
Hossein Moradinia Avatar asked Jul 21 '10 18:07

Hossein Moradinia


1 Answers

Not likely. C# requires an implementation of the Common Language Runtime (CLR) to run applications developed in that language or any .NET language. I would say it is very unlikely that any PLC will ever be manufactured which supports this for various reasons.

Now what you can do is have your C# application read and write data from the PLC using the OPC protocol. There are a few different libraries for using OPC that are available for the .NET Framework.

Here is a pretty good website for laying out the options.

like image 199
Brian Gideon Avatar answered Oct 18 '22 03:10

Brian Gideon