Reads the on/off signals of a composite link and encodes them in bits of an output number.
Signal To Convert
Encoded Number