Author Topic: Read_AppLog and Write_USB Function Blocks  (Read 3506 times)

Offline LBee11

  • PLUS+1 Developer
  • ***
  • Posts: 26
  • Karma: +0/-0
Read_AppLog and Write_USB Function Blocks
« 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




Offline LBee11

  • PLUS+1 Developer
  • ***
  • Posts: 26
  • Karma: +0/-0
Re: Read_AppLog and Write_USB Function Blocks
« Reply #1 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!