Diagnosing Industrial Communications Networks