I would like to have diagnostics (wire break or short detection) on contact sensors with end of line resistors. I think this can be done by adding an error state on the contact sensor class or modifying the voltage measurement class to act more like a contact sensor. I basically want if
An_input < V1: error (short)
An_input < V2: closed contact
An_input < V3: open contact
An_input >= V3: error (line break)
It there anything existing for this type of thing already that haven't found? If not, I will probably take a crack at it myself but would welcome general direction.
I would like to have diagnostics (wire break or short detection) on contact sensors with end of line resistors. I think this can be done by adding an error state on the contact sensor class or modifying the voltage measurement class to act more like a contact sensor. I basically want if An_input < V1: error (short) An_input < V2: closed contact An_input < V3: open contact An_input >= V3: error (line break)
It there anything existing for this type of thing already that haven't found? If not, I will probably take a crack at it myself but would welcome general direction.