control logic of hydrolic hammer crusher