JLand
Member
Hi all,
Stupid question, is there a good way to get a FIFO where the FIFO array is an array of BOOLs (BOOL[32])?
I have a camera system that scans containers. The way I would like this system to work, is if the camera detects a pass condition it FFLs a 0 into the array, and if it detects a reject condition it FFLs a 1 into the BOOL array. A photoeye downstream by the reject pusher FFUs this array, triggering if it sees a high bit.
I could just set up a DINT[32], but that's not an insignificant amount of data just for what should be pretty simple. I get that a BOOL array is not listed as a supported datatype for the source or array in FFL/FFU documentation, but maybe I am missing something or maybe there's an easy way to duplicate FIFO functionality with other instructions.
This is on a a CompactLogix L27ERM version 28.12.
Thanks in advance.
Stupid question, is there a good way to get a FIFO where the FIFO array is an array of BOOLs (BOOL[32])?
I have a camera system that scans containers. The way I would like this system to work, is if the camera detects a pass condition it FFLs a 0 into the array, and if it detects a reject condition it FFLs a 1 into the BOOL array. A photoeye downstream by the reject pusher FFUs this array, triggering if it sees a high bit.
I could just set up a DINT[32], but that's not an insignificant amount of data just for what should be pretty simple. I get that a BOOL array is not listed as a supported datatype for the source or array in FFL/FFU documentation, but maybe I am missing something or maybe there's an easy way to duplicate FIFO functionality with other instructions.
This is on a a CompactLogix L27ERM version 28.12.
Thanks in advance.
Last edited: