1. Tool changer sensor truth table
The bits are ordered from the outermost sensor to the innermost. Bit 0 = outermost ... bit 4 = innermost. Looking at the index plate, a "hole" = 0, no hole = 1. ||Tool Position||bit 4||bit 3||bit 2||bit 1||bit 0|| ||0||0||0||0||0||0|| ||1||0||0||0||0||1|| ||2||0||0||0||1||0|| ||3||0||0||0||1||1|| ||4||0||0||1||0||0|| ||5||0||0||1||0||1|| ||6||0||0||1||1||0|| ||7||0||0||1||1||1|| ||8||0||1||0||0||0|| ||9||0||1||0||0||1|| ||10||0||1||0||1||0|| ||11||0||1||0||1||1|| ||12||0||1||1||0||0|| ||13||1||0||0||0||0|| ||14||1||0||0||0||1|| ||15||1||0||0||1||0|| ||16||1||0||0||1||1|| ||17||1||0||1||0||0|| ||18||1||0||1||0||1|| ||19||1||0||1||1||0|| ||20||1||0||1||1||1|| ||21||1||1||0||0||0|| ||22||1||1||0||0||1|| ||23||1||1||0||1||0|| ||24||1||1||0||1||1|| So, this is basically a binary sequence, except that bit 4 has a weight of 13 instead of 16.
|