Jump to content

Clear Struct with Reset Numeric


JotaPey

Recommended Posts

I would like to clear all the data in a certain struct.  I thought I was able to do that using the Reset Numeric function.  I entered the name of the struct in the function box tag and then erased the period.  For some reason, however, the data is not being cleared in the struct.  Am I wrong in how I set this up, or am I overlooking something?  

Link to comment
Share on other sites

I tested it with a struct, and it works.

Can you try to "Build-All" and then download the project to the PLC? (It should say that the project is identical, if you have not changed any thing).

If the project was downloaded (meaning, no identical project message), then check if the Reset Numeric now works correctly.

 

 

  • Upvote 1
Link to comment
Share on other sites

6 hours ago, Saragani said:

I tested it with a struct, and it works.

Can you try to "Build-All" and then download the project to the PLC? (It should say that the project is identical, if you have not changed any thing).

If the project was downloaded (meaning, no identical project message), then check if the Reset Numeric now works correctly.

 

 

Thanks for the reply Saragani, can you explain to me what "Build-All" does?  On my version it has "Rebuild-All", which I assume does the same thing. 

Link to comment
Share on other sites

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.

Guest
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...