Jump to content

Recommended Posts

Hello all

I manage a recipe as a 30 MI vector (temporary buffered on PLCs main memory), and need to back it up on SD card. I must be able to:

1. Write what is stored in the PLC buffer to SD using an index.

2. Restore an indexed 30 MIs block from SD card to the buffer in PLC main memory.

Some time ago, I worked the same way but with Data Tables. The problem is I need a lot of memory to store a lot of recipes, so want to use SD.

Perhaps if I can use some function like "DataTables Write Row" or "...Read Row", but directly on the SD. I don´t know how to do this the best way, if possible.

I´m working with V130.

Thank you.

Link to comment
Share on other sites

Hi bender,

I recommend you to start from Data Tables Webinar:

http://www.unitronics.com/Content.aspx?page=datatables

Please note, you can exchange data between SD card and Data Table at OPLC:

-Use Data Table functions;

-Use SD Data Table functions;

-Note that the main DT folder and subfolders DT1, DT2, DT3, DT4 can each contain 64 files, for a total of 320 .udt files.

This way you can handle up to 320 files on SD card.

You can then read information from SD files to OPLC memory.

You can use also SD function Block Read/Write , but it seems a little more complicated.

Answer may be more specific if you provide more information about your project requirements.

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

×
×
  • Create New...