Jump to content

Saragani

Members
  • Posts

    1,196
  • Joined

  • Last visited

  • Days Won

    116

Everything posted by Saragani

  1. Not if you want the action to perform only once per button press. Resetting the bit on release would keep the bit set for many cycles.
  2. Just another question. Is the communication problem a problem with the Modem, or with the PLC? If you say that you have communication problems after few weeks / months and the problem is in the PLC, then maybe this issue can be sorted if we find out why it happens.
  3. Follow the instructions at: msizap should solve the problem that "no version is installed"
  4. OK, I don't know what's half width characters, nor do I understand anything about katakana, but would you mind sharing both characters in a project? (Just a small project with 2 screens, a one that has half width characters and another one with double with characters). Thanks
  5. You can have 5 structs with the same structure that is used in the Data table, and load 5 rows into them. Once the up or down arrows are clicked, change the start index of the first row, and either re-read the entire 5 rows (The memory will need to be read and written 5 times anyway, even if you copy from 1 struct to another). You could create a custom control that represents the row, and place it 5 times (and control the visibility if needed if a struct is empty), and / or don't let the user scroll after the last / first row If you need dynamic images (and not just image by index), then the DT can store a string that will be used as a path for the image (if you use an image with indirect source). Those images will have to be stored on the external SD (and you will have to place them there).
  6. As I wrote on my previous post, you are using the Load and Store elements in correctly. What your Store is actually doing is: Array Talk[Array Talk[Array Talk_0]] = TalkKgIzmereno , and the load is actually doing: proba = Array Talk[Array Talk[Array Talk_0]] . When Array Talk_0 is 0, then Array Talk[Array Talk[Array Talk_0]] becomes Array Talk[0] , but after you store the value 12, then Array Talk_0 has the value 12, then the load tries to do: proba = Array Talk[12] The Load and Store in array utilities are meant for reading or writing to a different cell index on each time (For example, iterating an array). In your case, I understand that you always want to access index 0. If that's the case, then you don't need to even use Load from array and Store in array. Just use a regular store Store element, where A contains TalkKgIzmereno and B contains Array Talk [Array Talk_0] and for Loading the value, A contains Array Talk [Array Talk_0], and B contains proba In pseudo code, the regular store element does: B = A (Put the value of A inside B ) In pseudo code, the Store in Array does: A[ B ] = C (Put the value of C inside array A, at index B ) In pseudo code, the Load from Array does: C = A [ B ] (put the value inside array A at index B inside C)
  7. Can you share a small project that demonstrates the problem?
  8. There isn't one, but when I had to randomize a number, I used the Milliseconds Counter combined with other system tags that change (like scan time, Tick High / Low. etc), and them modulo 100 and add one (in order to get a number between 1 and 100).
  9. I'm not sure what you are trying to do, but store in array inputs are: A - Array B - The index inside the array that the value will be stored to C - the value to store. I'm not sure why you are putting Array Talk[Array Talk_0] in B. Assuming that it's initial value of Array Talk_0 is 0, then the value of TalkKgIzmereno will be stored into index 0 of the array (into member Array Talk_0), so it will not have the value 12. Now, if you'll call the store in array again, it will not try to put the value into index 12 (Array Talk_12), and I'm not sure that your array has 13 or more items. The same thing is with Load from Array A- Array B - The index inside the array that the value will be read from C - is the variable that the value will be written to. You are trying to read the value of Array Talk[Array Talk_12] into proba. I'm pretty sure that this is not what you are trying to do in both the Store and Load functions.
  10. I've confirmed with the Panel R&D team leader that it compares with CRC (and not by date).
  11. It is currently not supported for predefined tags. I really don't suggest using the pre-defined template. Using actual tags and structs gives you much more power, but if you do need to import from Excel, then you can send the project and the excel file to the support, and one of the R&D guys will import the excel file into the project.
  12. No. It's more like a legal issue to add fonts (with licenses) into another device.
  13. I think it reads the file from the ftp, calculates a checksum on both files and if its different then it overwrites the original if you selected to.
  14. You can use a Message Composer. Fixed Text with "/Media/Docs/" Raw Data linked to a filename (ASCII string without the extension) Fixed text with ".pdf" Then use the Ladder element Build Message to output a buffer, and then use Buffer to Tag (ASCII String)
  15. Yes, indeed the help file does not cover this new feature. The dynamic combo box can only be linked to a csv file, but if you create a csv file from your DTI Column (requires iterating the table, and using append buffer to file), then you can load it to the combo box. Put a const (not a const tag), for example: #"data.csv"
  16. Most likely that you have you have exceeded the retained memory total size (256KB). Most of the times it happens due to large Data Tables.
  17. Which tool, the dynamic combo box? If so, then it is already in 1.26.90, which was released yesterday. The version changes do not talk about it, but if you take a combo box, then you can change the location to "Indirect" and then the path property appears in the property grid. It is a path to a file where the options are separated by line-break, f.e: option1 option2 option3
  18. Saragani

    Ted

    Can you screen capture the screen so I would understand what is a messed up graphics?
  19. Well, UniLogic 1.26 will support Combo Box items that comes from a csv file, so it is not that "static" anymore. The combo box still returns the selected index, so you would have to have some kind of a lookup table to get the text from the index. The csv file is read when the screen loads, so you have to make sure that the csv contains all the texts that you want before the screen loads.
  20. Saragani

    Ted

    About the messed up graphics: Have you read the fonts and images cache for the project in the PLC?
  21. The 4MB limit is a total limit for saving media files inside the internal SD (and not per 1 PDF page), but the limit is only for internal SD. If you put an external SD in your PLC, then you are not limited by 4MB and you can put large PDF files. By default, Video, Audio and PDF files are stored in the external SD, unless you specifically check the option to use the internal SD.
  22. Well, actually, Data Sampler has a struct. Trends are just a view of the sampled data, and there can be different views to the same sampler (both in HMI and Web). I'll raise that issue again. One option might be functions in the trend itself that could be called from an action of an external button, but that's a feature that does not exist yet, so I must discuss it first with the Panel team and see if it's even possible.
  23. The only change that was made to the Trend UI in 1.26 is selecting if the date would appear in all the intervals in the X-Axis (until now, it appeared only on the left side, but you sample data near midnight, then there would be several dates on the same axis). I'll raise the Trend visualization adjustment request again, jut one question. If you want to hide buttons, then how would you change the selected curve, pause or run the trend, take a screenshot etc?
  24. I think that a zoom option is available in the multi-touch panels. The option to change the curves visibility exists (I don't remember if it was added in UniLogic 1.25, or it is one of the features of the upcoming 1.26). The slider feature was not yet implemented.
×
×
  • Create New...