Datong is the center of Shanxi's north region and is very accessible from Beijing, making it a reasonable stop after Beijing for a two-to-three day visit.
Suggests Datong as a stop after a trip from Beijing or Shanxi, with a two-hour high-speed train costing 150 RMB.