HVAC Cheat Sheethvaccheatsheet.com/diagrams/reversing-valve-flow
Heat pump reversing valve: refrigerant flow in cooling and heating
The reversing valve's single port always takes hot discharge gas from the compressor, and the center port on the other side always returns cool suction gas to the compressor. In cooling the slide sends discharge gas to the outdoor coil and connects the indoor coil to suction. In heating it sends discharge gas to the indoor coil and connects the outdoor coil to suction, so the two coil lines swap temperature when the mode changes.
Guides that use this diagram
More heat pumps & mini-splits diagrams
HVAC Cheat Sheet · Free PT charts, code lookups and calculators for techs at hvaccheatsheet.com