Jump to content

Data Table from SD Card


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.