Sign in to follow this  
Followers 0
mrfactorytalknovice

Codesys (FESTO PLC) : How do I read lines from a file

1 post in this topic

Hello I am using codesys v3.5. I am using the CAA File library to read/write lines of text from a file stored on my Festo PLC. I have found out how to read 1 line of text from my text file. But how do I read the next set of lines within the text file separately until the end of file is reached? Example: Read line 1 Read line 2 Read line 3 Read line 4 End of File I know I would normally put the code in a "Repeat" loop until end of file ...but what should the code look like to read all lines until all lines have been read or End of File? thanks Jay

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