Forum Migration Notice
Update (2026-01-21): The user forums are now in read-only mode pending the data migration.

Update (2026-01-12): The user forums will be put into read-only mode on the 21st of January, 00:00 CET, to prepare for the data migration.

We're transitioning to a more modern community platform by beginning of next year. Learn about the upcoming changes and what to expect.

assign wobj values to robtarget

Hi

I would like to assign a work objects, Object frame value, to a robtarget position. I.E. X,Y,Z and Q1,Q2,Q3,Q4.

Will this require DOT notation, or are their any functions that do this?

Any Examples available?

Many thanks

Simon Turner

Comments

  • Hi

    I think this will do what you want

        tAlign.tframe.trans.x:=obTEMP.uframe.trans.x;
        tAlign.tframe.trans.y:=obTEMP.uframe.trans.y;
        tAlign.tframe.trans.z:=obTEMP.uframe.trans.z;
        tAlign.tframe.rot.q1:=obTEMP.uframe.rot.q1;
        tAlign.tframe.rot.q2:=obTEMP.uframe.rot.q2;
        tAlign.tframe.rot.q3:=obTEMP.uframe.rot.q3;
        tAlign.tframe.rot.q4:=obTEMP.uframe.rot.q4;

    Best Regards

    Kurt Reimer