Hello all,
I am having INTP-204 (Invalid value for index) and I am not understanding why. The controller is R-30iA.
The code is:
PR[30]=LPOS
R[17]=PR[30,3]
PR[2,3]=R[17]-R[18]
When I try to execute any of black lines, I got INTP-204. I have tested with R[17]=PR[30,1] and works perfectly, It saves X-coord from PR[30] but If i try [30,3] or any different to 1, It doesn't work.
Same in line PR[2,3]... dunno why I can't save the Z-coord.
I have tried with robot on Z>0, Z<0 and it fails.
Writing by hand in the register the same value of Z-coor I am trying to use, without any problem.
Problem comes when I try to save/write [ ,3] value of PR.
Any idea?