When input signal is higher than 10 Vp-p, the output is not following the input. Everything below 10Vp-p is fine. I use dual supply 5v for op amp.
I want up to 30 Vp-p.
Can you guys explain me why and what things should I change or improve?
You will need a +/- 15V bipolar power supply or higher, and an op amp that can tolerate higher power supply voltages. The MCP6022 is 5.5V (or +/- 2.25V) maximum.
Do not apply voltages higher or lower than the power supply voltages to the inputs, or you will fry the IC.
If the output of your op-amp reaches as high or low as your power rail then that is as far as you can go with the output. This is called a rail to rail op-amp, and is expensive.
Typically an op-amp will only reach to within a certain voltage short of the full voltage. Typically this is within a volt for modern op-amps, but in the early days it used to be that within three volts was considered good.
So if you need a higher voltage output use a higher voltage power supply and an op-amp that can take that.