I need to record and save dozens of poses during a dry run of a program (to discretize a very irregular motion). 300 poses at least. Then, I need the robot to remember them through power cycles.
In order to do that I defined an array in installation, saved the installation file, unpacked .variables gzip, edited the array to consist of 15 empty poses, saved it to array.variables as a gzip type using 7zip, overwrote the original .variables file, opened installation in URSim.
The array does indeed show 15 x p[0,0,0,0,0,0] elements. Problem is, I can’t overwrite them with new poses.
The other solution I’ve considered is creating a pm2 python server that holds a socket open for listening for a Profinet output but I really think this should not be required for this simple task.
Please help me overcome this, closest topic I’ve found was here: Array/list as installation variable?