RobotStudio event

How can I call "HR_MoveTo" command without prefix via "Homeposrunning V7.11" mediapool.

hamza_07
hamza_07
edited November 28 in RAPID Programming
I will commission new ABB robot with Homeposrunning mediapool. I will make a program same path for another products  many times, due to this reason I will use HR_SetTypeDIndex command too but I want to use HR_MoveTo command without prefix_code.  

How can I deactivate to  HR prefix usage. When I try to use like that I have received error in the photo below.



Event Message:119928
HPR:Moving routine can not be executed.
(I want to call mv10_120_47 instead of mv10_120_T47 via HR_MoveTo 120" from position10.)

!********************************************************** 
PROC TRIAL()
        HR_SetTypeDIndex 47;
        HR_MoveToHome;
        HR_MoveTo 10;
        HR_MoveTo 120;
        HR_MoveTo 10;
ENDPROC

    PROC mv10_120_47()
        SMoveJ 10,p10,v1000,z100,tVACUUMGRIPPER\NoMove;
        SMoveJ 120,p120_47,v1000,Fine,tVACUUMGRIPPER;
    ENDPROC
!
!
    PROC mv120_10_47()
        SMoveJ 20,p120_47,v1000,z100,tVACUUMGRIPPER\NoMove;
        SMoveJ 10,p10,v1000,fine,tVACUUMGRIPPER;
    ENDPROC
!
!
    PROC mv999_999()
        SMoveJ 999,p999,v1000,z100,tVACUUMGRIPPER\NoMove;
        SMoveJ 999,p999,v1000,Fine,tVACUUMGRIPPER;
    ENDPROC
!
!
    PROC mv999_10()
        SMoveJ 999,p999,v1000,z100,tVACUUMGRIPPER\NoMove;
        SMoveJ 10,p10,v1000,Fine,tVACUUMGRIPPER;
    ENDPROC
!
!
    PROC mv10_999()
        SMoveJ 10,p10,v1000,z100,tVACUUMGRIPPER\NoMove;
        SMoveJ 999,p999,v1000,Fine,tVACUUMGRIPPER;
    ENDPROC
!
!********************************************************** 





Post edited by hamza_07 on
Tagged: