Swervomotor Posted July 8, 2019 Report Share Posted July 8, 2019 I decided to use Internal Control Bit Arrays 2 x(255) on this large project to keep the global tag list manageable. I need to reset all these bits with an HMI button. Is there a way to reset an entire bit array? I get compile errors when attempting to use the reset coil. I really really don't want to have to put reset coils in for 500+ bits Thanks in advance Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted July 8, 2019 MVP 2023 Report Share Posted July 8, 2019 Did you try Vector Fill function? Link to comment Share on other sites More sharing options...
Swervomotor Posted July 9, 2019 Author Report Share Posted July 9, 2019 19 hours ago, Flex727 said: Did you try Vector Fill function? Just did a "Fill Array Part" and that did the trick, Thanks! Link to comment Share on other sites More sharing options...
Kojekude Posted May 28, 2021 Report Share Posted May 28, 2021 Smarter way is using Reset Numeric function. You don't have to worry about array length, Offset & Operation mode. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now