Hi all!!!
i may know how i could put a point from a file karel in a register PR[] on TP? thank you very much for the help. this my code:
cur_pos:XYZWPREXT
status1:INTEGER
uframe:POSITION
utool:POSITION
BEGIN
-- $MNUTOOLNUM[1]=1
-- $MNUFRAMENUM[1]=1
$UFRAME = $MNUFRAME[1,1]
$UTOOL = $MNUTOOL[1,1]
cur_pos=CURPOS(0,0)
cur_pos.x=1378.591
cur_pos.y=1633.715
cur_pos.z=175.532
SET_EPOS_REG(6,cur_pos,status1)
END PROJET2
and on tp i tried call :
CALL projet2
PR[6]=LPOS
best regards