Begin by testing the Digitrax DN93 decoder for proper operation per the instructions provided by Digitrax.
If installing the decoder in an PA-1 unit, cut the green and yellow wires to a length of ½". If installing the decoder in a PB-1 unit cut the white, yellow and green wires to a length of ½". Do not cut these off at the decoder in case you need them if the decoder is installed in another locomotive in the future. There is plenty of room to store these wires in the retro-frame.
Note: you can optionally connect both the white and yellow wires to the headlight of a PA-1 unit, if you wish the light to be on when the locomotive is moving in either direction. You can turn the headlight on and off using the appropriate function key on the throttle.
Twist the wires that were cut together, and wrap a small piece of insulating tape over the ends so they cannot short against the metal frame.
Remove the body shell from the chassis by prying out on the lower sides at the center with fingernails and lifting off. Remove also the fuel tank, and set aside.
Remove the screw from the right side of the mechanism body that secures the wire from the headlight diode. Remove the screw from the left floor that secures the wire from the headlight. Set the headlight and diode aside where they will not get damaged.
Disassemble the mechanism by removing the 4 screws in the top of the mechanism body. Note that the 2 screws on the left side of the body are in plastic bushings. Set aside the screws and plastic bushings, plastic insulating floor, the left and right floors and the trucks where they will not get damaged.
Before removing the motor, make a note of which motor brush contacts the right side of the frame, and place a mark on the motor (piece of tape, dab of paint, etc.) to indicate that side.
Before installing the decoder, re-assemble the mechanism using the TrackMaster frame in place of the OEM mechanism body. Install the trucks, floors, plastic insulating floor, etc. - everything except the body parts and headlight. Put the assembly on a test track and make sure the locomotive runs as it should, checking both directions, etc. When operating correctly, disassemble it again as described above.
Remove the motor brush contact strips 1/8" from the brush caps.
Place the motor back into its mount in the mechanism body, and the decoder into its mounting location on top of the mechanism body. Mark off the length of gray wire needed to reach along the top of the mechanism body, then down the left side to the left motor brush. Add ¼" then cut, and strip 1/16" insulation from the end. Similarly, mark off the length of orange wire needed to reach along the top of the mechanism body, then down the right side to the right motor brush. Add ¼" then cut, and strip 1/16" insulation from the end.
Reassemble the mechanism. Install the trucks, floors, plastic insulating floor, etc. Make sure the two plastic bushings are in the left set of screw holes. Make sure the motor is installed correctly so the right brush (with the mark previously made) is on the right side of the frame. Do not install the headlight or its mounting screws.
Solder the gray decoder wire to the remaining bit of the left brush contact strip, and the orange decoder wire to the remaining bit of the right brush contact strip.
Note: always remove the motor brush caps before soldering to them. Then lightly sand them to get a good clean surface, and apply liquid flux. Finally, solder the wires to the brush cap.
Do not attempt to solder to the motor brush caps while they are still in place in the motor, as too much heat applied to the brush caps during such soldering may melt the plastic brush housing and permanently damage your motor.
After soldering the wires carefully replace the brush, spring and brush cap into the motor.
Place the decoder in its mount on top of the mechanism body, and dress the orange and gray decoder wires around the motor brushes and up the wiring channels. Ensure the brushes and brush contact strips cannot touch the metal mechanism body. Verify this is the case with an ohmmeter. Resolve any problems before continuing.
Cut the wire between the headlight and the diode ½" from the diode. Cut the other wire to the diode at the mounting lug. The diode will not be used.
Fasten the mounting lug with the headlight still attached to the mechanism body using the original screw. Fasten the other mounting lug to the left floor using the original screw.
Measure the length of the black decoder lead necessary to reach the mounting lug fastened to the left floor, cut to length and strip 1/16" insulation from the end. Solder to the left mounting lug.
Measure the length of the right decoder lead necessary to reach the mounting lug fastened to the mechanism body (with the headlight attached to it), cut to length and strip 1/16" insulation from the end. Solder to the headlight mounting lug.
Using an ohmmeter, verify that there are no short circuits between the decoder orange and gray wires and either frame, not between the left and right floors. Resolve any problems before continuing. Note: a dead short between the left and right floors is probably due to mixing up the metal and plastic screws.
Ensure the white decoder wire and the unattached headlight wire cannot short against anything, and test the locomotive for analog and digital operation on the layout. Resolve any problems and ensure the mechanism runs perfectly before continuing.
Note: if the locomotive runs in the wrong direction, the motor may be mounted in the mechanism body upside down. Remove the brush retaining caps and turn the motor over. Replace the brush retaining caps and test again.
Cut the white decoder wire to a length sufficient to connect to the loose wire from the headlight and strip 1/16" insulation from the end. Strip 1/16" insulation from the end of the headlight wire. Join the two wires together and solder. Insulate the joint.
Test the locomotive to ensure proper operation of all functions of the decoder. Resolve any problems before continuing.
Position the headlight in its proper position in the front of the mechanism body. Tape in place, if necessary.
Note: you may have to paint the inside of the nose of the shell a flat color so that the nose does not "glow" when the headlight is on at the full 12 volts.
Dress all decoder wires in the wiring channels and tape in place as necessary.
Replace the body shell on the chassis, then apply the fuel tank from beneath which will snap into place to secure both itself and the shell. The installation is now complete.
Test the operation of the locomotive on the railroad. It should operate just as if no modifications had been made. Resolve any problems.
Place the locomotive on the DCC programming track and set the DCC Command Station to the programming mode.
Program Configuration Variable "CV29" to "06" (for 2-digit addressing or "26" for decoders capable of 4-digit addressing) then program the decoder to the desired address.
Carry out a final check of the locomotive on the railroad.
Record the decoder CV's and address, and the reporting marks of the locomotive.