Teaching robot movement

I want to teach robot its own movement, but when i give run routine it shows P1 position is out of reach of the robot. how can I shift this p1 position within the reach? so the robot performs all the tasks and then i can modify it?
image

Is P1 being created during simulation or is it an actual motion statement in the Program Editor panel? If the latter, just select the statement and then use Move tool to move the selected position OR use Jog command to “touch up” the position.

If P1 is being created every time you run simulation or execute routine then you most likely need to adjust some configuration/setting in the layout, e.g. approach distance of some sort.