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...
Saragani Posted April 19, 2016 Report Share Posted April 19, 2016 Which version of the .Net communication driver are you using? Quote Link to comment Share on other sites More sharing options...
orenban Posted April 19, 2016 Author Report Share Posted April 19, 2016 I'm using the full project Unitronics.ComDriver I don't know which version I using, I can tell you that in the project properties = >assembly Information displayed "1.0.0.47" in the Assembly Version field. I tried to download the .net assembly from your forum, and the only link I found that work was the full project. Most of the link from "http://ftp.unitronics.com/Downloads"are broken. Can you tell me from where I need to download the latest version of the .net driver assembly? Quote Link to comment Share on other sites More sharing options...
Saragani Posted April 19, 2016 Report Share Posted April 19, 2016 From our website... Free Software --> Vision http://www.unitronics.com/Downloads/Support/Communication%20and%20Development/NET%20Driver%202015%20-%20Q4.zip It is version 1.0.0.67. It's from last year, but it should support the V700 Quote Link to comment Share on other sites More sharing options...
orenban Posted April 19, 2016 Author Report Share Posted April 19, 2016 I downloaded the latest assembly from the link, The problem resolved Thanks a lot! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.