The invention relates to a vending 
machine, in particular to a vending 
system and a vending method for a vending 
machine. The vending 
system comprises a commodity feeding 
system, a fetching system and a discharging system, wherein the commodity feeding system comprises a guide rail, a 
piston arranged in the guide rail, and a slide block arranged on the guide rail, magnetic steel are respectively arranged at the upper part of the 
piston and the lower part of the slide block, and the slide block is caused to move along with the 
piston under the action of magnetic force of the magnetic steel; the fetching system comprises a transverse moving rod and a longitudinal moving platform, and achieves the purposes of positioning and fetching commodities through the matching between the transverse moving rod and the longitudinal moving platform; and the discharging system consists of a baffle plate at a discharging opening, and longitudinal moving platform limiting plates arranged at the periphery of the discharging opening, and the baffle plate at the discharging opening can slide along the discharging opening. Compared with the prior art, the vending system and the vending method for the vending 
machine greatly reduce the quantity of motors, simplify the transmission structure, change the traditional complex framework, reduce the production cost, improve the vending safety of the vending machine, and has a certain superiority in comparison with the vending machine of the same kind.