I have two rectangular surfaces that will be on opposite sides of a shaft and rotated as the work objects. I defined the first oframe based on the user frame of the positioner. Instead of just rotating 180 degrees and repeating I want another work object defined in the same orientation/location on both objects so after rotating I’m on the 2nd object but don’t have to worry about positioner accuracy.
I tried setting up the wobjdata for both as movable so it could rotate but then my positions are out of reach. Using fixed both positions work but the TCP doesn’t follow the new object. What am I doing wrong or rather missing?
PERS wobjdata PanelA:=[FALSE,FALSE,“STN1”,[[1117.6,-1575,950],[0,0,0.70711,0.70711]],[[100,100,650],[1,0,0,0]]];
PERS wobjdata PanelB:=[FALSE,FALSE,“STN1”,[[1117.6,-1575,950],[0,0,0.70711,0.70711]],[[-100,-100,650],[-1,0,0,0]]];