Since the trains on the Geislinger Steige increasingly needed double-headed trains or pusher locomotives, a heavy freight locomotive was developed around 1890 that was supposed to be able to cope with these inclines on its own. The result was the type G, which was only built five times, but was remarkable with its complex construction.
On the route, the limited axle load made five coupled axles necessary to achieve the required adhesive load, but the narrow curve radii represented an obstacle. For this reason, a Klose chassis was installed, the axles of which were articulated by the movement of the tender and thus followed the course of the curve. A lever system ensured that the coupling rods were also adjusted. A three-cylinder compound engine, which acted on the second coupled axle, was used for better power development and smooth running under full steam.
The maximum speed of the locomotives was 45 km/h, like most freight locomotives of the time, and 680 tonnes could still be pulled at 18 km/h on a gradient of one percent. On the Geislinger Steige, where the gradient measures up to 2.25 percent, the G was still able to pull 300 tonnes at 13 km/h. Even if this value seems very low, double-headed locomotives could not do much more at that time. Later, the engines were replaced by the more powerful H type, which was produced in larger numbers. They were retired by 1921.