I have four input in combination to give me 16 different steps. etc 0001-0010-0011 and so one. When input 1 is high and the other low, i would get 0001. When input 2 is high and the other low, I would get 0010. What function do I use for that purpose. It is in a Micrologix 1100