Thank you for your reply.
But my experiences showed that
MainPlanner->DoExternalProbe = true; //this will trigger the move.
run calculating of the motion and filling movement buffer by Mach.
I came to the conclusion that it is enough just to do
MainPlanner-> ExternalStill = false;
Next, perform all operations in an external motion device, and at the end
Engine->Axis [axis]. Probing = false;
Engine->Axis [axis]. DepthCount = actual distance;
Engine->Sync = true;
MainPlanner-> ExternalStill = true;
I have this variant works.