Hello,
after some months of R&D I decided to create a servo-gripper for one of our robots with a fanuc servo motor directly attached to the gripper of the robot. Long story short, we had to upgrade the software suite with Independent Axes and multi-group motion so fanuc asked for an all-of-above backup of the robot and an image backup also and after some days they sent us back a modified image with the needed software.
The idea is that after upgrading the robot with the new image sent from Fanuc reloading the all-of-above backup would give us a working robot just as it was with the addition of the new software. Image installs fine, robot upgrades controller firmware and tp firmware, everything goes as planned and after the image installation I do an Init start and proceed to controlled start to load my old all-of-above backup to load my registers sysvars tcps frames programs etc etc.
When the restore procedure hits the posreg.vr file though, it prompts a message if I want to convert the file and shortly after hitting yes it reports an error "array mismatch" and proceeds with the next file. Same happens with sysvars.sv file.
Digging a bit more into this and with the help of roboguide I discover surprised (=because it should have been obvious to me from the begining) that in the new software the position register structure has changed from
PR[...]: [GP1]:{x:..., y:..., z:..., w:..., p:..., r:...}
to
PR[...]: {[GP1]:{x:..., y:..., z:..., w:..., p:..., r:...},
[GP2]:{x:..., y:..., z:..., w:..., p:..., r:...}}
and I guess this is the array mismatch that doesnt let the system convert the old posreg.vr file. Is there a workaround to this other than the obvious of manually filling every coordinate value on 118 position registers ? even if I get in all this trouble for the posreg.vr file I can't do the same for the sysvars.sv file as there are so many variables I had changed that I can't remember.