Hi again, ( Back home now ! )
As you suggested, another Member had a similar problem and it was cured
by disconnecting the Main Battery for 10 minutes then reconnecting it !
See :
Headlights not working. That Topic also has some useful information about the wiring of the Headlamp circuit.
The Fault Codes ( Triumph call them "Diagnostic Trouble Codes" or "DTC's" )
can be displayed on the Instrument panel by following the process described in this Topic :
Servicing Data, Reference Info. & DTC ( Fault ) Codes - Scroll down to Reply #8 for the information.
At the end of that Post is a Link to download a Document, that I compiled from information
contained within the Service Manual, and which gives an explanation of what the DTC's mean.
First of all though, I need you to confirm how you found your "Error Code 162",
as all the DTC's listed in the Service Manual are 5 digit codes -
one letter followed by four numbers, and I can see no DTC "162" !

The DTC that I mentioned previously is "P1620" and that refers to the Headlamp Relay.
( This DTC does not result in the main "Engine Management Light" ( which Triumph call the
"Malfunction Indicator Light" or "MIL" ) being illuminated ).
Assuming this IS the DTC that you have, then there are a few things to check :
With the Ignition ON have you tried moving the handlebars from one lock across to the other,
and back to see if this has any effect ? - There is a known problem where the wiring loom exiting the base
of the Ignition switch has been badly routed, such that it is in close contact with the rigid brake Line
running around the left side of the Headstock, and when the handlebars are turned the wires are pulled
which can result in them either being pulled out of their soldered terminals at the Ignition switch,
or pulling the insulation apart allowing the bare wires to touch / short circuit etc.
There are several Forum Topics about this including this one :
Ignition Switch Wiring Failures.If that is NOT the problem, then it could be a faulty Headlamp Relay.
NOTE : The headlamps usually only switch ON when the engine is started,
but can be switched on temporarily by holding IN the Clutch lever and switching the Ignition to ON.
Ensure that the headlamp is not left ON without the engine running as the Main Battery will discharge !
If there has been a Short Circuit then a Fuse may have blown.
( Fuse No.1 - 20A of the Rear Fuse Box is for the Headlamp ).
Check that fuse but if it HAS blown, don't change it yet !
The Headlamp Relay "4." is behind the left Side Panel :

The same Relay type is used for the Accessories Sockets,
( see "6." in above Image ) so unplug the Headlamp Relay and put it to one side.
Insert a good Fuse into the Headlamp Fuse holder,
then remove the Accessory Relay and insert it into the Headlamp Relay position.
Switch the Headlamps ON and observe what happens.
If the Fuse was blown before, and it doesn't blow now, and the Headlamps work,
this would indicate that the ( previously removed ) Headlamp Relay is faulty.
If the Fuse was not blown before and doesn't blow with the replacement Relay,
and the Headlamps still don't work, then the ( previously removed ) Headlamp Relay is probably OK.
If the Fuse was not blown before, and does not blow with the replacement Relay,
and the Headlamps work, this also indicates the ( previously removed ) Headlamp Relay is faulty.
If the Headlamp Relay and Fuse are good, then the Tests described in the Service Manual
for DTC P1620 ( Headlamp Relay Short circuit to vBatt ) are as follows :
Disconnect ECM and Headlamp Relay.
Check for short circuit between ECM Pin A18 ( Black Wire with Brown stripe )
and Ignition Switch Pin 4 ( Red wire with Blue stripe ).
The DealerTool device s a very useful device and can clear DTC's once the fault has been rectified,
but
most DTC's will be cleared from the ECU Memory automatically, after a specified number of
"No Fault" starts, as described in the downloadable document mentioned previously.
( For DTC P1620 after 40 no fault starts the DTC will be erased from the ECU Memory ).
Let us know how you get on !

Cheers
