Sign in to follow this  
Followers 0
teal854t

Clearing Data Files N7s

2 posts in this topic

I have data in integer files N7:0, N7:1, N7:2, all the way to N7:99. How can I clear these data at N7:0 to N7:99 at once? Can I use CLR instruction? If so how do I write it? I'm using counter (CTU) to count something. When accu. reaches preset, I will reset the counter and the data from N7:0 to n7:99. Thanks

Share this post


Link to post
Share on other sites
Look at the FLL or COP instruction triggered by your counter. FLL if you want to set all to zero, COP if you wish to reset them to some preset values. Check manual for processor in question for limits on length and use of file indicator (#). http://literature.rockwellautomation.com/i...rm001_-en-p.pdf may be a good reference.

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
Sign in to follow this  
Followers 0