Sign in to follow this  
Followers 0
mos89

Write Log or CSV file to CF

5 posts in this topic

Dear all I want to write some data to the CF card in text mode, like date + time, D1000, D1001, D1002, etc i found a FB to write data in CSV in CF, but i need do convert data Dxxxx to Text ? any idea about this subject ?

Share this post


Link to post
Share on other sites
check this out... http://forums.mrplc.com/index.php?autocom=downloads&showfile=713 best is to write them to EM or DM first and then write a lot of the data in block. You can use the ASC function to do what you want for the ascii characters. regards Beegee Edited by beegee

Share this post


Link to post
Share on other sites
nobody as a simple sample of writting on CF a CSV file withe date time and fex reals converted on text ?

Share this post


Link to post
Share on other sites
for converting date and time to text just use the ASC. All values are automatically written as text not as binary if you choose to write to text file I the example you received a file gets written every 30000 values are logged. The filename is written as text and contains the date ( logXXXXXX.csv) and all the lines contain values like hour, min sec, and effective logging values. regards

Share this post


Link to post
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
Sign in to follow this  
Followers 0