Moorthy Posted May 4, 2016 Report Posted May 4, 2016 Dear Gentlemen I'm working with V130, logging 4 parameters; date, time, an MI(reading as flow from a flow meter) and a Boolean value. on line view of the date table is all good, all 4 columns are logged, and row wise. my problem is writing to the sd card, to the csv format. All i'm getting when I read the sd card out of the plc isthe first 2 digit of the date 05(today) logged repeatedly without space in a single row. Sample attached. No column headers. Any help is much appreciated. ThanksMoorthy.unitronics 2.docx
Saragani Posted May 5, 2016 Report Posted May 5, 2016 Can you supply a sample project that reproduces the problem?
Moorthy Posted May 5, 2016 Author Report Posted May 5, 2016 Hi please find attached. Awaiting your reply. thanks, Moorthy. sd card log.vlp
Ofir Posted May 8, 2016 Report Posted May 8, 2016 Hi, I looked at the project and the problem is that in Ladder SD Create Delimited Line the start of vector (for stroring the line data - Date , Time, Float and Binary Text) is MI24 and you need to keep at least 20 MIs (40 characters) free - meaning from MI24 up to MI44. In this case you are using MI25 (final number of bytes)and MI26 as status. This overwrtes the data you are storing. Make sure to change the "outputs" of the SD Create Delimited Line to other MIs.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now