Jump to content

Recommended Posts

Posted

Hello I am working with recipe control and data tables at the moment using SD card. I need example to import/export data tables, because one that I found write only 1 cell in excel, and that cell becoming full of "0CSV" words. So basicly I want to do , pushing button on HMI and all data table from PLC would be exported to SD card or existing Data table from SD card would be imported to PLC data table memory with same name.

 

I attached file with my try to do this... 1st it wrote a lot of "0CSV" in one cell, now it doesn't work, just shows MI6-> status integer message of 128 then i try to export..

post-28986-0-67948900-1430038190_thumb.jpg

post-28986-0-37121400-1430038309_thumb.jpg

post-28986-0-02875100-1430038310_thumb.jpg

  • 2 weeks later...
  • MVP 2023
Posted

Is this your entire program?  You don't have anything to monitor the SD card's status in the logic.

 

Also, you probably want to allocate more than 6 characters for a DW on the last line.  The delimiter for the last line should be 0D (carriage return), not 2C (comma).  You're just writing one huge line, not a line for each entry.

 

Joe T. 

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.