We recently purchased a Cat D5M dozer. Serial number 3CR01241. The previous owner had just replaced the engine and then started having brake issues where they would lock up. I do have access to the wire schematic and have been troubleshooting with that. I did try moving it yesterday and it seemed to be working fine for about 50 yards then started locking up again. Restarting it seemed to free up the machine for about 15 feet then it would lock up again. There are 15 codes on the machine mostly related to the braking and transmission system(mainly solenoids). I can post them if needed. Any help would be greatly appreciated.