[Java] Force Freedrive Mode

Hi there!
Could you please explain me, is there any way to force the Robot to go into the Freedrive Mode through the URCap ?
Thank you a lot in advance .

I’m not sure if this is what you are looking for but you can enable freedrive while running a program. We us this so our welders can locate a weld seam that is in a different location on most all of our parts. We use the script

freedrive_mode(freeAxes=[0,0,0,0,0,0], feature=p[0,0,0,0,0,0])
And then
end_freedrive_mode()