DTCProvider (FB)ΒΆ
FUNCTION_BLOCK DTCProvider EXTENDS CBM.LTrig IMPLEMENTS IDTCProvider
This function block is used in conjunction with DM1_Write or DM2_Write function blocks.
It serves as data provider for diagnostic trouble codes. One or more DTCProvider can be connected to one DMx_Write
function block. A DTC will be activated by setting xEnable to TRUE.
- InOut:
- Scope - Name - Type - Comment - Inherited from - Input - xEnable- BOOL- TRUE: Action starts- FALSE: Action stops, outputs- xDone,- xBusy,- xErrorare resetted- LTrig - Output - xDone- BOOL- TRUE: Action successfully completed- LTrig - xBusy- BOOL- TRUE: Function block active- LTrig - xError- BOOL- TRUE: Error occurred, function block aborts action- FALSE: No error- LTrig - Input - itfDTCProviderList- IDTCProviderList- DMx_Write instance - Data- DTC data - Output - eError- detailed error information if xError is true. 
