Jump to content

Saragani

Members
  • Posts

    1,196
  • Joined

  • Last visited

  • Days Won

    116

Everything posted by Saragani

  1. You should be able to use the current PLC object (without creating a new one) for reconnecting. Maybe the socket in the PLC is left opened. You can automatically close it on the PLC side if no communication was made for a defined amount of time (There is a System Integer, or a system operand for that).
  2. If the PC is in Listen then you can work with ListenerServer, where you get events when a PLC got connected on disconnected. If the PLC is in Listen, then you will get an error when you try to communicate with a disconnected PLC, and what do do depends on how you wrote your code. I would rather wrap the PLC, and what I need from it in a class that handles it all (For example, that class will contain the list of Operands that I need to read and/or write, and the communication parameters. Once there is an error, the class will catch and handle it, and will also handle the retires, for example waiting for a minute and then trying to connect again). Practically, I would go with the 1st option, since in that case, all the PLCs connects to 1 known IP address, rather than the PC knowing to which PLCs it needs to connect. Each PLC will connect the server and the server will do what it needs to do. This off course not always easy, since from one PLC you need X and from the other Y (so you will have to identify them somehow, by either PLC name, or something else).
  3. Contact our support for scheduling a remote session. In the meanwhile, do you get any error when you write the following in the Command prompt? SQLLocalDB start unilogic And SQLLocalDB i Unilogic Can you also check %programdata%\unitronics\unilogic\Temp\ErrorData\ ? If UniLogic was able to collect crash report, then it will be in that folder (look at the time and date to make sure that it is not an old crash report, but a relevant one). Thanks.
  4. We'll need a remote session. I'm not sure if the problem is even with the SQL Server. Which version of UniLogic are you running?
  5. Hi, I have tested it with the given project, and it does behave unexpected. When switching to one of the simple keyboards, I saw an image which is probably the splash screen. It doesn't happen on a new V700 project (Something must have corrupted the enumeration of the system images) I had reset the system images to default, and things look better now. If you put the Splash Screen again, then the problem returns. I've passed this issue to the Vision R&D for further investigation.
  6. I don't know if you have sent it, but I never got it (so if you did, then it must have been blocked by the exchange server)
  7. Edited: Yes, please try emailing it to email removed
  8. I get: The owner haven't granted you access to this link.
  9. The port can be changed. You configure it in the same UI where you configure the IP, and PLC name.
  10. Can you please specify the OS on the PLC, and also attach the Visilogic project? Thanks
  11. Right click the program short cut, and choose "Run as Administrator". If it doesn't solve the problem, then go to View --> Toolbars --> Restore Default View & Exit Now check if the problem is resolved after Visilogic was restarted,
  12. Hi, Your code is is missing the actual call to the PLC. You create the ReadWriteRequest array, but do nothing with it. You should call oPLC.ReadWrite(ref readShifts );
  13. I don't remember what was the exact problem. You might have a different problem. This can only be determined with a remote session.
  14. If you know C#, then you can create a software that will do it for you. Either way, if the csv is compressed, you will need some kind of a code to extract the file from the Zip. Btw, Unitronics has a tool called Trend to PDF that takes either UniStream or Vision Trend file (not the CSV), and create a PDF with the graph.: http://unitronicsplc.com/software-unilogic/ (look under the Software Utilities, "Unistream Data Converters Suite"). You are probably using these tools for converting the Data Sampler raw data to a CSV file. As much as I remember, the Unitronics.Utr2Pdf.DLL can be used (You will need the 3rd part dlls, at least some of them, in order to generate the graph) for converting the Trend to PDF by code (by referencing the dll) For example: Unitronics.Utr2Pdf.Services.Convert(inputFile, outputFile, new Tuple<int, int>(yAxisDivision, yAxisSubDivision), openPdf);
  15. The Data Sampler struct has a bit called "Create CSV". If set, then when the file is saved into SD Card, a CSV file is also being created. In the email options. you have a file type CSV (attachment), zip The CSV file is being zipped and emailed. You can contact out support for more details and help about this subject.
  16. Currently, it is not possible to affect the RLO.
  17. Yes, it looks like a typo. English isn't my first language, but I'm pretty sure that the following sentence is incorrect: "The largest value in the range, 2304, is contained in MI 62; therefore 2304 is stored in MI 59". I would say that 2304 is contained in MI 59 and therefore stored in MI 62, this makes much more sense,
  18. What file type is the attachment?
  19. I forgot that the app doesn't support V130 I do agree that there should be a message like: "Unsupported PLC Model"
  20. I'll send the request to the support and see what they think.
  21. Hi, the message composer can generate "Binary Data" messages, which is not allowed for SMS. SMS and Emails requires text only.
  22. If the .Net Com Driver was compiled as Release, then it should not contain any Debug statements, so if you see a debug prints, then it means that you are using a Debug compiled version of the DLL, I'm not sure which version you are using. Please try using the version posted here: http://forum.unitronics.com/topic/2596-datatables-dll-source-code/#entry15465 I've decompiled it in order to ensure that I don't see debug prints.
×
×
  • Create New...