How clearing of Diagnostic Trouble Codes(DTC) or Fault Codes work in typical embedded systems ?
Let's say application is Third Row Power Folding Minivan seat. User presses a button. Seat starts moving. There is a obstruction which causes DC motor moving the seat to stop turning almost immediately. Embedded controller attached to seat detects a motor stall or block. It activates a fault code. What happens next?
Probably embedded software application won't allow seat to move because there is a fault. How does the DTC clear and what triggers the seat movement again? Usually fault codes are uploaded to CAN based tool. Service Technician sees active DTC. It removes the obstruction. Then, how does the fault code clear? What sequence of steps take place to restore movement of seat?