I have interfaced a QR145 200 Line Count Optical Encoder to a DL06 PLC and set up the PLC for mode 20 ‘High speed Up/Down counter’. Here is a video of Optical Encoder Counting: Below is the ladder logic code for programming the PLC to count pulses from the QR145...