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
xEnableBOOLTRUE: Action startsFALSE: Action stops, outputsxDone,xBusy,xErrorare resettedLTrig
Output
xDoneBOOLTRUE: Action successfully completedLTrig
xBusyBOOLTRUE: Function block activeLTrig
xErrorBOOLTRUE: Error occurred, function block aborts actionFALSE: No errorLTrig
Input
itfDTCProviderListIDTCProviderListDMx_Write instance
DataDTC data
Output
eErrordetailed error information if xError is true.