Train services were disrupted between Stirling and Perth as emergency services responded to the incident.