Error messages
TM15 / TM17 High Feature Operating Manual
52 Commissioning Manual, 05/2009
Errors cannot be acknowledged. The error message is automatically deleted as soon as the
device has been restarted or the cause of error has been corrected.
Note
The user program must always use a WORD variable to access the status word (individual
bits must be isolated by masking).
Diagnostic Interrupt
If the module error bit ERR is set, a diagnostic interrupt _SC_DIAGNOSTIC_INTERRUPT
(=201) is triggered with the following TaskStartInfo:
DINT TSI#logBaseAdrIn // valid only when not equal to
_SC_INVALID_ADDRESS
DINT TSI#logBaseAdrOut // valid only when not equal to
_SC_INVALID_ADDRESS
DINT TSI#logDiagAdr // valid only when not equal to
_SC_INVALID_ADDRESS
DWORD TSI#details // Supplementary information
UINT TSI#eventClass // 0x39 = fault has occurred
// 0x38 = fault has been corrected
UINT TSI#faultId // 0x42
TSI#details supplies the following supplementary information:
Bit 31-17 16 15-12 11-8 7-2 1 0
Function 0 0 0 1111 0 ERR Fault
Bit 0 = 1 Module fault (set when ERR is set)
Bit 1 = 1 ERR (internal error)
Bit 11 to 8 Contains "digital I/O module" identifier
In addition to the diagnostic alarm, an entry is made in the diagnostic buffer if at least one of
the bits is set. "Module fault" is displayed.
For further information on the TaskStartInfo, refer to the "SIMOTION ST Structured Text"
Manual.