Encoder

i have a problem with incremental encoder.
how to make PID using incremental encoder?

What exactly are you trying to do ?

i try to make PID

Yes, but what will the PID control ?
What are its inputs ?
What are its outputs ?