Automatic generation of stimuli for fault diagnosis in IEEE 1687 networks