;
; VAG-COM label file
;
; VW Phaeton (3D)
;
; component: Central Control Module for Comfort System -J393- (#46)
;
;      p/n: 3D0 959 933 F Component: HSG 0101 Coding: 0000040 
;                        (2003 European Phaeton, also with full power trunk open/close hydraulics)
;
; includes measuring blocks, coding, and adaptation.
;
; created by Sebastian Stange (sebastian@ross-tech.com)
; updaten/enhanced by Michael Moore (Moore@ross-tech.com), 'PanEuropean' on the VW Vortex forum.
; tested on a 2004 W12 Phaeton - not all blocks may show on other vehicles.
;
; last modified: 27/March/2005 (Michae Moore)
;
; ready for VAG-COM 500.9 and above
;
;
;---------------------------------------------------
;
; Measuring block information
;
;---------------------------------------------------
;
;
001,0,Driver Door Controls for DRIVER DOOR functions
001,1,E40,Window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
001,2,V147,Window motor,Specified value: yes = activated/no = not activated
001,3,E308,Interior lock,button,Specified value:locked/unlocked/not operated/implausable
001,4,E369,Outside central,locking button,Specified value:activated/not activated/not installed
;
002,0,Driver Door Controls for OTHER DOOR functions
002,1,E81,Front pax,window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
002,2,E53,Left Rear,window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
002,3,E55,Right Rear,window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
;
003,0,Driver Door Switch and Button Status (other than windows)
003,1,Driver door,key switch,Specified value:not activated/open/closed/implausable signal
003,2,Interior door,handle button,Specified value:activated/not activated
003,3,Exterior door,handle button,Specified value:activated/not activated/not installed
;
004,0,Child Safety Lockouts for Rear Door Opening (E318 is a double pole resistance switch)
004,1,E318 Left rear,child button,Specified value:activated/not activated/not installed
004,2,E318 Right rear,child button,Specified value:activated/not activated/not installed
004,3,Left rear child,lockout status,Specified value:yes/no/not installed
004,4,Right rear child,lockout status,Specified value:yes/no/not installed
;
005,0,Mirror adjustment, heating, and folding switch position
005,1,E43 Mirror,adjustment switch,Specified value: X+ = right/X = left/Y+ = top/Y = bottom/not operated/implausable signal
005,2,E48 Mirror,selector switch,
005,3,E231 Mirror,heating switch,Specified Value:off/on
;
006,0,Front side window defroster buttons (on windowsill)
006,1,Driver door,defrost button,Specified value:activated/not activated
006,2,Pax door,defrost button,Specified value:activated/not activated
;
007,0,Front Passenger Door Button and Switch Status
007,1,E107,Window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausible signal
007,2,V148,Window motor,Specified value: yes = activated/no = not activated
007,3,E309,Interior lock,button,Specified value:locked/unlocked/not operated/implausable
007,4,E370,Outside central,locking button,Specified value:activated/not activated/not installed
;
007,0,Front Passenger Door Button and Switch Status
007,1,E107,Window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
007,2,V148,Window motor,Specified value: yes = activated/no = not activated
007,3,E309,Interior lock,button,Specified value:locked/unlocked/not operated/implausable
007,4,E370,Outside central,locking button,Specified value:activated/not activated/not installed
;
008,0,Left Rear Passenger Door Button and Switch Status
008,1,E52,Window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
008,2,V26,Window motor,Specified value: yes = activated/no = not activated
008,3,E310,Interior lock,button,Specified value:locked/unlocked/not operated/implausable
008,4,E371,Outside central,locking button,Specified value:activated/not activated/not installed;
;
009,0,Right Rear Passenger Door Button and Switch Status
009,1,E54,Window switch,Specified value: not operated/automatic open/automatic close/manual open/manual close/implausable signal
009,2,V27,Window motor,Specified value: yes = activated/no = not activated
009,3,E311,Interior lock,button,Specified value:locked/unlocked/not operated/implausable
009,4,E372,Outside central,locking button,Specified value:activated/not activated/not installed;
;
010,0,Messages being returned by the individual door central locking units
010,1,F220,Driver,Door,Specified Value:locked/unlocked/safe/implausable signal
010,2,F221 Front,Pax Door,Specified Value:locked/unlocked/safe/implausable signal
010,3,F222 Left,Rear Door,Specified Value:locked/unlocked/safe/implausable signal
010,4,F223 Right,Rear Door,Specified Value:locked/unlocked/safe/implausable signal
;
011,0,Door Contact Switch Status
011,1,F2,Driver,Door,Specified Value:door open/door closed
011,2,F3,Front,Pax Door,Specified Value:door open/door closed
011,3,F10,Left,Rear Door,Specified Value:door open/door closed
011,4,F11,Right,Rear Door,Specified Value:door open/door closed
;
012,0,Binary Bits
;
013,0,General Vehicle Information
013,1,Term 30 (Battery),voltage,Specified Value:9...14.5
013,2,Term 15 (Ignition),status,Specified Value:terminal 15 on/terminal 15 off/implausable signal
013,3,S-Contact,,Specified Value:activated/not activated
013,4,Vehicle speed,signal,Specified Value:In km per hour - greater than zero 
;
014,0,General Vehicle Information (continued)
014,1,Thermal protection,for central lock,Specified Value:yes = thermal protection active/no = thermal protection not active
014,2,F266 Front,hood switch,Specified Value:open/closed
014,3,F47 Brake,pedal switch,Specified Value:on/off (on Touareg - F45 Air conditioner thermal switch)
014,4,Convenience,CAN Bus status,Specified Value:one wire/two wire
;
015,0,Door Accessibility Status
015,1,Driver,Door,Specified Value:D-door 1/D-door 1 wire/D-door 0
015,2,Front Pax,Door,Specified Value:D-door 1/D-door 1 wire/D-door 0
015,3,Left Rear,Door,Specified Value:D-door 1/D-door 1 wire/D-door 0
015,4,Right Rear,Door,Specified Value:D-door 1/D-door 1 wire/D-door 0
;
016,1,Trailer module,present,
016,2,E165 Trunk,unlock switch,Specified Value:activated/not activated
;
017,0,Performance of Remote Control Key Fobs
017,1,Remote Control,button signal,Specified Value:Block shows 0000. 1000 = open. 0100 = close. 0010 = rear lid unlock. 0001 = panic button
017,2,Immobilizer,key recognition,Specified Value:yes = immobilizer recognizes the key/no = immobilizer does not recognize the key
017,3,Request,rear lid open,Specified Value:yes/no
;
018,0,Cause (source) of the alarm. Click mouse on ALL 4 BLOCKS to see decoding information.
018,1,First,alarm source,Specified Value:1 = Driver door . 2 = Pax door . 3 = Left rear door 4 = Right rear door. (continued next balloon)
018,2,Second,alarm source,Specified Value:5 = Trunk lid. 6 = Hood open. 7 = Terminal 15. 8 = Interior protection. (continued next balloon)
018,3,Third,alarm source,Specified Value:9 = Tire puncture/theft LF. 10 = Tire RF. 11 = Tire LR. 12 = Tire RR. 13 = Tire spare. (continued)
018,4,Fourth,alarm source,Specified Value:14 = Inclination. 15 = Siren. 16 = Immobilizer. 17 = Trailer. 255 = No alarm triggering.
;
019,0,Requests generated for lights on
019,1,Term 58 (park lights),status,Specified Value:off/on
019,3,Left Park,lights only,Specified Value:off/on
019,4,Right Park,lights only,Specified Value:off/on
;
020,0,Requests generated for lights on (continued)
020,1,Term 83b (Rear fog),status,Specified Value:off/on
020,2,Back-up,lights,Specified Value:off/on
020,3,Return message,luminescence,Specified Value:no/yes
;
021,0,Status of lamp filiments
021,1,M4 Left,tail lamp,Specified Value:off/on/not OK
021,2,M2 Right,tail lamp,Specified Value:off/on/not OK
021,3,X Licence,plate lamp,Specified Value:off/on/not OK
021,4,L46 and L47,rear fog lamps,Specified Value:off/on/not OK
;
022,0,Status of lamp filiments (continued)
022,1,M9 Left,brake lamp,Specified Value:off/on/not OK
022,2,M10 Right,brake lamp,Specified Value:off/on/not OK
022,3,M25 High mount,brake lamp,Specified Value:off/on/not OK
022,4,M16 and M17,back-up lamps,Specified Value:off/on/not OK
;
023,0,Status of lamp filiments (continued)
023,1,Rear ambient,% illumination,Specified Value:1...100
023,2,Trunk cavity,% illumination,Specified Value:1...100
023,3,Reserve ops,rear lights,Specified Value:yes/no
023,4,Trailer,attached,Specified Value:yes/no
;
024,0,Requests related to rear window heater and gas tank flap
024,1,Request rear,window heat on,Specified Value:yes/no
024,2,Request rear,window heat relay,Specified Value:yes/no
024,3,Activate relay,stage 2,Specified Value:off/on
024,4,Request gas,tank flap open,Specified Value:yes/no
;
025,1,Window regulator,comfort control,Specified Value:open/closed/not operated
025,2,Sunroof,enabling,Specified Value:yes/no
025,3,Sunroof,control,Specified Value:open/close/not operated
;
026,0,Trunk Lid Items. Block one applies to vehicles with automatic trunk opening, block 3 to vehicles without.
026,1,Trunk lid,movement,Specified Value:opening/closing/implausible signal/inactive (vehicle WITH auto trunk opening)
026,2,F256 Trunk,lid lock unit,Specified Value:locked/unlocked/implausible signal
026,3,Release,switch,Specified Value:opening/closing/implausible signal/inactive (vehicle WITHOUT auto trunk opening)
;
027,0,Physical status of trunk lid latching mechanism - 
027,1,F256 Lock,detent pawl,Specified Value:operated/not operated
027,2,F256 prong,catch bolt,Specified Value:operated/not operated/not installed - basic lock
027,3,F256 lock,detent,Specified Value:operated/not operated
027,4,F256 detent,swung in,Specified Value:yes/no/not installed - basic lock
;
028,0,Emergency Signals relating to trunk operation
028,1,E406 - New Jersey,escape handle,Specified Value:operated/not operated/not installed - basic lock
028,2,Pinch signal,trunk,Specified Value:operated/not operated/implausable signal/not installed - basic lock
028,3,Position of,trunk lid,Range: Between 0 degrees and about 30 degrees
028,4,Nationality of,body in trunk,Specified Value:Italian/Russian/Colombian/ex-wife/Jimmy Hoffa/no body detected
;
029,0,Status of V241 motor and N346 valve for hydraulic servo trunk opening and closing
029,1,Hydraulic,motor V241,Specified Value:turning/not turning/not installed - basic lock
029,2,Hyd. Motor,thermal protection,Specified Value:yes/no/not installed - basic lock
029,3,Hydraulic,valve N346,Specified Value:0...100/not installed - basic lock
029,4,Lock motor,thermal protection,Specified Value:yes/no/not installed - basic lock
;
030,0,Vehicle Inclination Sensor (Tow-away protection)
030,1,G384 Sensor,status,Specified Value:operated/not operated/not installed
030,2,G384 Sensor,alarm detect,Specified Value:operated/not operated/not installed
030,3,Deactivate,Inclination Sensor,Specified Value:E360 Button - operated/not operated/not installed
;
031,0,Vehicle Inclination Sensor - voltage supply
031,1,G384,voltage,Specified Value: 9...14.5
;
032,0,Vehicle Inclination Sensor - current angle
032,1,G384 angle,,Specified Value: plus 25 degrees to minus 25 degrees/implausable signal/no measured value/not installed
;
033,0,Inclination Sensor Angles
033,1,Reference angle,Y-axis
033,2,Current angle, Y-axis
;Remark: This information taken from the Touareg measuring value block PDF.
;
034,0,*Next Block Used is Block 80
;
080,0,Manufacturer work number and identification
; Date of manufacture
; Manufacturer changing status
; Manufacturer test stand no.
; Running manufacturer no.
; e.g. BPA = Bosch factory Ansbach
;
;
;---------------------------------------------------
;
; coding information
;
;---------------------------------------------------
;
;
C00,Phaeton Central Control Module for Comfort System (J393) Coding
C01,Codes applicable to PN 3D0 959 933:
C02,    
C03,00040 Automatic opening and closing trunk lid
C04,00032 No automatic opening and closing trunk lid - but with closing assist
C05,00034 No automatic opening and closing trunk lid - without closing assist
C06, 
C07,00000 This appears to be a valid coding for all configurations on PN 7L0 907 719.
C08,  
C09,There are probably other code possibilities but they are not known.
C10,
;
;Remark: Need to get Sebastian to look further into this.  See 8E0 959 433  and also 4E0 910 289 for ideas.
;This is not the place where remote window control is enabled - the author of this file observed a Phaeton with 
;remote window control capability that had '40' entered as the code for this controller (it had the 3D0 controller, not the 7L0 one).
;My guess is that the answer lies in adaptation channel 1 of address 09, Central Electrical (3D0 937 049).
;
;
;---------------------------------------------------
;
; adaptation information
;
;---------------------------------------------------
;
;Remark: Channels 12 to 21 are not available
;        Channels 22, 23 , and 24 relate to calibration of the trunk lid (J605 calibration)
;        Channel 25 deals with enabling window operation via the remote control key, but this is not the only value that needs to be changed to enable this.
;        Channel 26 sets the 15 second delay if the door is opened with a confused remote control key blade.
;        Channel 27 "O2-REG-ON TNF 013 049 Enabled" - need to ask Sebastian about this. Don't mess with it, changing the value causes problems with address 09 communication.
;        Channels 28 to 200 not available, beyond 200, who knows.
;
;
A001,0,Number of Doors to unlock when unlocking is activated
A001,5,
A001,6,Here you can choose what combination of doors unlock when
A001,7,an unlock signal is sent to the car by any means.
A001,8,   
A001,9,Choices: 0 = All 4 doors unlock. 1 = Driver Door Unlocks
A001,10,                2 = Both doors on Driver Side unlock.
;
A002,0,Auto-Lock Preferences
A002,5,Auto-Lock upon driving away
A002,6,The doors will lock automatically when the
A002,7,vehicle reaches a speed of 15 km/h or 10 mph.
A002,8,  
A002,9,Choices: 0 = off / 1 = on
;
A003,0,Auto-Unlock Preferences
A003,5,Auto-Unlock upon key removal from ignition
A003,6,The doors will unlock automatically when the
A003,7,key is removed from the ignition switch.
A003,8,  
A003,9,Choices: 0 = off / 1 = on
;
A004,0,Unlock Notification via Kessey (keyless) preferences
A004,5,Unlock Notification via keyless access
A004,6,Notification when unlocking via keyless access (door handle touch sensor).
A004,7, 
A004,8,Choices:  
A004,9,0 = nothing. 1 = blink. 2 = beep. 
A004,10,3 = blink and beep
;
A005,0,Unlock Notification via remote control button preferences
A005,5,Unlock Notification 
A005,6,Notification  when unlocking via remote control pushbuttons.
A005,7, 
A005,8,Choices:  
A005,9,0 = nothing. 1 = blink. 2 = beep.
A005,10,3 = blink and beep
;
A006,0,Unlock Notification via key blade in door lock preferences
A006,5,Unlock Notification 
A006,6,Notification when unlocking via remote control pushbuttons.
A006,7, 
A006,8,Choices:  
A006,9,0 = nothing. 1 = blink. 2 = beep. 
A006,10,3 = blink and beep
;
A007,0,Locking Confirmation via Kessey (keyless) preferences
A007,5,Locking Confirmation via keyless access
A007,6,Notification when unlocking via keyless access (door handle touch sensor).
A007,7, 
A007,8,Choices:  
A007,9,0 = nothing. 1 = blink. 2 = beep. 
A007,10,3 = blink and beep
;
A008,0,Locking Confirmation via remote control button preferences
A008,5,Locking Confirmation 
A008,6,Notification when unlocking via remote control pushbuttons.
A008,7, 
A008,8,Choices:  
A008,9,0 = nothing. 1 = blink. 2 = beep.
A008,10,3 = blink and beep 
;
A009,0,Locking Confirmation via key blade in door lock preferences
A009,5,Locking Confirmation 
A009,6,Notification when unlocking via remote control pushbuttons.
A009,7, 
A009,8,Choices: 
A009,9,0 = nothing. 1 = blink. 2 = beep. 
A009,10,3 = blink and beep
;
A010,0,Notification when 'safed' (Interior and tow-away alarms turned off)
A010,5,Safing Confirmation 
A010,6,Notification when safing alarm system.
A010,7, 
A010,8,Choices: 
A010,9,0 = nothing. 1 = blink. 2 = beep. 
A010,10,3 = blink and beep
;
A011,0,Type of sound that the alarm horn makes (compliance with noise regulations)
A011,5,Type of Alarm Sound
A011,6,Type of Alarm Sound
A011,8,Choices:
A011,9,1 = Rest of World  2 = Germany
A011,10,3 = United Kingdom
;
A022,0,Adaptation of J605 controller (motorized trunk lid) - closed position
;
A023,0,Adaptation of J605 controller (motorized trunk lid) - open position
;
;Remark: The above two functions are used whenever a new J605 controller is installed.
;Once the J605 has been adapted, it can usually be re-adapted (if it becomes confused, for example,
;by activation of pinch protection, or changing direction in the middle of a cycle) by simply moving
;- by hand - the trunk lid to the fully open position, then pressing the 'trunk lid release' button
;on the key fob remote, and observing that the two tail-lights blink in recognition.  Once that is done,
;the trunk lid can then be closed by pressing the close button located on the bottom lip of the trunk lid.
;It should not be necessary to have to use a scan tool to re-adapt a confused trunk lid mechanism.
;
A024,0,Adaptation of J605 controller (motorized trunk lid) - unknown function
;
A025,0,Enabling of window and sunroof control from remote control key fob
A025,5,Enabling remote key fob operation of windows, sunroof
A025,6,This is not the only thing that needs to be changed to enable this capability.
A025,7,
A025,8,Choices:
A025,9,0 = not enabled / 1 = enabled
;
A026,0,Enabling of 15 second delay of alarm sound following manual door unlocking with confused key
A026,5,Enabling of 15 second alarm delay
A026,6,Enabling of 15 second alarm delay
A026,7,
A026,8,Choices:
A026,9,0 = no delay / 1 = 15 second delay before alarm sounds
;
A027,0,Totally unknown function - click on block 3 for more information
;Could this refer to the auto-lock function in channel 2?
A027,2,Always seems to, be TNF 013 049
A027,8,Two values are known: 1 = enabled (default) and 2 = auto-lock
;


