PD-cycler and tube set therefor and a method for use thereof. The tube set includes a transfer member for automatic transfer of possibly remaining contents in supply bags or heater bags of the tube set to a waste receiver. A separate connection unit is arranged in connection with a valve pack of the PD-cycler. The connection unit has a rod of ferromagnetic material which allows an indication that the tube set is in the correct position. The heater and drain bags are combined into a double bag which is supported by a yoke in a folded state, which is unfolded upon application into the PD-cycler.