PLUS+1 User Forum

PLUS+1™ Tools => PLUS+1™ GUIDE => Topic started by: LBee11 on May 16, 2017, 08:54:10 PM

Title: Read_AppLog and Write_USB Function Blocks
Post by: LBee11 on May 16, 2017, 08:54:10 PM
Hi All, me again!


I'm trying to get my head around writing to a USB. I can write to a Log file in the HMI, but am struggling with the Read_Applog function.


Im currently getting the following error from the Read_Applog:
Quote
Line index overflow—the function block cannot find the line that contains the CSV record in
the controller’s application data log.


I'm also getting an error from the Write_USB block:
Quote
Error; record write not completed; the next program loop resets this bit.


I'm not sure where I'm going wrong, attached is the snippet i'm using (Only for testing!). I can't specify an index, so where is the error?


TIA



Title: Re: Read_AppLog and Write_USB Function Blocks
Post by: LBee11 on May 17, 2017, 10:07:32 PM
I got this working, found the help file that supports these two functions and wired it like the example shows. Works correctly after that!