Jump to content

Annatooli

Members
  • Content Count

    31
  • Joined

  • Last visited

Community Reputation

4 Neutral

About Annatooli

  • Rank
    Advanced Member
  • Birthday 01/25/1980

Profile Information

  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I think what @Swervomotor means is if you look "Solution Explorer" - "SD Management". Default file limit there is 32. It is not SD card limitation it is Unilogic, who offers you delete older files so your SD card wont become full. You are correct it wont work like that. I did managed to make my own tests and I got errors "-6: Write file error". I do understand why those sub folders may be useful. I have 3 tables what I store regularly on my SD card and with month I have there 200-300 CSV files plus sig files for each of them. Total size of files is just 3 MB so my 2GB card can sav
  2. Hi, Actually there is no dedicated "make directory" functions in Unistream, there aren't even way to move file from one SD folder to other SD folder with ladder. Since Unistream works on Linux, you MAYBE can create folders, if you construct file name and add "/" as folder separators. You may try "Store DTI to File" with filenames like "2020/07/31/archive" you may also try "./2020/07/31/archive" as file name. But it may not work. From my own experience you can not include characters like "space" in file name. Anatoly
  3. Both "Store in Array" and "Load from Array" do work in my case with bit array. Does it give some sort of errors ?
  4. I also agree with Flex, for versioning it is bad if file changes without knowing. I tried to set file "read only" from file system so it wont change without me knowing it, but it prevents even file opening. Anatoly
  5. One possible problem is in first net where you SET and RESET MB 501. It would be fine this way, if you wont use this bit also in net. What happens behind the scenes is - Visilogic stores old value into temporary value and uses it instead of freshly setted bit itself. Try splitting this net in two.
  6. On screen I have long data table where is written states like open, closed, waiting etc. But most of my messages are in Russian, so only way for this is UTF-16. In one instance I need to show timer value there and this is where conversion is needed. Anatoly
  7. It was actually easier than I imagined: static void String_AToU(volatile char* FI, int FILen, volatile short* FO, int FOLen) { // User code starts below this comment for (int i=0 ; i < FILen ; i++ ){ FO[i] = (short) FI[i]; } FOLen = FILen; // User code ends above this comment }
  8. Is there way to convert STRING-ASCII to STRING-UTF16. I have data table with UTF-16 column for messages, but in one case I want to add number there, but number is in ASCII. Maybe someone knows some existing method for this kind of conversion ? I can probably create this function, but is UniLogic internally "Little endian" or "Big endian" ? Anatoly
  9. I did wonder it, until I loaded the program into PLC and discovered that even when Unilogic shows interface in English. In real PLC it is translated. At least it was case with Russian. Anatoly
  10. You can look how much memory your projects consumes. If you look "Output" tab after compilation. Look there "Allocation Info", it should give you some idea how much memory is left.
  11. There is second lock on the screen level, if you look under screen properties there is check box "Lock Screen". If it is set there is no lock watermark like it is, if element is locked. You simply can't drag elements around.
  12. I wanted to provide support personal way to access alarm history. So when user calls at 2 AM and says "machine stopped working" they can see what has happened and give advice for user, what to do. Sadly in current state you cant provide any indication of alarms on Web page. I know they can see errors on HMI screen. But If I provide support personal VNC access they are able to start engines over cell phones (in their bed) and I think it may be dangerous. Providing read-only VNC access is also problematic, because PLC is behind locked door (windowed) and for interactions they have to drive on t
  13. It is old post but .rar files are actually from DOS and BBS era and they are still popular in file sharing and archiving. Microsoft wont include support because rar format is closed source when zip format is very much open source. So they wont have to pay some 3rd party. Rar file format compared with zip format has been very stable over the years. In late 90s and beginning of 2000s there were some "Special" versions from zip what may still be incompatible. But you can read all rar files even when they are from 90s. Common format from Linux (unix) is .tar and its compressed extensi
  14. It seems to be regular, but I dont panic, anymore. But I wanted to tell I am using Unilogic 1.29.111
  15. Check Alive, of course. How I didn't think of it Thanks for examples, But I notice one odd thing on the EX-RCs you compare MI2040==1. Isn't it you wait for sending until network is busy ? Anatoly
×
×
  • Create New...