accident avoiding system in grinding machines