Hello,
I cannot find any refference in the rapid manual for this so I am trying to find the answer here.
I have multiple workobjects that I would like to store in an array like this:
TASK PERS wobjdata wObj1:=[FALSE,TRUE,“”,[[181.197,632.58,297.741],[0.999992,0.00251573,0.000730156,0.00299524]],[[0,0,0],[1,0,0,0]]];
TASK PERS wobjdata wObj2:=[FALSE,TRUE,“”,[[181.197,632.58,297.741],[0.999992,0.00251573,0.000730156,0.00299524]],[[0,0,0],[1,0,0,0]]];
TASK PERS wobjdata wObj3:=[FALSE,TRUE,“”,[[181.197,632.58,297.741],[0.999992,0.00251573,0.000730156,0.00299524]],[[0,0,0],[1,0,0,0]]];
… and so son
PERS wobjdata arrayofObj{3}:=[wObj1,wObj2,wObj3,…]
I am getting syntax error that says: Expected num but found identifier. I suppose I cannot do it this way. I know I can do it like this with robtargets so I thought that I can do it with work objects but I can’t. Is there any way how to do it?
thanks for the help