JGrissom Member J Join Date Dec 2013 Location colorado Posts 18 Dec 21, 2013 #1 Does anyone know how to do this logic in Contrologix?
bernie_carlton Lifetime Supporting Member + Moderator Join Date Apr 2002 Location Yakima, Washington Posts 6,413 Dec 21, 2013 #2 A single bit in a DINT is selected by Dint.x where x is 0 to 31. I think all the other operations are available.
A single bit in a DINT is selected by Dint.x where x is 0 to 31. I think all the other operations are available.
JGrissom Member OP J Join Date Dec 2013 Location colorado Posts 18 Dec 21, 2013 #3 Thanks, The NEQ will not work with Bools this is why I'm asking if there is another way to do this. This logic only allows one Bool selection at a time and works quite well in a slc..
Thanks, The NEQ will not work with Bools this is why I'm asking if there is another way to do this. This logic only allows one Bool selection at a time and works quite well in a slc..
bernie_carlton Lifetime Supporting Member + Moderator Join Date Apr 2002 Location Yakima, Washington Posts 6,413 Dec 21, 2013 #4 Create 'B21', 'B22' etc as DINTs, not BOOL arrays. All your logic will work.