I have Compact Logix Ethernet/Ip PLC. I want to make small scada/hmi on my pc with C#. I can use visual studio 2017 windows forms. I will take some data from plc to pc and I will show on c# and changed some picture image. how can I do communication C# and Allen Bradley PLC via ethernet/IP. I need your helps, sample programs, libraries, support, advises.
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
Look at EEIP Library. They have a C# and Java library for Ethernet/IP communication. They even offer some videos on YouTube on how to use it. But be aware, that some of this free libraries have some rough edges or bugs with them. Personally, I would use Modbus or another PLC before using Ethernet/IP along with a PC.
回答2:
Look at AdvancedHMI. It is an HMI/SCADA Visual Studio toolkit with AB drivers. You can do most HMI stuff without writing code, but you can also use VB or C# for advanced tasks.
回答3:
There is an open-source project called libplctag which has a few .NET wrappers, some of which are on nuget: https://www.nuget.org/packages/libplctag/, https://www.nuget.org/packages/PlcTag.Net/
Full disclosure: I'm one of the authors of the first wrapper.