Jump to content

Search the Community

Showing results for tags 'data tables'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Our Community
    • Come on in!
  • News and Announcements
    • New! UniLogic V1.24 introduces VFDS from Unitronics!!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT--Looking forward
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy

Blogs

  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's

Categories

  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications

Categories

  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Interests

Found 38 results

  1. Hi, My application Ladder code writing to an "Indexed Data Table" (DTI). I'm getting in the writing "Store DTI to File" Ladder function the status (-6) which means "Write file error". I think that issue is coming from the speed of "Store DTI to File" calls. I use a timer to put a delay between every row, maybe i don't know how to use them, but it doesn't work for me when i put a timer and try it online, it doesn't work.
  2. Hey guys, I need to store files through the "Store DTI to File" Ladder function, but the more complicated is we need to generate them everyday ( everyday we have a new file ) named with the Date and Time it were created, and same for files that contains information for a month. To make it brief, at the end of the month, the SD should contain about 30 files for the daily information, and 1 file for the month. Do we really need to use the "Schedule" Ladder function?
  3. Any help on using the block for reading the data from data table into SQL rows would be appreciated. I could not find enough document on using this ladder element in the help section. I can read successfully execute the query and read the data from the database to the data table.
  4. DerekGodown

    Data Tables on a Time-Loop

    Hello all, I'm working on Unilogic with a US5-B5-RA28 on version 1.23.25 My overall task is to monitor water usage from a pump house to an entire industrial complex. Part of this involves taking readings by time increments. The user would like two different displays, one every 6 minutes with 10 readings per hour. As well as one every hour, with 24 readings per day. I have two questions about different aspects of data tables, an answer to any part of this post would help tremendously. First, how would one construct a looped timer to trigger a push and/or pop function every x minutes depending on my reading? I will attach my logic below with my attempt. Lastly, is there a way to add the values that are in my data table? For example, the user would like the sum of all 24 hourly readings displayed, and on the new hour, pop a value and push the next value, affecting the sum however it may with the new value. That way, no matter what hour he looks at it, he has his last 24 hours of water use in front of him, same idea for the hourly sum, adjusted every 6 minutes. I am still very novice so please excuse my poor labeling or obvious oversights if there are any. I watched the webinar and read through the help files a few times, but could not find specific enough examples to finish my attempt.
  5. Hi, I change a battery without saving table date. How can I restore the table date?
  6. Hello, Is there a way to add in one file a screenshot from the Data Sampling with the data from table? I know there is a function of Data Sampling creating a CSV file, but I need the information of the CSV file to be together with the graph/s, ready for printing. How can I implement that? Do I need to make it into text file, or should I use the "C function" option, or is there something else? I would be grateful if someone answers, even if it is a negative answer.
  7. Dear All, Is there a simple way to find if a specific value is present more than 1 time in a DT column? thanks
  8. Hi guys, Is it possible to update values of a data table using an USB memory stick with Unistream PLCs?
  9. Salem

    List of Text Variable

    Hello, I'm programming a table and I would like to have like a drop down menu containing food which, when the type is selected like " bananas" it is wrote in the table. It's like a predefined menu containing predefined types . I'm using UniLogic so is it possible ? ( an other question : is it possible to store a table with a name and then "increment" its name when storing the following table ( Data_Table_01 then Data_Table_02 ... ) Thanks
  10. Hello, I'm trying to make a selection page for a project. The page allows you to select a reference in a Data Table with 500 entries. To save time I would like to enter only the first 2 or 3 characters of the reference in a text box. So the line of the Data Table jumps directly to the first corresponding entry. Basically what I want is a search tool like a "CTRL+F" tool for a Data Table. I tried to use "Find DTI Column Value" Ladder function, but it needs the exact entry of the Data Table. If someone have an idea how I can apply this function by ignore the end of the reference or something like that it's solve my problem. Thanks to read and have a Nice Day , Arthur B.
  11. Dear all, I am using different data tables in a project, including saving and loading TDI from SD card. Some of the tables are "system" oriented like settings, and some tables are "user" oriented like programs and recipes. User should select a file by using HMI element: File selector browser . For now ALL DTI files are kept in the DT folder and selection is problematic. I need to separate each kind in a different subfolder, so the selection will be user friendly. The "Store DTI to a file" and "Store DTI to a file" ladder blocks is not giving the option for different sub directories , that would helped if exist. File selector browser is not supporting sub folders as well. Can I use differents folder path as part of the file name string? or any other way to manage subfolders? In addition, "Copy/Move file" and ladder elements, don't have the option to copy or move within SD card folders, but only to/from DOK. It would have helpful if possible to arrange the files by type of functions by ladder. any ideas? Any help?
  12. Hello, I'm try to write more than one dt to sd card. I cannot doit. Any ideas ??? I attach the ledder. I'm writing a one raw each 15 minutes than i want to append it to sd card It works but only for the first DT Best wishes, eng. Nikola Gramatikov
  13. I recently came a cross with a UniLogic application that use large structs. For example, one struct was composed of 80 members, and most of the members type was INT16, like so: In memory the struct look like this: struct MyStruct //struct size is 80 * 4 = 320 bytes { INT32 ID; //size 4 INT16 Val_1; //size 2 CHAR[2] padding1; //size 2 INT16 Val_2; //size 2 CHAR[2] padding2; //size 2 //…. INT16 Val_79; //size 2 CHAR[2] padding79; //size 2 } notice the padding that added to the struct. That's common in software in order to align the memory so work will perform more effectively. This padding cause every 2 bytes in an INT16 type an extra "weight" of 2 bytes – so every INT16 is 4 bytes. One can think that the struct size is 4 + 2 * 79 = 162 bytes, when in fact it 320 bytes, almost two times bigger (!). Now, let's try the next approach: In memory: struct MyStruct_NEW //struct size is 4 + 2 * 79 = 162 bytes { INT32 ID; //size 4 INT16[79] Val_Arr; //size 158 } And we got a struct size 162 bytes, as intended. Just imagine we use struct "MyStruct" in a 3,000 line Data Table, we will waste almost 0.5M bytes (3,000 * 158), while "MyStruct_NEW" waste nothing. For conclusion, when creating structs in UniLogic consider the padding factor in order to reduce your PLC memory consumption.
  14. Marco Brombacher

    Link combo box to data table

    Is it possible to fill the list of an HMI Combo Box with the string data which is stored in column of a data table? Thanks, Marco
  15. Why does the "Store to DTI File" function create multiple files when I set "F" Parameter to #1 (Create CSV file). I expected just a CSV file, but it created a "*.UDTF", "*.CSV", and a "*.CSV.ZIP" on the SD card too? I would prefer the program only to save the DT to "*.CSV file". DTI Infolog Sub.pdf
  16. Question to the VisiLogic dev team: Is it possible to add option "Check all" and "Uncheck all" for import Data Tables from .upd file in the future version of VisiLogic?
  17. UNICO2

    Tag Name to String

    Hi All - I made a complex function that has used all 10 inputs, so I can't just add another input for this, I just need the name of the tag in the function (call it CBA bit or whatever it is called) that triggers a bad condition, and I need to post that tag name to a string (in a data table struct). I am just looking for the easiest way to get that info into the data table from inside the function without a string input so that I don't have to do it 240 times elsewhere, and I figure getting the tag name( which I know already) into a string would work best, if I can do it. I am using a bunch of UID-0016R's and they have addresses with Alias Names which seem to be strings too but this is in the function output. Any ideas how or any other options? Also, is it possible to see inside a function while in Online mode for troubleshooting - all I seem to be able to see is the inputs and outputs? Thanks!
  18. Is there any way to change the status of bits in an indexed data table without using the data table editor in uniapps, online mode or the widget. I was hoping I could use the write to column function with 1 or 0 but it doesn't work.
  19. Hello , is there is a restriction on the number of files in the directory "/data tables" on SD card?
  20. I think it would be really valuable to make the user controls(maybe only the combo box) more dynamic, by being able to link them to a column in an indexed data table. The control would return the index number of the selected DT row which could be used to retrieve info from that DT row. I really like the "Custom Control" but they can only be used for static option lists. Thanks for considering! Allen
  21. kwsullivan

    Load DTI From File issue

    My application is for a UniStream USP-104-B10. The application is for an OEM and it's written for a fully loaded machine. I'm using a DTI to set and store each machine's configuration. Upon initial startup, a high level user will set the configuration bits. Pressing a Save button writes them to the only record in my DTI, pauses 2 seconds, and stores the record in a file on the SD card with the "Store DTI To File" command. This seems to work reliably. The problem I have is when I read the file with the "Load DTI From File" command on startup. Roughly 50% of the time I cycle the power, the command returns a status code of -5 (Read File Error). I've tried numerous methods. Currently, I immediately start a 5 second timer in the main ladder routine. Upon timeout, the "Load DTI From File" command is enabled. I set a coil downstream of the Load command and use that to prevent re-execution of the Load command (see attachment). Is there some sort of timing issue that I'm missing? Why does this work sometimes but not always? Any suggestions? Thanks, Ken
  22. Unilogic_Newbie

    Copy/Move File from SD card DOK

    Hi, I'm trying to move data table from SD card to USB memory stick. What is the default DOK file path?
  23. Joesteva

    Data table csv file name

    Greettings, is there a way to export the csv file including the date in the file name? Currently I have the name "Refinacion" as the exported file name, I think it is overwritting this file every time it exports.
  24. Hello, I'm trying to read values from a data table within a C function. I cannot find any examples. Could you show some examples?
  25. ORSO2001

    Remove DOK safely

    Dear All, I am using the USB key to transfer some DTI...all works fine but sometimes, after I removed the DOK, a windows appears and highlighted me that I done this action in a not security way...and tell me to use the " safely remove DOK" !?...in the UniApp I have it but how I have to do to insert this "button" in the ladder...where I find the function? into the "external storage" I found only the BITs about the SD and DOK presences. thanks
×