Jump to content

"Store DTI to File" Ladder function

Recommended Posts

Why is it, when I execute this instruction with parameter D set to 0, that I get an error code -31, Number of lines in file is 0., and no file is created?

According to the help file, setting this to 0, should write entire data table.

I'm using ver. 1.21.51

Link to post
Share on other sites

I'm checking this issue for you.

I think it is a "bug" in the help, but I'm also checking if maybe it's just not working correctly in the PLC, or this feature was not implemented.

You can however use the number of rows from the table itself, for example: Table1.Number of rows


  • Like 1
Link to post
Share on other sites
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...