sandip B patel Posted July 25, 2019 Report Share Posted July 25, 2019 Dear Sir, I'm using UniStream PLC and I have log Data to data table and make data table Retain. i have problem it that Data table row is limited for retain Data because data table save in RAM. How make data table directly into SD Card? And any way to show Data which in SD card directly HMI Data Table? Quote Link to comment Share on other sites More sharing options...
ORSO2001 Posted July 25, 2019 Report Share Posted July 25, 2019 dear, how often you have to record data? usualy I do in this way...at the startup of the PLC i check if a specific file exist...if not I create it; if exist I count how many rows are already stored and save this value in a variable; to do this last I create and use a DT with a single row to store (append) and read from file. Every time that I will append a new row on the file I will increase the relative counter to have the max readable rows. I create a screen with the field of the DT that I let be read and I navigate in the file starting from row 0 to the value of the variable. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.