hey guys i made this code in fanuc, it travels in a circular trayecory , i wanted to recreate this code on a mh5 but fail miserably, the problem its that when using sin and cos function on the mh5 those return a R o REAL value, and when trying to use the equivalent command of PR on this robot(set the value of x or y set POOO (N) D000 ) those variables on robot position varables ask for a Double data, what can i do?
L PR [1] (MOVE ROBOT TO THE CENTER OF THE FRAME)
FOR R[1]=0 TO 360
R[2]=COS(R[1])*100
R[3]=SIN(R[1])*100
PR[2,1]=R[2]
PR[2,2]=R[3]
L PR [2]
SEND HELP PLEASE