You can do this by downloading the NuGet package, or by downloading the sources and compile them.Ĭreate a PLC instance, connect and disconnect To create an instance of the driver you need to use this constructor: public Plc( public Plc(CpuType CpuType cpu, cpu, string string ip, ip, Int16 Int16 rack, rack, Int16 Int16 slot) slot) Ĭpu: this specify what CPU you are connecting to. Getting started with S7.Net To get started with S7.Net you have to download and include the S7.Net.dll in your project. ![]() S7.Net is written entirely in C#, so you can debug it easily without having to go through native dlls. ![]() This means that your plc must have a Profinet CPU or a profinet external card (CPxxx card). What is S7.Net S7.Net is a plc driver that works only with Siemens PLC and only with Ethernet connection. S7.Net documentation documentation How to download s7.Net The official repository is on GitHub ( )), you can also download the library directly from NuGet ( )).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |