DTCLogger (FB)ΒΆ
FUNCTION_BLOCK DTCLogger EXTENDS DTCHandlerBase
This function block can be connected to a DM1_Read or DM2_Read function block. As long as xEnable is TRUE
it receives DTCs and writes it to the plc logger.
- InOut:
Scope
Name
Type
Initial
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
itfDTCHandlerListIDTCHandlerListDMx_Read instance
DTCHandlerBase
Output
eErrordetailed error information if xError is TRUE
DTCHandlerBase
Input
hLoggerSysTypes.RTS_IEC_HANDLECmpLog.LOG_STD_LOGGER
Handle to the logger. Default: CmpLog.LOG_STD_LOGGER