I needed very similar feature years ago and I implemented it using
They allow you to disable NC setpoint generation and calculate the setpoints yourself. MC_ExtSetPointGenFeed should be executed in a task with cycle time equal to your motion task (2ms by default). For my use case it was acceptable to assume infinite jerk and calculate only position, velocity and acceleration