Hi, I’m trying to use the System.Net component into C# but I have some difficulties with it. When I import the refrences into it, Visual studio gives me a warning serveral warnings/errors about the topics of PLCnext refrences(see first picutres). When I then take a look at the code (second pictures), everything in the pictures about the plcnext basic code is highlighted in red. I have tried to do the same thing in a function, function bock, function container and programbut always with the same result. Best Regards, Arne
Hi Arne, you can’t use the original libraries created by Microsoft Corporation. To program for our real time system you need to use our libraries. With the extension we provide libraries adapted and specially made for real time purpose. These libraries are limited to only a set of Classes and elements due to being capable and making sense in real time applications. Only the in the screenshot marked libraries are available. The System.dll contains your needed System.Net namespace (2. screenshot). The eCLR-Programming-Reference.chm shows all the available namespaces, classes and elements including our special classes for IEC 61131-3. Regards Marcel
Hi Marcel, Thx for the fast reply and I thougth it would be something in the details so thx again. Regards Arne