I need to find the low bits in an array:
example:
111111111011100111111101111111101111110011111111011
let's say an array of 40 bools for example.
I need to know if there are 2 zero's next to each other in this array, as you can see I should have a detection of 1 time 2 zero's.
Anyone has ideas how to write this in a PLC.
STL, IL, SCL, ST, on of these languages..
example:
111111111011100111111101111111101111110011111111011
let's say an array of 40 bools for example.
I need to know if there are 2 zero's next to each other in this array, as you can see I should have a detection of 1 time 2 zero's.
Anyone has ideas how to write this in a PLC.
STL, IL, SCL, ST, on of these languages..