I am updating an old machine with A/B PLC5 to a Micrologix 1200 PLC. How do I program an encoder (electrocam) to give me degree reading?