A day on the ridge
Start early, treat the plank walk as optional, and do not combine the mountain with Xi'an sightseeing.
The useful station is Huashan, in Huayin, not Xi'an and not the mountain gate. Take the train to Huashan station and the shuttle on to the cable. Those two rides already use the start of the day. Begin at the gate, and give the ridge the hours that remain. This is not an afternoon after the Xi'an wall.
Come from Huayin, not as an extra after a morning in Xi'an. The wall, the train, and the shuttle do not all fit in front of the peaks. If a city stop stays first, you reach the gate late and walk the crest in a hurry. Leave Xi'an so the mountain is the outing itself. Eat nearby once before the cable. Do not save the meal for the top.
Take the cable to the North Peak. It saves the longest staircase, the climb you would otherwise finish before the ridge had started. From the North Peak the route along the ridge to the East Peak, the South Peak, and the West Peak is still a real walk. Follow that crest from one peak to the next. Chains are fixed in the steeper places. Use them where the rock drops away, and do not treat each summit as a separate errand back in town.
The plank walk on the West Peak is a side trip with its own wait. It leaves the main line of the ridge and comes back to it. Skip it if the group is tired or the light is going. The cable is the ordinary way down. Missing the last cable means walking down in the dark, on the long stairs the ride up was meant to spare. Leave the West Peak while you can still see the path and still catch that cable.
Carry water from the gate. Shops on the peaks are sparse and priced for people who did not bring any. What you do not carry is what you go without. The wind on the ridge is colder than the plain, including in summer. Huayin can feel mild while the crest is in a hard breeze. Wear what the ridge needs, not what felt right at the station.
A clear morning shows the Wei River and the plain below the peaks. That open view is what you came up to see. Cloud on the peaks is common. It hides the river, slows you on the chains, and makes every narrow step take longer. Cloud is not a reason to have scheduled the Terracotta Army the same afternoon. The army is back toward Xi'an, and this day already belongs to the train, the shuttle, and the ridge.