Jump to content
JotaPey

Clear Struct with Reset Numeric

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?  

Share this post


Link to post
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

Share this post


Link to post
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. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×