Contents:

1. Sunroof switch
2. Sunroof motor & controller
3. Sunroof

1.Disconnect the negative (-) battery terminal.
2.Open the sunglass case cover from the overhead console and remove the 2 screws holding the overhead console. Disconnect the switch connector and Map lamp connector, and then remove the overhead console lamp (A).

3.Check for continuity between the terminals.


1.Disconnect the negative (-) battery terminal.
2.Remove the roof trim.(Refer to Body - "Roof Trim")
3.Disconnect the sunroof motor connector.

4.Ground the terminals as below table, and check that the sunroof unit operates.
• When inspecting the sunroof motor operation, sunroof motor and roller blind motor always should be connected.

5.Make these input tests at the connector. If any test indicates a problem, find and correct the cause, then recheck the system. If all the input tests prove OK, the sunroof motor must be faulty; replace it.
| Terminal | Test condition | Test : Desired result |
| 3 | IG2 ON | Check for voltage to ground : There should be battery voltage. |
| 1 | Under all conditions | Check for continuity to ground : There should be continuity. |
| 6 | Under all conditions | Check for voltage to ground : There should be battery voltage. |
1.Turn the ignition key to the ON position and then close the sunroof completely.
2.Release the sunroof control lever.
3.Press and hold the CLOSE button for more than 10 seconds until the sunroof closed and it has moved slightly.
4.Release the sunroof control lever.
5.Press and hold the CLOSE button once again within 5 seconds until the sunroof do as follows;
• Tilt → Slide Open → Slide CloseThen release the lever.
6.Reset procedure of panorama system is finished.
1.The sunroof ECU detects the Run- time of motor
2.Motor can be operated continuously for the 1st run-time (120 ± 10sec.).
3.The continuous operation of motor stops after the 1st Run-time (120 ± 10sec.).
4.Then Motor is not operated for the 1st Cool-time (18 ± 2sec.).
5.Motor is operated for the 2nd Run-time (10 ± 2sec.) at the continued motor operation after 1st Cool-time (18 ± 2sec.)
6.The continuous operation of motor stops operating after the 2nd Run-time (10 ± 2sec.)
7.Motor is not operated for the 2nd Cool-time (18 ± 2sec.).
8.Motor repeats the 2nd run-time and 2nd cool-time at the continued motor operation.
– In case that motor is not operated continuously, the run-time is increased.
– The Run-Time of motor is initialized to "0" if the battery or fuse is reconnected after being disconnected, discharged or blown.

Hyundai Accent (HC) (2017 - 2022) Service Manual: Description and Operation
- Description Burglar Alarm State [B/A State] B/A StateDescription DISARM1) In "DISARM" state, no vehicle start inhibition. So, when door, hood, or Tailgate is opened, there is no alarm sound and flashing. 2) If the battery is disconnected while the state is not "ARM/ARMWAIT/ALARM/REARM", B/A state is set to "DISARM" state. 3)In "DISARM" state, security indicator keeps blinking.Hyundai Accent (HC) (2017 - 2022) Service Manual: Stop Lamp Switch
- Components 1. Brake pedal member assembly2. Stop lamp switch3. Brake pedal arm 4. Pedal pad - Schematic Diagram - System circuit diagram - Terminal function TerminalDescription 1IGN 2BS 3- 4B+ 5BLS 6GND - Adjustment 1.Turn ignition switch OFF and disconnect the negative (-) battery cable. 2.Remove the lower crash pad.