Is there a way (instruction or a method) to clear all the bits in a boolean Array in a single scan without using a "For - Break" instruction?
For example, I have a bit Array BOOL[64] and need to set all the bits in this array to Zero in one go. Is it possible with Logix5K?
I cannot use a DINT as it only has 32bits (it would have been easy otherwise). I need to have 64 bits so each bit ID matches a Device ID# number and helps keep things nice and tidy without having to use several DINT's, in which case bit # would not match the device #.
Thanks
For example, I have a bit Array BOOL[64] and need to set all the bits in this array to Zero in one go. Is it possible with Logix5K?
I cannot use a DINT as it only has 32bits (it would have been easy otherwise). I need to have 64 bits so each bit ID matches a Device ID# number and helps keep things nice and tidy without having to use several DINT's, in which case bit # would not match the device #.
Thanks
Last edited: