A way to move a robot without worrying about the orientation of the tool

Is there a move command that lets me move the robot only based on a given position and doesn’t need the orientation of the tool to be specified?

MoveAbsJ. It tells the robot to go to absolute joint angles specified by a jointtarget.

MoveAbsJ won’t work as I have a position, but not the joint angles.

Hello,
You can force orient data of your robtarget.

MyjPos:=CalcJointT(MyRobtarget,MyTool\Wobj:=MyWobj)
MoveAbsJ MyjPos, blah, blah, blah;

Thank you lemster68.