Code 6 on your Trane/American Standard furnace means different things depending on platform. On UD2/DD2 it's polarity or grounding. On UC1/DC1 it adds 'low voltage'. On AUY/TUY it also adds 'ignitor triac fault'. On AUH2/TUH2 it's only reverse polarity. Your model prefix determines the exact diagnosis.