This is a very broad subject and covers all areas of the state. As there is no point in 're-inventing the wheel' we recommend that you visit Don Copley's excellent website all about the rail network in W.A.
History of W.A. Railways and Stations