With the servoj command you are responsible for planning the path, you tell it how far you want to move in the next cycle of the clock, 0.008 s for CB3 or 0.002 s for e-series.
You have to provide the acceleration and deceleration at the start and end of the motion by dictating how far it’s moving in the next clock cycle.
The script manual says to use servoj(q, a, v, t=0.002, lookahead_time=0.1, gain=300) where a and v are not used at this time. When I use movel and movej, I can set the a,v for motion control. How do I control the robot acceleration and velocity for servoj?