LEMON Manuals: Even more car manuals for everyone: 1960-2025
Home >> Hyundai >> 2012 >> Accent GLS, Standard Trans >> Repair and Diagnosis >> Accessories & Equipment >> Communication Devices >> Body Control Module (BCM) >> Body Control Module (BCM) >> Description and Operation >> Function >> Door Lock/Unlock Control
April 5, 2026: LEMON Manuals is launched! Read the announcement.

Door Lock/Unlock Control

Control the following function as Door Lock/Unlock Control by Relay control.

  1. Data flow
    Door Lock/Unlock Control
    A_IGN1 O_DRLockRly
    A_IGN2 O_DRUnlockRly
    L_Driver door unlock switch O_DRVDoorUnlockRly
    L_Assistant door unlock switch  
    L_RRDR(&TailGate) UnlockSW
    L_DRVDoorKeyUnlockSW
    L_Power window Lock switch
    L_Power window Unlock switch
    TX Lock
    TX Unlock
    L_KeyIn switch
    L_Driver door switch
    L_Assistant door switch
    L_Crashinput
    L_InhibitP
    F_Speed sensor
    -
    -
  2. Overview Description
    1. During Door Lock/Unlock output, if there is the same output command, ignore the input. However, Crash Door Unlock is valid.
    2. During Door Lock/Unlock output, if there is conflicted output command, turn off the current output at once and after 100msec delay, perform the inputted output.

      However, during 100msec delay, if there is output command, perform the last output command Inputted.

    3. If Lock output and Unlock output is triggered at the same time, perform Lock output and ignore Unlock output.
    4. During all door actuator unlock switch is Lock, if there is Lock request, do output.
    5. During all door actuator unlock switch is Unlock, if there is Unlock request, do output.
  3. Central Door Lock/Unlock by Door Lock Switch
    Fig 1: Central Door Lock/Unlock By Door Lock Switch Operation Diagram
    G08803325Courtesy of HYUNDAI MOTOR AMERICA

    If there is Crash Door Unlock Input, regardless the operation state and perform Crash Door Unlock.

    Input Condition Output
    Lock L_DRVDRUnlockSW on→off || L_PwdwLockSW off→on O_DRLockRly on for 0.5sec
    Unlock L_DRVDRUnlockSW off→on || L_PwdwUnlockSW off→on O_DRUnlockRly on for 0.5sec
    NOTE: No Output for Lock/Unlock by Rear seat's Safety Knob[=L_RRDR (TailGate) UnlockSW] and Assist Seat's Safety Knob [=L_ASTDRUnlockSW].
  4. Central Door Lock/Unlock by Transmitter or FOB of Passive switch
    1. Lock
      Input Precondition Output
      TX Lock || (Key In=off) & All Door Close Case01
      If All Door Lock is checked after O_DRLockRly=on for 0.5sec then O_HazardRly=on for 1.0sec one time
      Case02
      If All Door Lock is not checked after O_DRLockRly=on for 0.5sec then No output of O_HazardRly
      Any Door Unlock -> All Door Lock Case02 O_HazardRly=on for 1.0sec one time
      TX Lock || Key In=off & Any Door Open O_DRLockRly=On for 0.5sec No O_HazardRly=On
      Any Door Open → All Door Close All Door Lock by (TX Lock) but Any Door Open O_HazardRly on for 1.0sec
      Any Door Open → All Door Close All Door Lock by (TX Lock) but Any Door Open & Any Door Act. State change (=Lock→Unlock) No O_HazardRly on for 1.0sec
    2. Unlock
      Input Precondition Output
      TX Unlock Key In=off & Any Door Open O_DRUnlockRly=on for 0.5sec & O_HazardRly on for 0.5sec twice
      TX Unlock Key In=off & All Door Close O_DRUnlockRly=on for 0.5sec & O_HazardRly on for 0.5sec twice & Start 30sec Timer
      Key In=on In 30sec timer Stop 30sec Timer
      All Door Close → Any Door Open In 30sec timer Stop 30sec Timer
      TX Unlock Unlock In 30sec timer O_DRUnlockRly=on for 0.5sec & O_HazardRly on for 0.5sec twice & Restart 30sec Timer
      30sec elapsed In 30sec timer O_DRLockRly=on for 0.5sec & O_HazardRly=on for 1.0sec one time
      NOTE: Key In
      On: L_KeyInSW On || A_IGN1 On || A_IGN2 On (Non-SMK)
      Off: L_KeyInSW Off & A_IGN1 Off & A_IGN2 Off (Non-SMK)
      All Door Close:
      L_DRVDRSW=off & L_ASTDRSW=off & L_RLDRSW=off & L_RRDRSW=off & L_TrunkOpenSW (or L_TailGateSW) =off
      Any Door Open:
      L_DRVDRSW=on || L_ASTDRSW=on || L_RLDRSW=off || L_RRDRSW=off ||
      L_TrunkOpenSW (or L_TailGateSW)=off
      All Door Lock:
      L_DRVDRUnlockSW=off & L_ASTDRUnlockSW=off & L_RR(&TailGate) UnlockSW=off
  5. IGN Key Reminder
    1. This function does not operate if the vehicle speed is more than 3km/h.
    2. If the state becomes Key In1 =on & L_DRVDRSW=open & L_DRVDRUnlockSW=lock, After 0.5sec perform output of O_DRUnlockRly for 1sec.
    3. If the state becomes Key In1 =on & L_ASTDRSW=open & L_ASTDRUnlockSW=lock, After 0.5sec perform output of O_DRUnlockRly for 1sec.
    4. Even if outputting Unlock for 1sec by 2) and 3), and if keeping Lock state, perform output of O_DRUnlockRly max. 3 times (except for 1sec output) (1sec cycle: 0.5sec on/off)
    5. After performing 4), on the state of keeping Lock STATE, and if Door Close, O_UnlockRly=on one time.
    6. On the state of Key In1 =on when Unlock→Lock if L_DRVDRUnlockSW's L_DRVDRSW is Close within 0.5sec, perform O_DRUnlockRly=on for 1sec once.
    7. On the state of Key In1 =on when Unlock→Lock if L_ASTDRUnlockSW's L_ASTDRSW is Close within 0.5sec, perform O_DRUnlockRly=on for 1sec once.
    8. On the state of Key In1 =on when open→close if L_DRVDRSW's is L_DRVDRUnlockSW Unlock→Lock Close within 0.5sec, perform O_DRUnlockRly=on for 1sec once.
    9. On the state of Key In1 =on when open→close if L_ASTDRSW's is L_ASTDRUnlockSW Unlock→Lock Close within 0.5sec, perform O_DRUnlockRly=on for 1sec once.
    10. The judgment for Retry output is performed at the time Retry output is starting. (After 1.5sec from the first O_DRUnlockRly=on)
    11. After Unlock condition, and if the condition is not kept for 0.5sec, perform O_DRUnlockRly=on However, after L_DRVDRUnlockSW or L_ASTDRUnlockSW is meeting with the condition by Unlock→Lock and after 0.5sec, and if Key In=off do not perform O_DRUnlockRly=on
      Fig 2: IGN Key Reminder On Off Blinking Pattern
      G08803326Courtesy of HYUNDAI MOTOR AMERICA

    T1, T3: 0.5±0.1 sec, T2: 1±0.1 sec, T4: 0.5 sec Max

    NOTE: Key In
    On: L_KeyInSW On || A_IGN1 On || A_IGN2 On (Non SMK)
    Off: L_KeyInSW Off & A_IGN1 Off & A_IGN2 Off (Non SMK)
  6. Crash Door Unlock(=Impact Sensing Auto Door Unlock)
    1. On the state of Key In1=On whenever L_CrashInput (PWM) is inputted, On O_DRUnlockRly [During O_DRUnlockRly output, ignore L_CrashInput signal (PWM)]

      But, from Key In1=On condition, if enter the Sleep mode, L_CrashInput should be ignored.

    2. During O_DRUnlockRly output, even if Key In1 is On→Off, keep O_DRUnlockRly output
    3. After O_DRUnlockRly output, if occurring L_DRVDRUnlockSW or L_ASTDRUnlockSW, L_RRDR (&TailGate) UnlockSW UNLOCK→LOCK, on O_DRUnlockRly=on for T2
    4. On the state of CRASH DOOR UNLOCK, do not perform AUTO DOOR LOCK function.
    5. CRASH DOOR UNLOCK function have precedence LOCK/UNLOCK controls in compliance with other function.
    6. During CRASH DOOR UNLOCK function output and after output, ignore by the other function But, if Key In1=Off perform the LOCK/UNLOCK controls in compliance with other function.
    7. During L_CrashInput detected signal1 (PWM) input, when Key In1=Off->On O_DRUnlockRly should be operated.

      But, On the state of Key In1=Off On, if no L_CrashInput signal1 (PWM) input, and then Key In1=Off->On do not perform O_DRUnlockRly.

      Fig 3: Crash Door Unlock On Off Blinking Pattern
      G08803327Courtesy of HYUNDAI MOTOR AMERICA

      T1: Max 40 msec, T2: 5±0.5 sec

      L_CrashInput signal (PWM): refer to below

      Fig 4: Crash Unlock Switch On Off Blinking Pattern
      G08803328Courtesy of HYUNDAI MOTOR AMERICA
      NOTE: Key In
      On: L_KeyInSW On || A_IGN1 On || A_IGN2 On (Non-SMK)
      Off: L_KeyInSW Off & A_IGN1 Off & A_IGN2 Off (Non-SMK)
  7. Auto Door Lock (Speed Sensing Auto Door Lock)
    1. Auto Door Lock is divide by Disable, Enable (15km/h) and Enable (40km/h) and the default value is Enable (15km/h).
      Division Condition
      Default value 15km/h
      Selection 1 Disable
      Selection 2 40km/h
    2. On the state of A_IGN1=on, if keeping the vehicle speed as the setting vehicle speed in (1),

      On O_DRLockRly=on output within T1. However, if all door is Lock state or all door is fail,

      Do not perform O_DRLockRly=on output.

    3. After O_DRLockRly=on output of (2), if one of door is unlock state, perform O_DRLockRly=on output Max.

      3 times. (1sec cycle)

      However, during outputting 3 times, if door is Unlock→Lock, ignore it.

    4. After O_DRLockRly=on output, if the state is Unlock, treat the corresponding door as fail.
    5. After door treated as fail is Unlock→Lock and if it becomes Unlock, Output O_DRLockRly=on once.
    6. After O_DRLockRly=on output of (2), if door that the state was Lock becomes Unlock, Output O_DRLockRly=on once. However, after O_DRLockRly=on output, even if keeping Unlock state, output O_DRLockRly=on for the corresponding door once.
    7. If A_IGN1=off, clear door treated as fail.
    8. On the condition of Crash Unlock, do not perform Auto Door Lock function.
      Fig 5: Auto Door Unlock Switch Blinking Pattern
      G08803329Courtesy of HYUNDAI MOTOR AMERICA

      T1: Max 1.5sec, T2: 0.5±0.1sec

      NOTE: Any door Unlock State:
      On(=Any door Unlock)
      : L_DRVDRUnlockSW=on || L_ASTDRUnlockSW=on || L_RR&TailGateUnlockSW=on
      Off(=All door Lock)
      : L_DRVDRUnlockSW=off & L_ASTDRUnlockSW=off & L_RR&TailGateUnlockSW=off
  8. Auto Door Unlock by key out Condition
    1. Auto Door Unlock is divided by Disable and Enable, and the default value is Enable.
      Division Condition
      Default Value Enable
      Selection Disable
    2. If setting as Enable, under condition of Any door lock, in condition of Key In1=On→Off On output of_DRUnlockRly (However, if all unlock switch is unlock, not output.)
      Fig 6: Door Lock Blinking Pattern
      G08803330Courtesy of HYUNDAI MOTOR AMERICA

      T1: 0.5±0.1sec

      NOTE: Key In
      On: L_KeyInSW On || A_IGN1 On || A_IGN2 On (Non-SMK)
      Off: L_KeyInSW Off & A_IGN1 Off & A_IGN2 Off (Non-SMK)
      Any door lock State 2:
      On (=Any door lock)
      : L_DRVDRUnlockSW=off || L_ASTDRUnlockSW=off || L_RRDR(&TailGate) UnlockSW=off
      Off (=All door Unlock)
      : L_DRVDRUnlockSW=on & L_ASTDRUnlockSW=on & L_RRDR(&TailGate) UnlockSW=on
  9. Central Door Unlock Inhibition by Power Window Lock Switch
    1. See the below Central Door Unlock Inhibition entry condition.
      1. From All Door Close1 condition, in case of All Door Lock2 and O_HazardRly output on by Transmitter.
      2. From Any Door Open2 after All Door Lock3 by Transmitter. In case of All Door Close1 and O_HazardRly output on condition
      3. After Central Unlock output performed by Transmitter. In case of All Door Lock2 by 30sec timer (Refer to Central Lock: "Central Door Lock/Unlock by Transmitter by 30sec timer spec")
    2. Under the condition of Central Door Unlock Inhibition. If L_PwdwUnlockSW=off->on signal inputted ignore the this signal (There is no O_DRUnlockRly=on output by L_PwdwUnlockSW=on)
    3. Even if Central Door Unlock Inhibition, normally should be performed for below input signal
      1. O_DRUnlockRly=on by L_DRVDRUnlockSW=off->on || L_ASTDRUnlockSW=off->on
      2. O_DRLockRly=on by L_PwdwLockSW=off->on
    4. See the below Central Door Unlock Inhibition status cancellation condition.
      1. Any Door Unlock4 by Transmitter
      2. Any Door Unlock4 by L_DRVDRUnlockSW=off->on || L_ASTDRUnlockSW=off->on || L_RRDR(&TailGate) UnlockSW=off->on.
      3. Key In=On4
      NOTE: All Door Close: L_DRVDRSW=Off & L_ASTDRSW=Off & L_RLDRSW=Off & L_RRDRSW=Off &
      (L_TrunkSW=off || L_TailGateSW=off)
      All Door Lock: L_DRVDRUnlockSW=off & L_ASTDRUnlockSW=off &
      L_RRDR(&TailGate) UnlockSW=off
      Any Door Unlock: L_DRVDRUnlockSW=on || L_ASTDRUnlockSW=on ||
      L_RRDR(&TailGate) UnlockSW=on
      Key In=on: L_KeyInSW On || A_IGN1 On || A_IGN2 On (Non SMK type)
      A_ACC On || A_IGN1 On || A_IGN2 On