Operation controlled by detector means responsive to work