An auxiliary apparatus using a four-way electronic valve to achieve temperature rise and fall effect on a component of a machine tool , adapted to be connected to pipelines connected to a component of a machine tool and to a cooling device , the auxiliary apparatus being characterised in that it further comprises: a four-way electronic valve having a front end inlet , a front end outlet , a rear end outlet and a rear end inlet ; the four-way electronic valve electrically connected to a control source and controlled by the control source to switch between two channel states; under a first channel state, the front end inlet being fluidly connected to the rear end outlet but not fluidly connected to the front end outlet , and the rear end inlet being fluidly connected to the front end outlet but not fluidly connected to the rear end outlet ; under a second channel state, the front end inlet being fluidly connected to the front end outlet but not fluidly connected to the rear end outlet , and the rear end inlet being fluidly connected to the rear end outlet but not fluidly connected to the front end outlet ; the front end inlet configured to allow a fluid of the cooling device to enter therein, and the front end outlet configured to allow the fluid to flow out to the cooling device ; an outflow channel having one end connected to the rear end outlet and another end configured to allow the fluid to flow out to the component of a machine tool ; a return fluid incoming channel having one end connected to the rear end inlet and another end configured to allow the fluid returning from the component of a machine tool to enter therein; and a pump arranged on any one of the two of the outflow channel and the return fluid incoming channel , and electrically connected to the control source in order to be controlled by the control source to drive the fluid inside the channel where the pump is arranged thereon to move. a four-way electronic valve having a front end inlet , a front end outlet , a rear end outlet and a rear end inlet ; the four-way electronic valve electrically connected to a control source and controlled by the control source to switch between two channel states; under a first channel state, the front end inlet being fluidly connected to the rear end outlet but not fluidly connected to the front end outlet , and the rear end inlet being fluidly connected to the front end outlet but not fluidly connected to the rear end outlet ; under a second channel state, the front end inlet being fluidly connected to the front end outlet but not fluidly connected to the rear end outlet , and the rear end inlet being fluidly connected to the rear end outlet but not fluidly connected to the front end outlet ; the front end inlet configured to allow a fluid of the cooling device to enter therein, and the front end outlet configured to allow the fluid to flow out to the cooling device ; an outflow channel having one end connected to the rear end outlet and another end configured to allow the fluid to flow out to the component of a machine tool ; a return fluid incoming channel having one end connected to the rear end inlet and another end configured to allow the fluid returning from the component of a machine tool to enter therein; and a pump arranged on any one of the two of the outflow channel and the return fluid incoming channel , and electrically connected to the control source in order to be controlled by the control source to drive the fluid inside the channel where the pump is arranged thereon to move. <EOS>