I have a single robtarget (called A) and an array of robtargets (called B). I would like to put A into B → this works nicely, until I would like to modify A via FlexPendant: I get the “Unable to modify position” error message. The ways I tried:
(1) Result: Error message while modifying via FlexPendant (“Unable to modify”)
CONST robtarget A:=[…];
CONST robtarget B{1}:=[A];
(2) Result: Error in rapid code (B cannot be declared as PERS)
CONST robtarget A:=[…];
PERS robtarget B{1}:=[A];
(3) Result: Error in rapid code (A should be CONST if we want to put it into an array)
PERS robtarget A:=[…];
CONST robtarget B{1}:=[A];
I have to put robtargets into an array, but I would like to provide the “Modify position via FlexPendant” feature to the operators. Is this possible some way?
Thank you for any help.