orenban Posted April 18, 2016 Report Share Posted April 18, 2016 Hi, I trying to connect to V700-T20BJ via .net c sharp code, and the "GetPLC" function return "Unknown PLC Model" exception, I tried to debug and step into the function "GetPLC" and I saw that the code parsing the "PLCModels.xml" file, and I think that the code didn't find xml element that match the V700-T20BJ model. I attached the code here and the "Get OPLC information" from Vsio. Thanks ! Ethernet eth = new Ethernet("192.168.1.16", 20256, EthProtocol.TCP, 3, 3000); var plc = PLCFactory.GetPLC(eth, 0, "pita");//(eth, 0); Console.WriteLine(plc.Version.OPLCModel); Console.WriteLine(plc.PlcName); Console.WriteLine(eth.Connected); Console.WriteLine(plc.UnitId); Console.ReadLine(); Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.