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 Quote Link to comment Share on other sites More sharing options...
MVP 2022 Flex727 Posted July 8, 2019 MVP 2022 Report Share Posted July 8, 2019 Did you try Vector Fill function? Quote 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! Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.