Jump to content

Saragani

Administrators
  • Posts

    1,195
  • Joined

  • Last visited

  • Days Won

    116

Everything posted by Saragani

  1. Yes, it's a known issue on version 1.35.227 The fix to this issue will be included in UniLogic 1.36
  2. Use .Net communication driver. If you create a PLC object then it has a Property called SD, which let you do some file actions with the SD Card. Here is a code example, written long time ago, which has an SD Card explorer example, with its sources code. https://downloads.unitronicsplc.com/Sites/plc/Visilogic/Programming tools for developers/SD Card Explorer Lite.zip
  3. No, it was not added. I assume that you need it since you don't have an SD card in your PLC, right?
  4. Hi @ORSO2001 Thanks. I hope that your ticket has the project and also all the information (screen captures, or videos, or anything that can help R&D understand what is not working properly)
  5. Please note, I have fixed this issue. On next UL release, you should be able to load that old retained tags hex file, while the new one that I sent you will not work.
  6. If I understand you correctly, you want to change the Initial Value of retained tags from the PLC, right? (Initial value of a retained tag is the value it gets when you download the program on the first time, or you call Init retained tags). In this case, the values are compiled into machine code, so it's not possible. If you want to just change values of retained tags, then you can create HMI screens for it, and maybe also edit the values from the UniApps (I need to check if it's possible, but even if can be done, then it's very uncomfortable because it was not meant for it)
  7. I'm not sure what your retained tags contain (Which tags and which structs). There is a chance that the upgrade caused the address of some retain tags to change (due to some retained tag that were of type of Reserved Structs that were changed from version 1.25 to 1.35), so in this case copying the values from the original project to original (old) address would be wrong, since the address is not correct. You can send me the original project (in version 1.25), and the Retained tags file, and I will look into it.
  8. Did you already download the project to the PLC? If so, the retained tag should have their valid values before you've upgraded it. Is that the case? If so, then there is no need to download the retained tags memory again, but I would upload the retained tags from the PLC again.
  9. No, you can't write to the Username tag in the UAC struct.
  10. 45 minutes is a lot of time. What PLC model is it, USP or US5/7? If it didn't finish after that time, then I think that something went wrong during the upgrade process, but you should be able to recover the PLC (Depending on the Model) @NoamM Please reply.
  11. In the current UniLogic version it's not possible, but it can be done. I'll open a feature request.
  12. Months with 31 days are: 1, 3, 5, 7, 8, 10, 12 Months with 30 days are: 4, 6, 9, 11 If month == 2, then: if (year % 4 == 0) { if (year % 100 == 0 && year % 400 != 0) { daysInMonth = 28; } else daysInMonth = 29; } else daysInMonth = 28; That's what I remember...
  13. @tonnerre Hi, I got confused about the Data Table to PDF. The conversion is actually Data Table to Excel. (The PDF Conversion is of Data Sampler), so I'm sorry if I led you wrong. However, you might print the Excel file into a PDF
  14. Well, the digital signature verifier can be ran out side if UniLogic. The main Exe is referencing one dll, and that dll is referencing few 3rd party dlls You cannot create file as read-only, since it can always be edited in a computer. You can, as Ausman suggested, inserted into a zip, and that zip can have a password. For having the Digital signature verifier working, you need to copy: Unitronics Digital Signature Verifier.exe Unitronics.DigitalSignature.Verifier.dll System.ValueTuple.dll Newtonsoft.Json.dll BouncyCastle.Crypto.dll Then if you give those files to someone, then he should be able to run it. There might be dependencies like .Net 4.6.2, or 4.7.2 which might need to be installed, but must computers have them already, so the program should run without any issue. A clarification for Ausman: the file itself is not signed, but there is a signature file next to it (they go together). The idea behind it is to be able to sign textual files as well (like CSV). Modifying either of the files (signature file or the csv file, for example) will result signature validation failure. There are tools from Unitronics to convert a Data Table file to a PDF (like Data Converter Suite), but they do not verify the signature of the input DT file, or sign the PDF. Signing a PDF is usually done using a certificate you buy, because anyone can sign a PDF, but you also want to assure that it was signed by someone you trust. Currently, the PLC does not generate a PDF file from the Data Table.
  15. Please update me if you were able to solve the issue
  16. Not a ulpr file, but: Plug is the Disk On Key to your computer, and then: In the new opened window: You need to select "Removable Drive", and it should auto detect the Destination Drive (for example: E: ) Check the "I have read and understand the guidelines" Plug the Disk On Key to your PLC Click on "Create File", and then click on the "Import Application" from the Flash Drive, and you should see that it is writing "Downloading" and after it's done. the PLC should communicate with the PC again. Just one note: Make sure that the project that is currently opened, is with the type of the PLC that you are going to import the project on, else the PLC will either tell you that it doesn't find a project to import, or it will import another file (matching the PLC), which might be of version 1.32 or older.
  17. Hi, Is the PLC near you? If yes, then export the project to a Disk On Key (USB Flash drive), put the Disk On Key in the PLC and load the project from the UniApps. This should sort the communication problem
  18. Hi, thank you for your report. This is the first time I encounter an error of a missing Begin or missing End, and I don't think it's related to 1.34.192. but if you find a recipe for reproducing it, then please share Yes, there are few issues with the C Editor that were already found and the fixes will be released in UniLogic next releases What do you mean that you lost all the changes? You opened the project and it was just like before you've saved it? UniLogic creates a backup before save, so you might be able to restore the lost changes.
  19. There are System tags, and if you are creating TCP Server or TCP Clients, then each of them has it's own struct on the Global tags that indicates it's status, errors, etc.
  20. @Jakke_SL Were you able to solve the issue?
  21. @AlexUT I think that your first command is incorrect. It should be: REG ADD "HKLM\SYSTEM\CurrentControlSet\Services\stornvme\Parameters\Device" /v "ForcedPhysicalSectorSizeInBytes" /t REG_MULTI_SZ /d "* 4095" /f
  22. @Aymeric I've sent you a message regarding the issue you've raised.
×
×
  • Create New...