Hi all,
I want to log joint angles (j1-j6) as the robot is moving. I made a simple program that jogs the robotic arm between a set of points (~4 or 5). On the TP, there is a POSN button. When, I press this button, I can see the arm position in Joint space ( the values of J1 through J6). I can also see the values changing as the arm is moving.
As a first try, I would record the final position of the robotic arm in joint-space, after it has passed through all the points. Then, I can compare it with what I see on the press of POSN button.
My program looks like this.
1: PR[1] = JPOS-JPOS
2: J P[1] 100% FINE
3: J P[2] 100% FINE
4: J P[3] 100% FINE
5: J P[4] 100% FINE
6: CALL COPY_PRG
And, COPY_PRG looks like this:
1: R[1] = PR[1, 1]
2: R[2] = PR[1, 2]
3: R[3] = PR[1, 3]
4: R[4] = PR[1, 4]
5: R[5] = PR[1, 5]
6: R[6] = PR[1, 6]
My idea was to check the value of 6 data registers (R[1] to R[6]) and see if indeed they got the joint angles.
I am not yet very good in TP programming.
- The above program is supposed to record the final position after the movement is complete. However, I do not see anything recorded to data registers as yet.
- Also, how can we log the values in real-time.
- Is there a simpler way to achieve this.
thanks your help,
Zahid