Make Encoder differential signal to the open collector signal output, 4 Channels, electrical isolation between input and output. the differential encoder output signal to the collector output signal, input to the PLC high-speed counter interface.
eBay