plc ladder diagrams mining ore curshing