File I/O Function Blocks
Week 2 of the Function Block Friday posts is upon us and this week we are featuring ordinary file read and write blocks. Every programmer will be familiar with how files are accessed programmatically and Lucid does nothing unusual in this respect other than condense many lines of code into a single simple function block. Let’s start with reading data from a file with the simple “File Read Block”. This function block allows you to read data from any file…