mine working controls machinery