Jump to content
Sign in to follow this  
sandip B patel

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?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...