Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Saragani

  1. Saragani

    SQL query results

    Well, from the point of view of the SQL Server / Client or the query, it succeeded (there query itself had the right syntax, and the tables and columns existed). We don't parse the queries you execute, so we don't know what is going to be returned. 0 records doesn't mean fail, since "Delete From Table" would return 0 records, but is still OK.
  2. Saragani

    Remote PLC - problems with online mode.

    Try rebooting the PLC and see if it helps.
  3. Well, my best suggestion would be contacting our support, and supplying them the project and see if they or the QA can reproduce the problem, and if so, then find out why it happens.
  4. Saragani

    RemoteOperator w/Windows 10 Pro

  5. Saragani

    RemoteOperator w/Windows 10 Pro

    Hi, I have confirmed that compiling Remote Operator so it would target .Net framework 4.0, while .Net 4.8 is installed fixes the problem. Luckily, there is a workaround that can help you run Remote Operator with .Net Framework 4.0 and newer without getting a new Exe. Go to where Remote Operator is installed, usually at: C:\Program Files (x86)\Unitronics\Remote Operator\ You should find a file called: Remote Operator.exe.config Open this file with Notepad or Notepad++ while it runs as Administrator (since you are going to change a file located in Program Files, and Windows will not let you do that unless the change is being done by a program that has Admin rights). Just replace the entire content of that file (it should be a text file in an XML format, so make sure you don't accidentally open the exe file instead), and save the file. <?xml version="1.0"?> <configuration> <configSections> <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <section name="Remote_Operator.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false"/> </sectionGroup> </configSections> <appSettings> <add key="EnableLogger" value="False"/> </appSettings> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <probing privatePath="Libraries;StartupLib"/> </assemblyBinding> </runtime> <userSettings> <Remote_Operator.Properties.Settings> <setting name="RdpVncMode" serializeAs="String"> <value>False</value> </setting> <setting name="AutoRun" serializeAs="String"> <value>False</value> </setting> <setting name="ProjectLoadOption" serializeAs="String"> <value/> </setting> <setting name="SelectedProjectToLoad" serializeAs="String"> <value/> </setting> <setting name="StartWithWindows" serializeAs="String"> <value>False</value> </setting> <setting name="FullScreenMode" serializeAs="String"> <value>False</value> </setting> <setting name="AutoRefreshInterval" serializeAs="String"> <value>100</value> </setting> </Remote_Operator.Properties.Settings> </userSettings> <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration> The line that was added to the config is just after the </userSettings> and before the </configuration>. It's the: <startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup> which tells it to target .Net framework 4. Please tell me if it helped. Thanks.
  6. Saragani

    RemoteOperator w/Windows 10 Pro

    You are not the only one that faced this problem, and I tried looking for the cause for this problem few weeks ago, but didn't find much of an information about it (since it was before December 26th). Your link at least explains the cause. Now that I know what causing it, then I can try few solutions, and see if any of them works. I hope that Microsoft will release a fix for the .Net framework that will solve this issue. Remote Operator uses .Net framework 3.5. I have confirmed that I can also reproduce it here with Windows 10 1809. Installing .Net framework 4.8 did not solve the problem. The link says that it's a bug with .Net framework 4.7.2, but I think it's a bug in all .Net Frameworks up until 4.7.2 (including). In this case, I'm not sure if Microsoft will release a fix for .Net 3.5 I saw that Microsoft release a Windows update named KB4480056, which updates .Net framework 4.7.2 and .Net 3.5, but I tested it, and it doesn't fix this problem (it's just a security issue fix, as I understand). In that case, I'll have to re-compile Remote Operator with .Net 4.0, so it will target .Net framework 4.8 when installed, and still be able to run on Windows XP. I'll hope it will work. I can't say when it will be done and when I'll be able to test it.
  7. Hi, I have a question regarding your need. Currently, the login is stored in a session, and when you choose "Remember Me", then the login is also stored in a cookie. This means that if you log in, then you will be kept logged it as long as you did not close the browser. When you re-open the browser, then if the cookie contains the log in details, then you will still be logged it. (The Remember me cookie currently has a 7 days expire interval). Your feature request can be understood in different ways: 1) Define the cookie expire interval (Instead of being 7 days), so if someone logged it, the cookie expires after 10 minutes, then even if he closes his browser, and re-opens it after 9 minutes and 59 seconds, then he will still be logged it, and he can refresh the page, and navigate to other pages, and he will still be logged it, until he will close and re-open his browser again since now the expire time has passed. 2) The session itself will expire after, f.e. 10 minutes, but since the user does not refreshes the page or go to other pages, then he will still see the content, but if he then refreshes the page, or navigate to a different page, then he will see the log in page again 3) When the user logs in, a counter starts counting, when the 10 minutes passes, even if the page was not refreshes, the page will redirect to the log in page. Thanks.
  8. Saragani

    Clear Struct with Reset Numeric

    This is what I meant, "Rebuild-All". It forces recompilation of everything.
  9. Saragani

    Clear Struct with Reset Numeric

    I tested it with a struct, and it works. Can you try to "Build-All" and then download the project to the PLC? (It should say that the project is identical, if you have not changed any thing). If the project was downloaded (meaning, no identical project message), then check if the Reset Numeric now works correctly.
  10. Saragani

    Change CAN Bus Board inside Ladder / HMI Tag

    Right now you can change the baud rate from the UniApps. It is planned to allow changing baud rate and other properties from the program itself. I can't give information about when it will be released, and which properties will be changeable since the development of this feature has not been scheduled yet.
  11. Saragani

    "PDF viewer" widget

    Yes, You are not allowed to store more than 4MB in the internal storage, but if you use external storage (like external SD), and uncheck the "Internal Storage" checkbox (appears after you have selected a file) you are limited by the SD Card.
  12. Saragani

    Reboot PLC

    OK, I just wanted to confirm that it's not just wrong data sent to UniLogic during online, but an actual output that being set. Thanks.
  13. Saragani

    Reboot PLC

    Just one question. Where do you see the change in the output values? 1) In UniLogic online Debug 2) In HMI (An HMI element linked to an output) 3) In Ladder (Device, lamp, etc, connected to the output, so you literally saw the output being reset, set and reset again). Thanks
  14. Saragani

    Reboot PLC

    I'll open a bug on this issue, and we will try to reproduce it.
  15. Currently not supported. I'm submitting a feature request.
  16. @FredrikH, Please download and install the attached version. It uses a different 3rd party DLL that creates excel files, and it reduces the total used ram to a safe level, so you should be able to convert your files using SD Card Manager. Please update me if it helped. Thanks. Unitronics SD Card Suite 2.0.66.zip
  17. No, it is being used by Remote Operator only, and it fixes just the trend issue.
  18. Hi, we are familiar with this issue. The created excel file requires a lot of ram for this amount or rows (near 1,000,000 rows). The SD Card Suite is compiled as 32 Bit, so it is limited to 2 GB of ram for the process (but actually, due to fragmentation, the error will happen around 1.2 GB). Compiling the SD Card Suite as 64 bit is not possible since the Chart control is compiled as 32 bit (probably because it uses OpenGL). We are checking few solutions, but I can't promise anything, and it will take time to check them and implement them.
  19. Saragani

    Trend object only part visible

    @stembera, the problem was also reported here: If the issue still reproduces on your computer, can you please check it with the DLL on that thread, and update me? Thanks
  20. @Arnor, I think I've found the problem. Take the dll below and overwrite the one that exists in your installation folder. Make sure to create a backup of the original dll first. Please update me if it helps. Thanks. Unitronics.RemoteOperator.dll
  21. @Arnor, did you pass the project to our support?
  22. OK @Arnor, please give me the program, and I'll try to reproduce it. It's weird that the problem does not reproduce in VisiLogic, since both are based on the same code. I wrote most of the code of enhanced PLCs Remote Access in VisiLogic, and most of the code of Remote Operator, so I'm familiar with it, and can't understand how something like this can happen. You can send the project to support@unitronics.com, and ask them to forward it to me. Also instruct me to which screen to enter, or what to do in order to reproduce the problem. Thanks.
  23. Unless I have a specific scenario how to reproduce the problem, then I can't fix it in Remote Operator.