Hi guys,
I am trying to to set $BASE with other coordinates.
my code:
DEF test()
;---------------
EXT BAS(BAS_COMMAND : IN, REAL:IN )
DECL AXIS HOME1
DECL FRAME POINT
;--------------
BAS(#INITMOV, 0)
HOME1={AXIS: A1 0, A2 90 .........}
$BASE={X 1400, Y 0,Z 500, A 90, B 0 , C 180}
REF_POS_X={X 100, Y 0,Z 0, A 0, B 0 , C 0}
REF_POS_Y={X 100, Y 100,Z 0, A 0, B 0 , C 0}
REF_POS_Z={X 100, Y 100,Z 100, A 0, B 0 , C 0}
POINT={X 700, Y 0, Z 500, A 90 , B 0, C 180}
;-----------------------
PTP POINT
END
So I hope that the robot move to the point POINT in relation to the $BASE. But I have message: "start movement inadmissible"
I have tryed more options how to set new base but now I really do not know what to do.
Thank you for your responds.
Hajduluk