CNC Pulse Encoder