Process control system – automation for mining