Hi,
There are many servo drives ( EMERSON,YASKAWA,.....) that you can send the parameters throughout the RS232/RS485 and after the servo drive has saved them, you can use an output from the PLC to give the start signal to the Servo Drive.
You can program the servo to run an especific lenght according to the parameters.