Jump to content

Saragani

Members
  • Posts

    1,196
  • Joined

  • Last visited

  • Days Won

    116

Everything posted by Saragani

  1. Hi, sorry for the long delay, I was off work for the last week. Please test and tell me if it's OK. 10x .Net Communication Driver + DataTables DLL Any CPU.rar
  2. Are you working with the DLL Compiled as release?
  3. The network ID should be 0 (You also have it in Visilogic: Unit ID). I'm guessing that an error is causing the android remote operator to assume that there is a connection error. Does the android version able to connect to that PLC without a cellular modem? Have you tried increasing the timeout?
  4. Hi, It is not related to UniLogic. I assume that you have a 64 Bit version of Windows 7, which in that case, the ActBar3.ocx should be found at: C:\Windows\SysWOW64\ Please search for that file. It should be dated from November 1st 2007, and if you check the properties of that file, you should see under the Details tab that the file version is 3.2.0.174 If you have a different version of that file then please tell me. Furthermore, Microsoft has some suggestions about this problem: https://support.microsoft.com/en-us/kb/942870
  5. Ok, this is what I have suspected. I've fixed that project last week. I've specifically told the support that an SQL Delete has been performed on his SQL Instance, and afterwards the UniLogic instance was created without specifying 11.0 as the version. As a result, the UniLogic instance was created on the SQL 2014 server, and therefore any project saved on that computer results a Database upgraded to SQL 2014. It doesn't matter that he has SQL 2014 on his computer. UniLogic can still work fine with it, as long as the instance was created on SQL 2012. For example: SqlLocalDB create UniLogic --> Wrong - Will create the instance on the last installed version of SQL version. SqlLocalDB create UniLogic 11.0 --> Good - will create the instance on the SQL 2012 version (assuming it is installed, else it will show an error that this version is not installed). Your college should be instructed to delete his instance and create a new one. The steps are as follows (Note, any crashed project that is waiting for recovery will be lost in this process): * Close UniLogic * Close the Unitronics.Notifier * Start the Command Prompt as Administrator * In the Command Prompt write: sqllocaldb stop unilogic sqllocaldb delete unilogic sqllocaldc create unilogic 11.0 * In your Windows Explorer, go to: %ProgramData%\Unitronics\UniLogic\Temp\ * You should find a folder named with the username. Delete all the files in it, if any (There would be *.ldf and *.mdf files) From now on, the projects will be saved and opened on the SQL 2012 server instance. As a big note: Any project that your college worked on would not open on his computer any more (Microsoft does not forward-compatible with DB versions). The workaround on this issue is using the "Save As XP" for all the relevant projects, prior the deletion of the 2014 instance. By "saving as XP", the DB is being converted to a Script (it takes much longer time to save, and open Scripts), so it can be imported back to a 2012 version (and even to 2008 version).
  6. The notifier message is irrelevant. Can you please confirm that the file that he sent you opens on his computer (and it is not just corrupted?) Can you sent to the to our support? 10x
  7. Scroll down and you should see it. When clicked, it will expand and show the details.
  8. Please download UniLogic 1.17.73 and then upgrade your PLC with the version that come with this UniLogic version. It should fix that problem (Fixed in UniStream firmware 1.17.10, and the firmware version in UniLogic 1.17.73 is 1.17.11). Please also update me if it helps with the FTP problem as well. Thanks.
  9. Are the non-refreshed variables on the web server are retained variables? I'm not aware of any problems with the web server.
  10. Not AppData, but ProgramData Contact our support by either email or phone call and they will arrange a remote session with a schedule that suitable for all of us. 10x
  11. #H0A (or #HA) should work (capitalization doesn't matter). For Binary format: #b1010 Entering an IP address in a Int32 field: #192.168.1.2 (so If I was entering the value #0.0.0.10, then this would be converted to an Int32 const with the value 10 (meaning 0x0000000A)
  12. And for that you can use the Data Tables DLLs, and also the SD Files dll as well. As far as I remember, it does not convert the data into a .Net data table. but you can do it yourself (by getting the columns from the UDT table, and then iterating the rows). The structure if the udt file is complex. The data itself starts from the second chunk. Each chunk is 512 bytes, there 4 bytes (I think the last 4 bytes per chunk) are some kind of checksum, but you might also get some other header chunks in the file (since the file is appended), and you also need to now the size and structure of a single row (Which make it hard to accomplish without using the given dlls)
  13. We would like to have a remote session to your computer in order to investigate the issue, In the meanwhile, you can go to: %programdata%\Unitronics\UniLogic\Temp\ErrorData\ There should be either zip file or several files (text files and maybe an image). If there isn't any file in that folder (the date and time of the files should be from the last time UniLogic crashed), then there is nothing you can post right not in order to help me understand what's wrong. If there are files, then look for information.txt Post its content here.
  14. If you want to read directly from the PLC tables, then don't use the SD class (Since the tables are not stored in the SD, but rather in RAM). There is a DLL called Unitronics.DataTables.dll which can be used (it requires a reference to the .Net communication driver) to read/wsrite data directly from the table.
  15. What do you mean by Menu? Do you mean the elements in the Ladder toolbox? If so, then you should enable it within the program options:
  16. Hi, in the Data Sampler struct, there is a member called: Filename. As written in the description of this member: The user can set a filename. If left empty, the PLC will select the name. This gives you the ability to select the name that you want. However, you will need to give a different name each time the sampler is starting to re-sample (for example, it saved data to file, and continues sampling). For example, add indexing to the file name. And when you decide to delete, then you know that you need to delete, for example, indexes 1 to 17, There isn't, as far as I know, anything in the system that deletes files automatically. I'll add a feature request of searching files by names, or by dates
  17. Can you try your old SD Card again? (Maybe it will work again) Q: Can used/free memory be checked from the system A: In the System tags, there is "External Storage" which contains: Is SD Present SD Used Space (%) SD Used Space (KBytes) SD Capacity Etc... As you've said, you have 14GBs free space. So you have used 2GB for logs (Maybe less... I don't know if you have external media, like audio and video, or maybe other files on your sd card that consumed space, and as much as I remember 16GB doesn't really means that you have 16GB free on a clean SD, but less). You will have to delete the files eventually. UniLogic and UniStream will never delete a file without you requesting for it. There are Ladder Elements for handling files. search for Delete File in the ladder toolbox. You will have to know the specific file name for deletion. You can also delete it with the File Browser HMI Element (So this is done manually, by the user, other than an automatic code that is executed by ladder).
  18. No. Currently, we only allow web pages to be made from the built in Web designer.
  19. Did you actually see that the SD Card ran out of memory? (Maybe you still had lots of GB free). If you did see that there was no free space left, then this can explain the behavior.
  20. I see that you have a Bit named "Bit Alarm Read..." (The 3 dots are text that I don't see, so I don't know the actual name). Do you have more than 1 bit with a similar name? I'm asking, since on the first rung, I see at the end that you Set and then reset a tag with the same name (See image1, red rectangle sets a tag, and after it there is a reset) If it's the same tag, then what are you trying to gain? About Rise/Fall: The values are compared to the values on the previous scan. Btw, why aren't you using the build in alarms?
  21. You can email our support and also ask for this feature to be implemented in Remote Operator
  22. Hi, the old one was showing only the the folders (Like a tree), and as much as I remember, Windows also showing this dialog (at least from Windows vista or 7 and onwards) for selecting a folder. The button at the bottom of the window has it written "Select Folder", and in my opinion, this dialog is nices, since it also gives you the option to enter a path at the typing area, by either typing it, or by pasting from clipboard. Plus, it also supports "Favorites" and "Libraries" from Windows (No more browsing from C:\ root to "Desktop" or "My Documents")
  23. There isn't such a feature in remote operator. My best idea of doing it with ladder would be: On each scan check the status of the socket that is used for connecting to the PLC. Also have another operand that saves the status on the previous scan. If old status was not "Connected" and new status is "Connected", then save the current time (UTC) in another operand. If old status and new status are both "Connected" and current time - saved connection time is equals or greater than, for example 30 minutes, then close the connection. On the end of each cycle, set old status = new status When closing the connection, you should close it for enough time for remote operator to fail (It has retries and timeout)
  24. Please check this version and tell me how it works for you. 10x Unitronics SD Card Suite 2.0.60.rar
×
×
  • Create New...