Intitialize execution program at reference position on workpiece