Hello and welcome to JustAnswer!
Unfortunately on the Cummins engine controllers there is no way to clear codes without a scan tool or code reader. Gas engine controllers will all erase when you disconnect the battery, but these things store the codes until they're cleared manually. Almost all parts stores will check and clear codes with a code reader for free, and you can also pick up your own code reader starting at about $70. Parts stores, Sears, and Walmart all sell code readers now.