The invention discloses a trolley device for automatic replacement of
machine tool accessories. The trolley device comprises a guide rail which is fixed to a
machine tool foundation, an accessory dismounting trolley, an accessory mounting trolley, as well as an exchange
station and a
parking lot which are respectively arranged on the guide rail, wherein the accessory dismounting trolley and the accessory mounting trolley are movably mounted on the guide rail; the
parking lot is provided with a
parking lot position detecting device, and the exchange
station is provided with an exchange
station position detecting device. When the accessories of a
machine tool are required to be replaced, the accessory dismounting trolley is moved to the exchange station; after the position is detected by the exchange station position detecting device, an end cover of a main shaft box of the
machine tool is demounted, and the accessories are placed on the accessory dismounting trolley, the accessory dismounting trolley is moved to the parking lot, and the position is detected by the parking lot position detecting device; the accessory mounting trolley is moved to the exchange station, and after the position is detected by the exchange station position detecting device, the accessories on the accessory mounting trolley are mounted on the
machine tool, and the accessory mounting trolley is moved to the parking lot. After the position is detected by the parking lot position detecting device, the
machine tool can be started to process workpieces.