The Status of DTC各bit理解
最近刚开始做汽车诊断,遇到了一些关于The status of DTC的各bit的问题,关于理解,现在回头看UDS文件,写的还是很详细的,就在这基础上简单加些自己的理解。
-
bit0 testfailed
bit0置一:表示该DTC此时发生了故障
bit0置零:开启新的操作周期 / test pass / ClearDTC -
bit1 testFailedThisOperationCycle
bit1置一:在当前的操作周期内,该DTC发生过故障
bit1置零:开启新的操作周期 / ClearDTC
当bit1置一,bit0置0时,表示在当前操作周期里,该DTC发生过故障,但是此时未发生故障 -
bit2 pendingDTC
bit2置一:在上一个操作周期或当前操作周期,发生过故障。
bit2清零:在上一个操作周期和当前操作周期均未发生故障 / ClearDTC -
bit3 confirmedDTC
bit3置一:满足confirmed条件,此时该DTC已被存储至memory中
bit3清零:当操作周期次数已满足老化阈值 / ClearDTC
若是未满足上述条件,confirmedDTC清零,可查看davinci configuration中相关配置,将此配置disable掉就可以了
官方文档中关于此配置的描述如下
This configuration switch defines, whether the ConfirmedDTC UDS status bit is reset or not when an event memory entry will be displaced.
If enabled, a DTC will immediately ‘age’, i.e. lose its ConfirmedDTC bit if it is displaced.
If disabled, a DTC will stop aging on displacement. Its ConfirmedDTC status bit will stay active until the DTC can allocate a new aging counter, at which point the aging process will start from the beginning. Alternatively, ClearDTC will also clear such a DTC.
- bit4 testNotCompletedSinceLastClear
bit4置一:自从清DTC之后还没有完成过针对该DTC的测试
bit4清零:自从清DTC之后已经完成过针对该DTC的测试 - bit5 testFailedSinceLastClear
bit5 置一:自上次清除诊断信息以来,DTC 测试至少返回了一次失败的结果
bit5清零:表示测试尚未运行 / DTC测试已运行并通过 - bit6 testNotCompletedThisOperationCycle
bit6置一:指示DTC测试在当前操作周期内尚未运行完毕
bit6清零:测试运行并且通过或失败
在操作周期内,若此DTC未做任何set操作,此bit为1,若此时做set操作,不管是fail还是pass,此bit均会清零。 - bit7 WarningIndicator requested
bit7置一:ECU请求激活警告指示
bit7清零:ECU不请求激活警告指示
具体各bit配置,可通过davinci进行配置
Dem-DemGeneral