HOME (Statement)


Declare arbitrary coordinates as a home position.


HOME <position variable>


This parameter declares arbitrary coordinates specified by <position variable> as a home position.
A home position can be defined for each program.
If more than one HOME statement is declared, the most recent declaration takes effect.



6-axis
DIM lp1 As position
HOME (350, 0, 450, 0, 0, 180)
'Declare the coordinates of (350,0,450,0,0,180)
'as a home position
HOME lp1
'Declare the coordinates of lp1 as a home position

4-axis
DIM lp1 As position
HOME (200, 300, 300, 45, 0)
'Declare the coordinates of (200,300,300,45,0)
'as a home position
HOME lp1
'Declare the coordinates of lp1 as a home position


Top