The invention relates to a dispensing
machine, in particular to a dispensing
machine for packaging a glue cap, a dispensing method and a cleaning method, and overcomes the defects that the dispensing effect cannot be accurately controlled and the requirements of products with high dispensing requirement precision cannot be met due to the fact that the glue amount and the dispensing position precision of existing
contact type dispensing are not high. The dispensing
machine comprises a glue spraying valve, a displacement unit, a
power unit and a
control unit, the displacement unit is used for controlling the glue spraying valve to move, and the glue spraying valve comprises a valve body, a
firing pin assembly, a
nozzle, a runner
assembly and a heating base. The striker
assembly comprises a striker, a compression spring and a piezoelectric module, the bottom end of the striker corresponds to the
nozzle, the top end of the striker is connected with the piezoelectric module, and the piezoelectric module is used for controlling the striker to act. The heating module is used for heating glue, the glue enters the
nozzle through the flow channel assembly, the piezoelectric module drives the
firing pin to move up and down to achieve glue spraying, the invention further provides a glue dispensing method and a cleaning method based on the glue dispenser, and efficient work is achieved.