Codesys have robot solution named axis group. The communication between PLC and roobot are eatherCAT .It means PLC control the drive directly.
And Siemens also have one solution named Simatic Kinematics Integrator (SKI). This solution must ues T CPU in this solution.
Both two solution are based on PLC base. And they support from 3 axis to 7 axis.