i had typed an explanation, but the internet crashed on me and it was lost.
PLC=programmable logic controller
BCD=binary coded decimal
a PLC takes inputs from switches, sensors, buttons, or touchscreens and based on the program will turn on outputs such as lights, motors, valves or indicators...