Please help with no start on D6N xl dozer.

Active code 0261.11 Pinned engine on #1 removed front cover pinned cam on #1 removed fuel rail pump gear. Set pump timing on top dead center. Still no start. started with a little shot of either and let it run for a few minutes No active codes. Noticed one of the small wires was burnt at the starter, going to the small roung box bolted to the front of the starter. cranking it over, the end of the wire at the starter has over 24 volts. the other end in the wiring harness is grounded. Any one know where that black wire runs to in the wiring harness Thanks