Here you can find large explanation for how to drive servo motor with Omron Cp1h PLC via Smart Step 2 Servo Driver.
In second video cable connection between Cp1h and Smart Step 2 has explained with motor drive application.
In first video PLS2 instruction has explained with instruction referance.