Studio 5000 v24.11 on a 1769-L33ERM
Pretty simple question today! I have a piece of testing hardware with four outputs wired to four inputs on my PLC. The testing hardware sends different BCD values to the PLC based on the test result. I want to convert those four inputs into an integer value in the PLC.
I know I can brute force it with 16 lines of logic, one for each possible outcome, but is there an easier/shorter/neater way to do this? Haven't had my coffee yet this morning :angr:
TIA!
Pretty simple question today! I have a piece of testing hardware with four outputs wired to four inputs on my PLC. The testing hardware sends different BCD values to the PLC based on the test result. I want to convert those four inputs into an integer value in the PLC.
I know I can brute force it with 16 lines of logic, one for each possible outcome, but is there an easier/shorter/neater way to do this? Haven't had my coffee yet this morning :angr:
TIA!